summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 4354c8651..ee2c795d0 100644
--- a/include/global.h
+++ b/include/global.h
@@ -5,6 +5,16 @@ typedef signed char s8;
typedef signed short s16;
typedef signed int s32;
+typedef volatile u8 vu8;
+typedef volatile u16 vu16;
+typedef volatile u32 vu32;
+typedef volatile s8 vs8;
+typedef volatile s16 vs16;
+typedef volatile s32 vs32;
+
+typedef float f32;
+typedef double f64;
+
typedef u8 bool8;
typedef u16 bool16;
typedef u32 bool32;
@@ -14,6 +24,8 @@ typedef u32 bool32;
#define TRUE 1
#define FALSE 0
+#include "io_regs.h"
+
#define CPU_SET_SRC_FIX (1 << 24)
#define CPU_SET_32BIT (1 << 26)