AcessNative - Compile fixes after select() implementation
[tpg/acess2.git] / AcessNative / acesskernel_src / include / arch.h
index 8f0eb79..a6685b2 100644 (file)
@@ -4,7 +4,7 @@
 #define _ARCH_H_
 
 #include <stdint.h>
-#include <stdlib.h>
+//#include <stdlib.h>
 #include <pthread.h>
 #undef CLONE_VM
 #define        _MODULE_NAME_   "NativeKernel"
@@ -26,6 +26,13 @@ typedef intptr_t     Uint;
 typedef intptr_t       tVAddr;
 typedef intptr_t       tPAddr;
 
+typedef        int     BOOL;
+
+typedef uint32_t       tTID;
+typedef uint32_t       tPID;
+typedef uint32_t       tUID;
+typedef uint32_t       tGID;
+
 struct sShortSpinlock
 {
         int    IsValid;
@@ -35,5 +42,7 @@ struct sShortSpinlock
 #define SHORTLOCK(...)
 #define SHORTREL(...)
 
+#define        NUM_CFG_ENTRIES 10
+
 #endif
 

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