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