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:
Sergey Semyonov (Serge) 2015-01-09 02:20:21 +00:00
parent 7b10f06b00
commit 3b36db1909

View File

@ -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