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
KernelLand - Better node chaching code
[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
397ec14
..
25638f6
100644
(file)
--- a/
KernelLand/Kernel/arch/x86/vm8086.c
+++ b/
KernelLand/Kernel/arch/x86/vm8086.c
@@
-77,7
+77,7
@@
int VM8086_Install(char **Arguments)
// Create BIOS Call process
pid = Proc_Clone(CLONE_VM);
// Create BIOS Call process
pid = Proc_Clone(CLONE_VM);
- Log_Debug("VM8086", "pid = %i", pid);
+
//
Log_Debug("VM8086", "pid = %i", pid);
if(pid == -1)
{
Log_Error("VM8086", "Unable to clone kernel into VM8086 worker");
if(pid == -1)
{
Log_Error("VM8086", "Unable to clone kernel into VM8086 worker");
@@
-89,7
+89,7
@@
int VM8086_Install(char **Arguments)
Uint16 * volatile rmstack; // Real Mode Stack
int i;
Uint16 * volatile rmstack; // Real Mode Stack
int i;
- Log_Debug("VM8086", "Initialising worker");
+ //Log_Debug("VM8086", "Initialising worker");
// Set Image Name
Threads_SetName("VM8086");
// Set Image Name
Threads_SetName("VM8086");
@@
-474,7
+474,7
@@
void *VM8086_Allocate(tVM8086 *State, int Size, Uint16 *Segment, Uint16 *Offset)
return NULL;
}
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;
if( pages[i].VirtBase == 0 ) {
Log_Warning("VM8086", "Unable to allocate data page");
return NULL;
UCC
git Repository :: git.ucc.asn.au