kernel: fixed page flags

git-svn-id: svn://kolibrios.org@6275 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2016-02-21 17:29:58 +00:00
parent 2001b33aa6
commit 1be057e370

View File

@ -127,8 +127,9 @@ init_video:
jnc .create_page_tables jnc .create_page_tables
mov edx, 0x00400000 mov edx, 0x00400000
or esi, PG_GLOBAL+PDE_LARGE+PAT_WC+PG_UWR or esi, PG_GLOBAL+PAT_WC+PG_UWR
and esi, [pte_valid_mask] and esi, [pte_valid_mask]
or esi, PDE_LARGE
mov [ebp+FRB.pde], esi mov [ebp+FRB.pde], esi
add esi, edx add esi, edx
mov [ebp+FRB.pde+4], esi mov [ebp+FRB.pde+4], esi