summaryrefslogtreecommitdiff
path: root/include/gba/gba.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gba/gba.h')
-rw-r--r--include/gba/gba.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gba/gba.h b/include/gba/gba.h
index 10b2ffa43..9cacbfee0 100644
--- a/include/gba/gba.h
+++ b/include/gba/gba.h
@@ -27,6 +27,11 @@ typedef u32 bool32;
#define TRUE 1
#define FALSE 0
+#define IWRAM_DATA __attribute__((section("iwram_data")))
+#define EWRAM_DATA __attribute__((section("ewram_data")))
+
+#define ALIGNED(n) __attribute__((aligned(n)))
+
#include "gba/io_reg.h"
#include "gba/syscall.h"
#include "gba/macro.h"