Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/sparc/kernel/
H A Dsignal_64.c79 regs->tnpc = npc; in sparc64_set_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()
282 err |= __get_user(tnpc, &sf->regs.tnpc); in do_rt_sigreturn()
285 tnpc &= 0xffffffff; in do_rt_sigreturn()
287 err |= ((tpc | tnpc) & 3); in do_rt_sigreturn()
314 regs->tnpc = tnpc; in do_rt_sigreturn()
468 regs->tnpc -= 4; in syscall_restart()
533 regs->tnpc -= 4; in do_signal()
[all …]
H A Duprobes.c95 if (regs->tnpc == regs->tpc + 0x4UL) in relbranch_fixup()
111 return (real_pc + (regs->tnpc - ixol_addr)); in relbranch_fixup()
117 return regs->tnpc; in relbranch_fixup()
175 regs->tnpc += 4; in arch_uprobe_skip_sstep()
199 autask->saved_tnpc = regs->tnpc; in arch_uprobe_pre_xol()
224 regs->tnpc = relbranch_fixup(insn, utask, regs); in arch_uprobe_post_xol()
228 regs->tnpc = utask->vaddr+4; in arch_uprobe_post_xol()
H A Dkprobes.c97 kcb->kprobe_orig_tnpc = regs->tnpc; in set_current_kprobe()
109 regs->tnpc = kcb->kprobe_orig_tnpc; in prepare_singlestep()
112 regs->tnpc = (unsigned long) &p->ainsn.insn[1]; in prepare_singlestep()
207 if (regs->tnpc == regs->tpc + 0x4UL) in relbranch_fixup()
224 return (real_pc + (regs->tnpc - ainsn_addr)); in relbranch_fixup()
230 return regs->tnpc; in relbranch_fixup()
282 regs->tnpc = relbranch_fixup(insn, p, regs); in resume_execution()
337 regs->tnpc = kcb->kprobe_orig_tnpc; in kprobe_fault_handler()
356 regs->tnpc = regs->tpc + 4; in kprobe_fault_handler()
456 regs->tnpc = orig_ret_address + 4; in trampoline_probe_handler()
H A Dkgdb_64.c38 gdb_regs[GDB_NPC] = regs->tnpc; in pt_regs_to_gdb_regs()
106 regs->tnpc = gdb_regs[GDB_NPC]; in gdb_regs_to_pt_regs()
149 linux_regs->tnpc = addr + 4; in kgdb_arch_handle_exception()
156 linux_regs->tpc = linux_regs->tnpc; in kgdb_arch_handle_exception()
157 linux_regs->tnpc += 4; in kgdb_arch_handle_exception()
195 regs->tnpc = regs->tpc + 4; in kgdb_arch_set_pc()
H A Dsignal32.c124 regs->tnpc = npc; in do_sigreturn32()
212 regs->tnpc = npc; in do_rt_sigreturn32()
391 regs->tnpc &= 0xffffffff; in setup_frame32()
464 regs->tnpc = (regs->tpc + 4); in setup_frame32()
467 regs->tnpc &= 0xffffffff; in setup_frame32()
525 regs->tnpc &= 0xffffffff; in setup_rt_frame32()
596 regs->tnpc = (regs->tpc + 4); in setup_rt_frame32()
599 regs->tnpc &= 0xffffffff; in setup_rt_frame32()
654 regs->tnpc -= 4; in syscall_restart32()
688 regs->tnpc -= 4; in do_signal32()
[all …]
H A Detrap_64.S58 rdpr %tnpc, %g1
181 wrpr %l2, %tnpc
228 rdpr %tnpc, %g3
238 rdpr %tnpc, %g3
253 rdpr %tnpc, %g3
263 rdpr %tnpc, %g3
H A Dtraps_64.c63 unsigned long tnpc; member
108 regs->tnpc &= 0xffffffff; in bad_trap()
202 regs->tnpc &= 0xffffffff; in spitfire_insn_access_exception()
237 regs->tnpc &= 0xffffffff; in sun4v_insn_access_exception()
371 regs->tnpc &= 0xffffffff; in sun4v_data_access_exception()
568 regs->tnpc &= 0xffffffff; in spitfire_ue_log()
2318 regs->tpc = regs->tnpc; in do_fpe_common()
2319 regs->tnpc += 4; in do_fpe_common()
2393 regs->tnpc &= 0xffffffff; in do_tof()
2810 regs->tpc = regs->tnpc; in do_getpsr()
[all …]
H A Dutrap.S26 rdpr %tnpc, %l7
27 wrpr %g1, 0, %tnpc
H A Dprocess_64.c169 regs->tpc, regs->tnpc, regs->y, print_tainted()); in show_regs()
202 rp->tnpc = regs->tnpc; in __global_reg_self()
273 gp->tstate, gp->tpc, gp->tnpc, in arch_trigger_cpumask_backtrace()
H A Dwinfixup.S110 wrpr %g3, %tnpc
137 wrpr %g3, %tnpc
H A Dunaligned_64.c241 regs->tpc = regs->tnpc; in advance()
242 regs->tnpc += 4; in advance()
245 regs->tnpc &= 0xffffffff; in advance()
288 regs->tnpc = regs->tpc + 4; in kernel_mna_trap_fault()
H A Dsys_sparc_64.c512 regs->tnpc &= 0xffffffff; in sparc_breakpoint()
515 printk ("TRAP: Entering kernel PC=%lx, nPC=%lx\n", regs->tpc, regs->tnpc); in sparc_breakpoint()
519 printk ("TRAP: Returning to space: PC=%lx nPC=%lx\n", regs->tpc, regs->tnpc); in sparc_breakpoint()
H A Dptrace_64.c553 membuf_store(&to, (u32)(regs->tnpc)); in genregs32_get()
652 regs->tnpc = reg; in genregs32_set()
788 membuf_store(&to, (u32)(regs->tnpc)); in getregs_get()
821 regs->tnpc = uregs[2]; in setregs_set()
H A Dvisemul.c896 regs->tpc = regs->tnpc; in vis_emul()
897 regs->tnpc += 4; in vis_emul()
/openbmc/linux/arch/sparc/math-emu/
H A Dmath_64.c154 regs->tpc = regs->tnpc; in record_exception()
155 regs->tnpc += 4; in record_exception()
348 regs->tpc = regs->tnpc; in do_mathemu()
349 regs->tnpc += 4; in do_mathemu()
520 regs->tpc = regs->tnpc; in do_mathemu()
521 regs->tnpc += 4; in do_mathemu()
/openbmc/linux/arch/sparc/include/asm/
H A Dptrace.h43 unsigned long tnpc; member
68 (regs)->tnpc = (val)+4; \
H A Dprocessor_64.h98 regs->tnpc = regs->tpc + 4; \
142 regs->tnpc = regs->tpc + 4; \
H A Dperf_event.h24 (regs)->tnpc = (regs)->tpc + 4; \
H A Dsigcontext.h79 unsigned long tnpc; member
/openbmc/qemu/linux-user/include/host/sparc64/
H A Dhost-signal.h25 sc->sigc_regs.tnpc = pc + 4; in host_signal_set_pc()
/openbmc/qemu/target/sparc/
H A Dwin_helper.c436 env->pc = tsptr->tnpc; in helper_done()
437 env->npc = tsptr->tnpc + 4; in helper_done()
466 env->npc = tsptr->tnpc; in helper_retry()
H A Dint64_helper.c197 tsptr->tnpc = env->npc; in sparc_cpu_do_interrupt()
H A Dmachine.c34 VMSTATE_UINT64(tnpc, trap_state),
/openbmc/qemu/linux-user/sparc/
H A Dsignal.c447 abi_ulong sf_addr, tpc, tnpc, ptr; in do_rt_sigreturn() local
467 __get_user(tnpc, &sf->regs.npc); in do_rt_sigreturn()
468 if ((tpc | tnpc) & 3) { in do_rt_sigreturn()
495 env->npc = tnpc; in do_rt_sigreturn()
/openbmc/linux/arch/sparc/include/uapi/asm/
H A Dptrace.h26 unsigned long tnpc; member

12