summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
new file mode 100644
index 000000000..4354c8651
--- /dev/null
+++ b/include/global.h
@@ -0,0 +1,20 @@
+typedef unsigned char u8;
+typedef unsigned short u16;
+typedef unsigned int u32;
+typedef signed char s8;
+typedef signed short s16;
+typedef signed int s32;
+
+typedef u8 bool8;
+typedef u16 bool16;
+typedef u32 bool32;
+
+#define NULL (void *)0
+
+#define TRUE 1
+#define FALSE 0
+
+#define CPU_SET_SRC_FIX (1 << 24)
+#define CPU_SET_32BIT (1 << 26)
+
+extern void CpuSet(void *src, void *dest, u32 controlData);