clear PG_GLOBAL flag

git-svn-id: svn://kolibrios.org@441 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2007-03-30 13:05:17 +00:00
parent 4a8a139540
commit 1b3a66fd7b

View File

@ -114,9 +114,15 @@ proc init_mem
mov edi, (sys_pgdir-OS_BASE) mov edi, (sys_pgdir-OS_BASE)
lea esi, [edi+(OS_BASE shr 20)] lea esi, [edi+(OS_BASE shr 20)]
movsd lodsd
movsd and eax, not PG_GLOBAL
movsd stosd
lodsd
and eax, not PG_GLOBAL
stosd
lodsd
and eax, not PG_GLOBAL
stosd
ret ret
endp endp