Lines Matching refs:sp
83 moveq r12, sp
93 sub sp, #S_FRAME_SIZE-S_IP
94 stmdb sp!, {r0-r11}
113 str r8, [sp, #S_IP]
114 add r8, sp, #S_SP
131 @ read original r12, sp, lr, pc and xPSR
132 add r12, sp, #S_IP
136 @ the sp to be restored is aligned or not set bit 9 of the saved xPSR
149 ldmia sp, {r1, r3-r5}
156 @ restore process sp
160 ldmia sp!, {r0-r11}
162 @ restore main sp
163 add sp, sp, #S_FRAME_SIZE-S_IP
180 str sp, [\rd, #\offset] @ save sp_usr
192 ldr sp, [\rd, #\offset] @ load sp_usr
294 ldr lr, [sp, #S_SP] @ top of the stack
295 ldrd r0, r1, [sp, #S_LR] @ calling lr and pc
298 strex r2, r1, [sp, #S_LR] @ clear the exclusive monitor
301 ldmia sp, {r0 - r12}
302 mov sp, lr
303 ldr lr, [sp], #4
304 rfeia sp!
313 add r0, sp, #S_R2
314 ldr lr, [sp, #S_LR]
315 ldr sp, [sp, #S_SP] @ abort is deadly from here onward (it will
333 add sp, #\offset
339 mov r2, sp
340 load_user_sp_lr r2, r3, \offset + S_SP @ calling sp, lr
341 ldr r1, [sp, #\offset + S_PSR] @ get calling cpsr
342 ldr lr, [sp, #\offset + S_PC] @ get pc
343 add sp, sp, #\offset + S_SP
347 strex r1, r2, [sp] @ clear the exclusive monitor
350 ldmdb sp, {r1 - r12} @ get calling r1 - r12
352 ldmdb sp, {r0 - r12} @ get calling r0 - r12
354 add sp, sp, #S_FRAME_SIZE - S_SP
367 stmdb sp!, {r0-r3, ip, lr}
369 ldmia sp!, {r0-r3, ip, lr}
379 stmdb sp!, {r0-r3, ip, lr}
381 ldmia sp!, {r0-r3, ip, lr}