Home
last modified time | relevance | path

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

/netbsd/sys/arch/mips/include/
H A Ddb_machdep.h63 #define PC_REGS(regs) ((regs)->r_regs[_R_PC])
66 if ((db_get_value((regs)->r_regs[_R_PC], sizeof(int), false) &\
68 (regs)->r_regs[_R_PC] += BKPT_SIZE; \
73 if (db_get_value((regs)->r_regs[_R_PC], sizeof(int), false) == 0xd) \
74 (regs)->r_regs[_R_PC] += BKPT_SIZE; \
H A Dregnum.h109 #define _R_PC 37 macro
111 #define _FPBASE (_R_PC + 1)
H A Dlocore.h807 #define TF_EPC _R_PC /* may be changed by trap() call */
/netbsd/external/cddl/osnet/dev/dtrace/mips/
H A Ddtrace_subr.c245 __func__, (intmax_t)frame->tf_regs[_R_PC], in dtrace_trap()
249 frame->tf_regs[_R_PC] += sizeof(int); in dtrace_trap()
278 invop = dtrace_invop(frame->tf_regs[_R_PC], frame, frame->tf_regs[_R_PC]); in dtrace_invop_start()
288 frame->tf_regs[_R_PC] += INSN_SIZE; in dtrace_invop_start()
292 frame->tf_regs[_R_PC] += INSN_SIZE; in dtrace_invop_start()
H A Ddtrace_isa.c167 pc = tf->tf_regs[_R_PC]; in dtrace_getupcstack()
207 pc = tf->tf_regs[_R_PC]; in dtrace_getustackdepth()
/netbsd/sys/arch/mips/mips/
H A Dmips_fputrap.c51 __func__, fpustat, l->l_md.md_utf->tf_regs[_R_PC]); in mips_fpuexcept()
68 __func__, opcode, l->l_md.md_utf->tf_regs[_R_PC]); in mips_fpuillinst()
75 ksi.ksi_addr = (void *)(uintptr_t)l->l_md.md_utf->tf_regs[_R_PC]; in mips_fpuillinst()
H A Dmips_emul.c284 tf->tf_regs[_R_PC] = in update_pc()
285 mips_emul_branch(tf, tf->tf_regs[_R_PC], in update_pc()
288 tf->tf_regs[_R_PC] += 4; in update_pc()
390 tf->tf_regs[_R_BADVADDR] = tf->tf_regs[_R_PC]; in mips_emul_special()
473 tf->tf_regs[_R_BADVADDR] = tf->tf_regs[_R_PC]; in mips_emul_special3()
516 pc = tf->tf_regs[_R_PC]; in mips_emul_lwc1()
523 if (mips_btop(tf->tf_regs[_R_PC]) != mips_btop(pc)) in mips_emul_lwc1()
548 pc = tf->tf_regs[_R_PC]; in mips_emul_lwc1()
606 pc = tf->tf_regs[_R_PC]; in mips_emul_swc1()
613 if (mips_btop(tf->tf_regs[_R_PC]) != mips_btop(pc)) in mips_emul_swc1()
[all …]
H A Dtrap.c289 tf->tf_regs[TF_EPC] = regs->r_regs[_R_PC]; in trap()
532 tf->tf_regs[_R_PC] = (intptr_t)onfault; in trap()
586 tf->tf_regs[_R_PC] = regs->r_regs[_R_PC]; in trap()
634 tf->tf_regs[_R_PC] += 4; in trap()
730 tf->tf_regs[_R_PC] += 4; in trap()
808 pc = (vaddr_t)tf->tf_regs[_R_PC]; in mips_singlestep()
885 tf->tf_regs[_R_RA], tf->tf_regs[_R_SR], tf->tf_regs[_R_PC]); in frame_dump()
H A Dcompat_16_machdep.c119 ksc.sc_pc = tf->tf_regs[_R_PC]; in sendsig_sigcontext()
190 tf->tf_regs[_R_PC] = (intptr_t)catcher; in sendsig_sigcontext()
266 tf->tf_regs[_R_PC] = ksc.sc_pc; in compat_16_sys___sigreturn14()
H A Dsyscall.c146 reg->r_regs[_R_PC] = mips_emul_branch(tf, pc, 0, false); in EMULNAME()
148 reg->r_regs[_R_PC] = pc + sizeof(uint32_t); in EMULNAME()
344 reg->r_regs[_R_PC] = pc; in EMULNAME()
H A Dkgdb_machdep.c215 gdb_regs[37] = regs->r_regs[_R_PC]; /* PC */ in kgdb_getregs()
224 regs->r_regs[_R_PC] = gdb_regs[37]; /* PC */ in kgdb_setregs()
H A Ddb_trace.c129 { "pc", (long *)&ddb_regs.r_regs[_R_PC], DB_SETF_REGS, NULL },
153 regs->r_regs[_R_PC], in db_stack_trace_print()
237 pc = ddb_regs.r_regs[_R_PC]; in db_stack_trace_print()
H A Dprocess_machdep.c185 l->l_md.md_utf->tf_regs[_R_PC] = (intptr_t)addr; in process_set_pc()
H A Dcompat_13_machdep.c81 tf->tf_regs[_R_PC] = ksc.sc_pc; in compat_13_sys_sigreturn()
H A Dsig_machdep.c119 tf->tf_regs[_R_PC] = (intptr_t)catcher; in sendsig_siginfo()
H A Dnetbsd32_machdep.c153 tf->tf_regs[_R_PC] = (intptr_t)catcher; in netbsd32_sendsig_siginfo()
H A Dvm_machdep.c278 return l->l_md.md_utf->tf_regs[_R_PC]; in cpu_lwp_pc()
H A Dcpu_subr.c376 gr[_REG_EPC] = tf->tf_regs[_R_PC]; in cpu_getmcontext()
455 tf->tf_regs[_R_PC] = gr[_REG_EPC]; in cpu_setmcontext()
H A Dgenassym.cf245 define TF_REG_EPC offsetof(struct trapframe, tf_regs[_R_PC])
H A Dmips_machdep.c1694 tf->tf_regs[_R_PC] = (intptr_t)pack->ep_entry & ~3; in setregs()
/netbsd/sys/compat/linux/arch/mips/
H A Dlinux_machdep.c117 sc->lsc_pc = tf->tf_regs[_R_PC]; in linux_setup_sigcontext32()
130 sc->lsc_pc = tf->tf_regs[_R_PC]; in linux_setup_sigcontext()
246 tf->tf_regs[_R_PC] = (intptr_t)catcher; in linux_sendsig()
264 tf->tf_regs[_R_PC] = sc->lsc_pc; in linux_putaway_sigcontext()
277 tf->tf_regs[_R_PC] = sc->lsc_pc; in linux_putaway_sigcontext32()