From 7e96e1429746308b110f9df08db5fa4b7b04b54d Mon Sep 17 00:00:00 2001 From: Ivan Poddubny Date: Tue, 18 Apr 2006 17:56:52 +0000 Subject: [PATCH] memmap.inc: marked areas reserved by physical memory manager. physmem.inc: fixed a little bug with cld/std with allocating and copying a physical memory block. git-svn-id: svn://kolibrios.org@69 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/physmem.inc | 2 ++ kernel/trunk/memmap.inc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/core/physmem.inc b/kernel/trunk/core/physmem.inc index 83531e6e9f..eed9d19e69 100644 --- a/kernel/trunk/core/physmem.inc +++ b/kernel/trunk/core/physmem.inc @@ -190,6 +190,7 @@ isys_set_buffer: ;for using in kernel lea edi,[ebx+second_base_address] mov esi,ecx mov ecx,edx + cld rep movsb ret sys_get_buffer: @@ -202,6 +203,7 @@ isys_get_buffer: ;for using in kernel mov edi,ecx lea esi,[ebx+second_base_address] mov ecx,edx + cld rep movsb ret sys_internal_services: diff --git a/kernel/trunk/memmap.inc b/kernel/trunk/memmap.inc index 067bdcd986..795a6a30cf 100644 --- a/kernel/trunk/memmap.inc +++ b/kernel/trunk/memmap.inc @@ -126,7 +126,7 @@ ; 50000 -> 5FFFF free (64 Kb) -; 60000 -> 7FFFF paging tables +; 60000 -> 7FFFF reserved to physical memory manager ; 80000 -> 8FFFF additional app info, in 256 byte steps - 256 entries ; ; 00 11db name of app running @@ -198,7 +198,7 @@ ; 770000 -> 777fff tcp memory ( 32 kb) ; ; 778000 -> 77ffff window skinning ( 32 kb) -; 780000 -> 7fffff free (512 Kb) +; 780000 -> 7fffff reserved to physical memory manager ; ; 800000 -> BFFFFF mapped to LFB ;