Home
last modified time | relevance | path

Searched refs:tnpc (Results 1 – 21 of 21) sorted by relevance

/arch/sparc/kernel/
Dkprobes.c91 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 …]
Dsignal_64.c82 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 …]
Dkgdb_64.c32 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()
Dutrap.S26 rdpr %tnpc, %l7
27 wrpr %g1, 0, %tnpc
Detrap_64.S53 rdpr %tnpc, %g1
135 wrpr %l2, %tnpc
180 rdpr %tnpc, %g3
190 rdpr %tnpc, %g3
205 rdpr %tnpc, %g3
215 rdpr %tnpc, %g3
Dtraps_64.c55 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 …]
Dsignal32.c247 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 …]
Dwinfixup.S108 wrpr %g3, %tnpc
135 wrpr %g3, %tnpc
Dunaligned_64.c227 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()
Dprocess_64.c189 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()
Dsys_sparc_64.c656 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()
Dvisemul.c887 regs->tpc = regs->tnpc; in vis_emul()
888 regs->tnpc += 4; in vis_emul()
Dptrace_64.c549 reg = regs->tnpc; in genregs32_get()
671 regs->tnpc = reg; in genregs32_set()
Dtsb.S284 wrpr %g3, %tnpc ! Write it into TNPC
Drtrap_64.S275 wrpr %o2, %g0, %tnpc
/arch/sparc/math-emu/
Dmath_64.c151 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/
Dprocessor_64.h110 regs->tnpc = regs->tpc + 4; \
150 regs->tnpc = regs->tpc + 4; \
Dsigcontext.h65 unsigned long tnpc; member
Dptrace.h25 unsigned long tnpc; member
194 unsigned long tnpc; member
/arch/sparc/mm/
Dfault_64.c213 regs->tnpc = regs->tpc + 4; in do_kernel_fault()
Dultra.S493 rdpr %tnpc, %g7