Lines Matching refs:sv_pc
17 #define sv_pc r6
119 * sv_pc is the saved lr frame the frame above. This is a pointer to a code
124 1001: ldr sv_pc, [frame, #4] @ get saved 'pc'
136 * called using a bl instruction. If the function start can be recovered sv_pc
140 * recover the function start and instead continue with sv_pc as an arbitrary
155 ldr sv_pc, [sv_fp, #4] @ get lr address
156 add sv_pc, sv_pc, #-4 @ get call instruction address
157 add sv_pc, sv_pc, #8 @ take care of prefetch
158 add sv_pc, sv_pc, r0, lsl #2@ find function start
162 bic sv_pc, sv_pc, mask @ mask PC/LR for the mode
165 * Print the function (sv_pc) and where it was called from (sv_lr).
167 mov r0, sv_pc
179 * If we could not recover the sv_pc because we were called through a function
183 1005: ldr r1, [sv_pc, #0] @ if stmfd sp!, {..., fp, lr}