Fix bpmpfw/Makefile, other changes.

This commit is contained in:
TuxSH
2018-02-23 13:56:23 +01:00
parent 90f792b1cc
commit 91d1b047c4
5 changed files with 63 additions and 67 deletions

View File

@@ -10,19 +10,15 @@ _start:
.type crt0, %function
crt0:
@ setup to call lp0_entry_main
msr cpsr_f, #0xC0
msr cpsr_cf, #0xD3
msr cpsr_cxsf, #0xD3
ldr sp, =__stack_top__
ldr lr, =reboot
bl lp0_entry_main
infloop:
b infloop
b lp0_entry_main
.global spinlock_wait
.type spinlock_wait, %function
spinlock_wait:
sub r0, r0, #1
cmp r0, #0
subs r0, r0, #1
bgt spinlock_wait
bx lr
bx lr