Fix bpmpfw/Makefile, other changes.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user