mov r10, #0
1: adr r0, __v7_setup_stack_ptr
ldr r12, [r0]
- tst r12, #0x1f
- addeq r12, r12, #4
add r12, r12, r0 @ the local stack
stmia r12, {r1-r6, lr} @ v7_invalidate_l1 touches r0-r6
bl v7_invalidate_l1
adr r0, __v7_setup_stack_ptr
ldr r12, [r0]
add r12, r12, r0 @ the local stack
- tst r12, #0x1f
- addeq r12, r12, #4
stmia r12, {r1-r6, lr} @ v7_invalidate_l1 touches r0-r6
bl v7_invalidate_l1
ldmia r12, {r1-r6, lr}
.bss
.align 2
__v7_setup_stack:
- .space 4 * 8 @ 7 registers + 1 spare
+ .space 4 * 7 @ 7 registers
__INITDATA