forked from KolibriOS/kolibrios
ай-яй-яй: Fix #7967
git-svn-id: svn://kolibrios.org@7968 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d397ad5154
commit
5a633309ff
@ -1529,7 +1529,7 @@ locals
|
|||||||
endl
|
endl
|
||||||
|
|
||||||
; Size must be an exact multiple of pagesize
|
; Size must be an exact multiple of pagesize
|
||||||
mov eax, size
|
mov eax, [size]
|
||||||
test eax, PAGE_SIZE-1
|
test eax, PAGE_SIZE-1
|
||||||
jnz .exit
|
jnz .exit
|
||||||
|
|
||||||
@ -1566,7 +1566,7 @@ endl
|
|||||||
jnz .loop1
|
jnz .loop1
|
||||||
|
|
||||||
; Map second half of virtual memory to same physical memory
|
; Map second half of virtual memory to same physical memory
|
||||||
mov ecx, [pages]
|
mov ecx, [num_pages]
|
||||||
mov edi, [phys_ptr]
|
mov edi, [phys_ptr]
|
||||||
.loop2:
|
.loop2:
|
||||||
stdcall map_page, esi, edi, PG_UWR
|
stdcall map_page, esi, edi, PG_UWR
|
||||||
|
Loading…
Reference in New Issue
Block a user