summaryrefslogtreecommitdiff
path: root/arm9/lib/include/consts.h
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-05-05 23:23:02 +0100
committerred031000 <rubenru09@aol.com>2020-05-05 23:24:22 +0100
commitec58acee764ca6cd64b499ca0bb2b0626fee9cd0 (patch)
tree4a0c80a87708a8468e2d46b14813d5fd6a5e304e /arm9/lib/include/consts.h
parent962b4e0e9505bdf1eafc7679b428977658726042 (diff)
OS_tcm.c
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))