summaryrefslogtreecommitdiff
path: root/arm9/lib/include/consts.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-05-05 22:01:17 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-05-05 22:01:17 -0400
commit758a54544ed5f434dd1bc8ba6d84dd3291b85414 (patch)
treee8614804c0de3620060ee5f8f5643d778cf251c1 /arm9/lib/include/consts.h
parentcd5559a2093c2be1167eba2f2ef38eedb32a8a1d (diff)
parent55faa9e2d1b393e832f95485f5412425136bd6b7 (diff)
Merge branch 'master' of https://github.com/martmists/pokediamond into libfs
Diffstat (limited to 'arm9/lib/include/consts.h')
-rw-r--r--arm9/lib/include/consts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arm9/lib/include/consts.h b/arm9/lib/include/consts.h
index 81330924..0e5066de 100644
--- a/arm9/lib/include/consts.h
+++ b/arm9/lib/include/consts.h
@@ -55,6 +55,8 @@
#define OS_CONSOLE_SIZE_MASK 0x00000003
#define OS_CONSOLE_SIZE_4MB 0x00000001
+#define OSi_TCM_REGION_BASE_MASK 0xfffff000
+
#define OSi_GetArenaInfo() (*(OSArenaInfo*)HW_ARENA_INFO_BUF)
#define OSi_TRUNC(n, a) (((u32) (n)) & ~((a) - 1))
#define OSi_ROUND(n, a) (((u32) (n) + (a) - 1) & ~((a) - 1))