summaryrefslogtreecommitdiff
path: root/include/gba
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-03 00:26:25 -0800
committerYamaArashi <shadow962@live.com>2016-02-03 00:26:25 -0800
commit5fd538d1802b2ae9e3e854140f68cb45fe50e97a (patch)
treea7d3cc4b70435a6cc4a94b4497307393d743f28d /include/gba
parent6f965a9eca507c27049fbd90a57f620b63c92d6d (diff)
RTC code/data
Diffstat (limited to 'include/gba')
-rw-r--r--include/gba/gba.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/gba/gba.h b/include/gba/gba.h
new file mode 100644
index 000000000..5a9dc9b2d
--- /dev/null
+++ b/include/gba/gba.h
@@ -0,0 +1,34 @@
+#ifndef GUARD_GBA_GBA_H
+#define GUARD_GBA_GBA_H
+
+#include <stddef.h>
+
+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 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;
+
+#define TRUE 1
+#define FALSE 0
+
+#include "gba/io_reg.h"
+#include "gba/syscall.h"
+#include "gba/macro.h"
+
+#endif // GUARD_GBA_GBA_H