forked from KolibriOS/kolibrios
fixed: reserved bit field in page directory entries (map_LFB)
git-svn-id: svn://kolibrios.org@207 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
7c1c3a07a8
commit
4584e8c2df
@ -40,7 +40,6 @@ proc init_memEx
|
|||||||
jnc @F
|
jnc @F
|
||||||
or eax, PG_GLOBAL
|
or eax, PG_GLOBAL
|
||||||
or ebx, CR4_PGE
|
or ebx, CR4_PGE
|
||||||
|
|
||||||
@@:
|
@@:
|
||||||
mov cr4, ebx
|
mov cr4, ebx
|
||||||
|
|
||||||
@ -324,7 +323,10 @@ proc map_LFB
|
|||||||
dec edi
|
dec edi
|
||||||
jnz @B
|
jnz @B
|
||||||
|
|
||||||
|
bt [cpu_caps], CAPS_PGE
|
||||||
|
jnc @F
|
||||||
or dword [sys_pgdir+ecx], PG_GLOBAL
|
or dword [sys_pgdir+ecx], PG_GLOBAL
|
||||||
|
@@:
|
||||||
mov eax, cr3 ;flush TLB
|
mov eax, cr3 ;flush TLB
|
||||||
mov cr3, eax
|
mov cr3, eax
|
||||||
ret
|
ret
|
||||||
|
Loading…
Reference in New Issue
Block a user