Lines Matching refs:pc
46 static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc, in lookup_prev_stack_frame() argument
59 sym = kallsyms_lookup(pc, NULL, &offset, NULL, namebuf); in lookup_prev_stack_frame()
63 prologue = pc - offset; in lookup_prev_stack_frame()
220 unsigned long pc, unsigned long fp) in unwind_nested() argument
230 unsigned long pc, fp; in sh64_unwind_inner() local
234 pc = regs->pc & ~1; in sh64_unwind_inner()
242 if (pc == ((unsigned long)&syscall_ret & ~1)) { in sh64_unwind_inner()
244 unwind_nested(ops, data, pc, fp); in sh64_unwind_inner()
248 if (pc == ((unsigned long)&ret_from_syscall & ~1)) { in sh64_unwind_inner()
250 unwind_nested(ops, data, pc, fp); in sh64_unwind_inner()
256 if (pc == ((unsigned long)&ret_from_exception & ~1)) { in sh64_unwind_inner()
258 unwind_nested(ops, data, pc, fp); in sh64_unwind_inner()
262 if (pc == ((unsigned long)&ret_from_irq & ~1)) { in sh64_unwind_inner()
264 unwind_nested(ops, data, pc, fp); in sh64_unwind_inner()
268 cond = ((pc >= __MEMORY_START) && (fp >= __MEMORY_START) && in sh64_unwind_inner()
269 ((pc & 3) == 0) && ((fp & 7) == 0)); in sh64_unwind_inner()
271 pc -= ofs; in sh64_unwind_inner()
273 ops->address(data, pc, 1); in sh64_unwind_inner()
284 if (lookup_prev_stack_frame(fp, pc, &next_fp, &next_pc, regs) == 0) { in sh64_unwind_inner()
286 pc = next_pc & ~1; in sh64_unwind_inner()
328 : "=r" (regs->pc) in sh64_unwinder_dump()