git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel - Cleaned up MM_AllocDMA/_MapHWPages/_GetPhysAddr
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
x86
/
vm8086.c
diff --git
a/KernelLand/Kernel/arch/x86/vm8086.c
b/KernelLand/Kernel/arch/x86/vm8086.c
index
77b0d1a
..
25638f6
100644
(file)
--- a/
KernelLand/Kernel/arch/x86/vm8086.c
+++ b/
KernelLand/Kernel/arch/x86/vm8086.c
@@
-474,7
+474,7
@@
void *VM8086_Allocate(tVM8086 *State, int Size, Uint16 *Segment, Uint16 *Offset)
return NULL;
}
- pages[i].VirtBase = MM_AllocDMA(1, -1, &pages[i].PhysAddr);
+ pages[i].VirtBase =
(tVAddr)
MM_AllocDMA(1, -1, &pages[i].PhysAddr);
if( pages[i].VirtBase == 0 ) {
Log_Warning("VM8086", "Unable to allocate data page");
return NULL;
UCC
git Repository :: git.ucc.asn.au