summaryrefslogtreecommitdiff
path: root/arm7/asm/OS_init.s
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-06-01 18:54:43 +0100
committerred031000 <rubenru09@aol.com>2020-06-01 18:54:43 +0100
commit65a29a0733b1139728d0adc20c75c1f6e9799727 (patch)
tree7dabdc0fdfba68d421402d43cf4e9936fdff3322 /arm7/asm/OS_init.s
parent1cc951b5c1369ee182602e60089d0e0476f4c9ab (diff)
more splits of ARM7
Diffstat (limited to 'arm7/asm/OS_init.s')
-rw-r--r--arm7/asm/OS_init.s21
1 files changed, 21 insertions, 0 deletions
diff --git a/arm7/asm/OS_init.s b/arm7/asm/OS_init.s
new file mode 100644
index 00000000..d0e471bb
--- /dev/null
+++ b/arm7/asm/OS_init.s
@@ -0,0 +1,21 @@
+ .include "asm/macros.inc"
+ .include "global.inc"
+
+ .text
+
+ arm_func_start OS_Init
+OS_Init: ; 0x037F9B84
+ stmfd sp!, {lr}
+ sub sp, sp, #4
+ bl OS_InitArena
+ bl PXI_Init
+ bl OS_InitLock
+ bl OS_InitIrqTable
+ bl OS_InitTick
+ bl OS_InitAlarm
+ bl OS_InitThread
+ bl OS_InitReset
+ bl CTRDG_Init
+ add sp, sp, #4
+ ldmia sp!, {lr}
+ bx lr