From 1b3a66fd7bec954544398b451b1bef50bf477dba Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Fri, 30 Mar 2007 13:05:17 +0000 Subject: [PATCH] clear PG_GLOBAL flag git-svn-id: svn://kolibrios.org@441 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/flat_kernel/init.inc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/kernel/branches/flat_kernel/init.inc b/kernel/branches/flat_kernel/init.inc index f6ab9654d..033799cb2 100644 --- a/kernel/branches/flat_kernel/init.inc +++ b/kernel/branches/flat_kernel/init.inc @@ -114,9 +114,15 @@ proc init_mem mov edi, (sys_pgdir-OS_BASE) lea esi, [edi+(OS_BASE shr 20)] - movsd - movsd - movsd + lodsd + and eax, not PG_GLOBAL + stosd + lodsd + and eax, not PG_GLOBAL + stosd + lodsd + and eax, not PG_GLOBAL + stosd ret endp