#include <stdint.h>
//#include <stdlib.h>
-#include <pthread.h>
#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;
typedef int BOOL;
-//typedef uint32_t tTID;
-//typedef uint32_t tPID;
-//typedef uint32_t tUID;
-//typedef uint32_t tGID;
+#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
+extern void Debug_PutCharDebug(char ch);
+extern void Debug_PutStringDebug(const char *str);
+
#endif