From 65a29a0733b1139728d0adc20c75c1f6e9799727 Mon Sep 17 00:00:00 2001 From: red031000 Date: Mon, 1 Jun 2020 18:54:43 +0100 Subject: more splits of ARM7 --- arm7/asm/OS_init.s | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 arm7/asm/OS_init.s (limited to 'arm7/asm/OS_init.s') 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 -- cgit v1.2.3