diff options
author | red031000 <rubenru09@aol.com> | 2020-04-29 02:41:21 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-04-29 02:41:21 +0100 |
commit | 2b7ae1f75a109553df78c9f8929e6854ea73b62e (patch) | |
tree | 59f8a3a19db20397468658b2cf03cd4f6ba17100 /arm9/asm/OS_init.s | |
parent | e56eab5ba606e2095e4565bcfab14b25f9ff655d (diff) |
split OS_arm9.s
Diffstat (limited to 'arm9/asm/OS_init.s')
-rw-r--r-- | arm9/asm/OS_init.s | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arm9/asm/OS_init.s b/arm9/asm/OS_init.s new file mode 100644 index 00000000..8ee35fe0 --- /dev/null +++ b/arm9/asm/OS_init.s @@ -0,0 +1,27 @@ + .include "asm/macros.inc" + .include "global.inc" + + .text + + arm_func_start OS_Init +OS_Init: ; 0x020CC1B4 + stmdb sp!, {lr} + sub sp, sp, #0x4 + bl OS_InitArena + bl PXI_Init + bl OS_InitLock + bl OS_InitArenaEx + bl OS_InitIrqTable + bl OS_SetIrqStackChecker + bl OS_InitException + bl MI_Init + bl OS_InitVAlarm + bl OSi_InitVramExclusive + bl OS_InitThread + bl OS_InitReset + bl CTRDG_Init + bl CARD_Init + bl PM_Init + add sp, sp, #0x4 + ldmia sp!, {lr} + bx lr |