Kernel/arm7 - Fiddling, still having issues with VMM
[tpg/acess2.git] / Kernel / arch / x86_64 / vm8086.c
index 1459c73..4251570 100644 (file)
@@ -3,6 +3,7 @@
 #include <acess.h>
 #include <vm8086.h>
 #include <modules.h>
+//#include "rme.h"
 
 // === CONSTANTS ===
 #define VM8086_STACK_SEG       0x9F00
 
 // === PROTOTYPES ===
  int   VM8086_Install(char **Arguments);
-tVM8086        *VM8086_Init(void);
-void   VM8086_Free(tVM8086 *State);
+//tVM8086      *VM8086_Init(void);
+//void VM8086_Free(tVM8086 *State);
 
 // === GLOBALS ===
 MODULE_DEFINE(0, 0x100, VM8086, VM8086_Install, NULL, NULL);
 tMutex glVM8086_Process;
+//tRME_State   *gpVM8086_State;
 tPID   gVM8086_WorkerPID;
 tTID   gVM8086_CallingThread;
 tVM8086        volatile * volatile gpVM8086_State = (void*)-1; // Set to -1 to avoid race conditions
@@ -24,6 +26,7 @@ tVM8086       volatile * volatile gpVM8086_State = (void*)-1; // Set to -1 to avoid ra
 // === CODE ===
 int VM8086_Install(char **Arguments)
 {
+       //gpVM8086_State = RME_CreateState();
        return MODULE_ERR_OK;
 }
 

UCC git Repository :: git.ucc.asn.au