allocation bug for prefetched BARs fixed
git-svn-id: svn://kolibrios.org@1462 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
2bc8f0feb7
commit
5dd58a4db9
@ -464,7 +464,8 @@ pci_mmio_map:
|
|||||||
@@:
|
@@:
|
||||||
pop ecx ; ecx = block size, bytes (expanded to whole page)
|
pop ecx ; ecx = block size, bytes (expanded to whole page)
|
||||||
mov ebx, ecx ; user_alloc destroys eax, ecx, edx, but saves ebx
|
mov ebx, ecx ; user_alloc destroys eax, ecx, edx, but saves ebx
|
||||||
push eax ; store MMIO physical address + keep 2DWords in the stack
|
and eax, 0xFFFFFFF0
|
||||||
|
push eax ; store MMIO physical address + keep 2DWords in the stack
|
||||||
stdcall user_alloc, ecx
|
stdcall user_alloc, ecx
|
||||||
or eax, eax
|
or eax, eax
|
||||||
jnz mmio_map_over
|
jnz mmio_map_over
|
||||||
|
Loading…
Reference in New Issue
Block a user