AcessNative - Implimented user side of SysSpawn
[tpg/acess2.git] / AcessNative / acesskernel_src / include / arch.h
index b63d1bb..1307e0c 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <stdint.h>
 //#include <stdlib.h>
-#include <pthread.h>
 #undef CLONE_VM
 #define        _MODULE_NAME_   "NativeKernel"
 
@@ -29,14 +28,18 @@ typedef intptr_t    tPAddr;
 
 typedef        int     BOOL;
 
+#include <stddef.h>
+#undef NULL
+#undef offsetof
+
 struct sShortSpinlock
 {
-        int    IsValid;
-       pthread_mutex_t Mutex;
+       void    *Mutex;
 };
 
 #define SHORTLOCK(...)
 #define SHORTREL(...)
+#define CPU_HAS_LOCK(...)      0
 
 //#define      NUM_CFG_ENTRIES 10
 

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