/arch/sparc/kernel/ |
D | kprobes.c | 91 kcb->kprobe_orig_tnpc = regs->tnpc; in set_current_kprobe() 103 regs->tnpc = kcb->kprobe_orig_tnpc; in prepare_singlestep() 106 regs->tnpc = (unsigned long) &p->ainsn.insn[1]; in prepare_singlestep() 205 if (regs->tnpc == regs->tpc + 0x4UL) in relbranch_fixup() 222 return (real_pc + (regs->tnpc - ainsn_addr)); in relbranch_fixup() 228 return regs->tnpc; in relbranch_fixup() 280 regs->tnpc = relbranch_fixup(insn, p, regs); in resume_execution() 335 regs->tnpc = kcb->kprobe_orig_tnpc; in kprobe_fault_handler() 371 regs->tnpc = regs->tpc + 4; in kprobe_fault_handler() 443 regs->tnpc = ((unsigned long) jp->entry) + 0x4UL; in setjmp_pre_handler() [all …]
|
D | signal_64.c | 82 regs->tnpc = npc; in sparc64_set_context() 166 regs->tpc = (regs->tnpc & 0xffffffff); in sparc64_get_context() 167 regs->tnpc = (regs->tnpc + 4) & 0xffffffff; in sparc64_get_context() 169 regs->tpc = regs->tnpc; in sparc64_get_context() 170 regs->tnpc += 4; in sparc64_get_context() 182 err |= __put_user(regs->tnpc, &((*grp)[MC_NPC])); in sparc64_get_context() 294 unsigned long tpc, tnpc, tstate; in do_rt_sigreturn() local 311 err |= __get_user(tnpc, &sf->regs.tnpc); in do_rt_sigreturn() 314 tnpc &= 0xffffffff; in do_rt_sigreturn() 316 err |= ((tpc | tnpc) & 3); in do_rt_sigreturn() [all …]
|
D | kgdb_64.c | 32 gdb_regs[GDB_NPC] = regs->tnpc; in pt_regs_to_gdb_regs() 100 regs->tnpc = gdb_regs[GDB_NPC]; in gdb_regs_to_pt_regs() 143 linux_regs->tnpc = addr + 4; in kgdb_arch_handle_exception() 150 linux_regs->tpc = linux_regs->tnpc; in kgdb_arch_handle_exception() 151 linux_regs->tnpc += 4; in kgdb_arch_handle_exception()
|
D | utrap.S | 26 rdpr %tnpc, %l7 27 wrpr %g1, 0, %tnpc
|
D | etrap_64.S | 53 rdpr %tnpc, %g1 135 wrpr %l2, %tnpc 180 rdpr %tnpc, %g3 190 rdpr %tnpc, %g3 205 rdpr %tnpc, %g3 215 rdpr %tnpc, %g3
|
D | traps_64.c | 55 unsigned long tnpc; member 75 p->trapstack[i].tnpc, p->trapstack[i].tt); in dump_tl1_traplog() 101 regs->tnpc &= 0xffffffff; in bad_trap() 199 regs->tnpc &= 0xffffffff; in spitfire_insn_access_exception() 238 regs->tnpc &= 0xffffffff; in sun4v_insn_access_exception() 279 regs->tnpc = regs->tpc + 4; in spitfire_data_access_exception() 329 regs->tnpc = regs->tpc + 4; in sun4v_data_access_exception() 340 regs->tnpc &= 0xffffffff; in sun4v_data_access_exception() 522 regs->tnpc &= 0xffffffff; in spitfire_ue_log() 550 regs->tnpc = regs->tpc + 4; in spitfire_access_error() [all …]
|
D | signal32.c | 247 regs->tnpc = npc; in do_sigreturn32() 333 regs->tnpc = npc; in do_rt_sigreturn32() 483 regs->tnpc &= 0xffffffff; in setup_frame32() 486 err |= __put_user(regs->tnpc, &sf->info.si_regs.npc); in setup_frame32() 538 regs->tnpc = (regs->tpc + 4); in setup_frame32() 541 regs->tnpc &= 0xffffffff; in setup_frame32() 618 regs->tnpc &= 0xffffffff; in setup_rt_frame32() 621 err |= __put_user(regs->tnpc, &sf->regs.npc); in setup_rt_frame32() 678 regs->tnpc = (regs->tpc + 4); in setup_rt_frame32() 681 regs->tnpc &= 0xffffffff; in setup_rt_frame32() [all …]
|
D | winfixup.S | 108 wrpr %g3, %tnpc 135 wrpr %g3, %tnpc
|
D | unaligned_64.c | 227 regs->tpc = regs->tnpc; in advance() 228 regs->tnpc += 4; in advance() 231 regs->tnpc &= 0xffffffff; in advance() 274 regs->tnpc = regs->tpc + 4; in kernel_mna_trap_fault()
|
D | process_64.c | 189 regs->tpc, regs->tnpc, regs->y, print_tainted()); in show_regs() 217 global_reg_snapshot[this_cpu].tnpc = regs->tnpc; in __global_reg_self() 282 gp->tstate, gp->tpc, gp->tnpc, in __trigger_all_cpu_backtrace()
|
D | sys_sparc_64.c | 656 regs->tnpc &= 0xffffffff; in sparc_breakpoint() 659 printk ("TRAP: Entering kernel PC=%lx, nPC=%lx\n", regs->tpc, regs->tnpc); in sparc_breakpoint() 668 printk ("TRAP: Returning to space: PC=%lx nPC=%lx\n", regs->tpc, regs->tnpc); in sparc_breakpoint()
|
D | visemul.c | 887 regs->tpc = regs->tnpc; in vis_emul() 888 regs->tnpc += 4; in vis_emul()
|
D | ptrace_64.c | 549 reg = regs->tnpc; in genregs32_get() 671 regs->tnpc = reg; in genregs32_set()
|
D | tsb.S | 284 wrpr %g3, %tnpc ! Write it into TNPC
|
D | rtrap_64.S | 275 wrpr %o2, %g0, %tnpc
|
/arch/sparc/math-emu/ |
D | math_64.c | 151 regs->tpc = regs->tnpc; in record_exception() 152 regs->tnpc += 4; in record_exception() 344 regs->tpc = regs->tnpc; in do_mathemu() 345 regs->tnpc += 4; in do_mathemu() 508 regs->tpc = regs->tnpc; in do_mathemu() 509 regs->tnpc += 4; in do_mathemu()
|
/arch/sparc/include/asm/ |
D | processor_64.h | 110 regs->tnpc = regs->tpc + 4; \ 150 regs->tnpc = regs->tpc + 4; \
|
D | sigcontext.h | 65 unsigned long tnpc; member
|
D | ptrace.h | 25 unsigned long tnpc; member 194 unsigned long tnpc; member
|
/arch/sparc/mm/ |
D | fault_64.c | 213 regs->tnpc = regs->tpc + 4; in do_kernel_fault()
|
D | ultra.S | 493 rdpr %tnpc, %g7
|