AcessNative - Fixing crashes
[tpg/acess2.git] / AcessNative / acesskernel_src / include / arch.h
index a6685b2..b63d1bb 100644 (file)
@@ -9,6 +9,7 @@
 #undef CLONE_VM
 #define        _MODULE_NAME_   "NativeKernel"
 
+#define PAGE_SIZE      0x1000  // Assume, making an Ass out of u and me
 #define BITS   (sizeof(intptr_t)*8)
 
 typedef uint8_t        Uint8;
@@ -28,11 +29,6 @@ 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;
@@ -42,7 +38,10 @@ struct sShortSpinlock
 #define SHORTLOCK(...)
 #define SHORTREL(...)
 
-#define        NUM_CFG_ENTRIES 10
+//#define      NUM_CFG_ENTRIES 10
+
+extern void    Debug_PutCharDebug(char ch);
+extern void    Debug_PutStringDebug(const char *str);
 
 #endif
 

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