forked from KolibriOS/kolibrios
kernel: fix stupid bug in map_page_table()
git-svn-id: svn://kolibrios.org@5365 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
7b10f06b00
commit
3b36db1909
@ -341,7 +341,7 @@ proc map_page_table stdcall, lin_addr:dword, phis_addr:dword
|
|||||||
shr ebx, 22
|
shr ebx, 22
|
||||||
mov eax, [phis_addr]
|
mov eax, [phis_addr]
|
||||||
and eax, not 0xFFF
|
and eax, not 0xFFF
|
||||||
or eax, PG_READ
|
or eax, PG_UWR
|
||||||
mov dword [master_tab+ebx*4], eax
|
mov dword [master_tab+ebx*4], eax
|
||||||
mov eax, [lin_addr]
|
mov eax, [lin_addr]
|
||||||
shr eax, 10
|
shr eax, 10
|
||||||
|
Loading…
Reference in New Issue
Block a user