Thanks @profi200
This commit is contained in:
TuxSH 2019-03-23 23:14:23 +01:00
parent 474eb3001b
commit 4e5f6e1eff

View File

@ -53,6 +53,9 @@ start:
mcr p15, 0, r0, c7, c7, 0
mcr p15, 0, r0, c7, c10, 4
ldr sp, =__stack_top__
mov fp, #0
@ Clear BSS
ldr r0, =__bss_start__
mov r1, #0
@ -63,8 +66,6 @@ start:
@ Call the init array
bl __libc_init_array
ldr sp, =__stack_top__
mov fp, #0
b main
.global prepareForFirmlaunch