mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 04:52:39 +02:00
22 lines
351 B
ArmAsm
22 lines
351 B
ArmAsm
.global initSystem
|
|
.type initSystem, %function
|
|
|
|
initSystem:
|
|
stp x29, x30, [sp, #-16]!
|
|
bl __libnx_init
|
|
|
|
bl __appInit
|
|
//bl __libc_init_array //Currently broken since this doesn't use .got.
|
|
ldp x29, x30, [sp], #16
|
|
ret
|
|
|
|
.global __nx_exit
|
|
.type __nx_exit, %function
|
|
|
|
__nx_exit:
|
|
//bl __libc_fini_array//See above.
|
|
bl __appExit
|
|
|
|
b __libnx_exit
|
|
|