summaryrefslogtreecommitdiff
path: root/arm9/asm/OS_tcm.s
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/asm/OS_tcm.s')
-rw-r--r--arm9/asm/OS_tcm.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/arm9/asm/OS_tcm.s b/arm9/asm/OS_tcm.s
new file mode 100644
index 00000000..9c7196ae
--- /dev/null
+++ b/arm9/asm/OS_tcm.s
@@ -0,0 +1,13 @@
+ .include "asm/macros.inc"
+ .include "global.inc"
+
+ .text
+
+ arm_func_start OS_GetDTCMAddress
+OS_GetDTCMAddress: ; 0x020CC9A4
+ mrc p15, 0x0, r0, c9, c1, 0x0
+ ldr r1, _020CC9B4 ; =0xFFFFF000
+ and r0, r0, r1
+ bx lr
+ .balign 4
+_020CC9B4: .word 0xFFFFF000