/netbsd/sys/arch/mips/include/ |
H A D | db_machdep.h | 63 #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 D | regnum.h | 109 #define _R_PC 37 macro 111 #define _FPBASE (_R_PC + 1)
|
H A D | locore.h | 807 #define TF_EPC _R_PC /* may be changed by trap() call */
|
/netbsd/external/cddl/osnet/dev/dtrace/mips/ |
H A D | dtrace_subr.c | 245 __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 D | dtrace_isa.c | 167 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 D | mips_fputrap.c | 51 __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 D | mips_emul.c | 284 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 D | trap.c | 289 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 D | compat_16_machdep.c | 119 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 D | syscall.c | 146 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 D | kgdb_machdep.c | 215 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 D | db_trace.c | 129 { "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 D | process_machdep.c | 185 l->l_md.md_utf->tf_regs[_R_PC] = (intptr_t)addr; in process_set_pc()
|
H A D | compat_13_machdep.c | 81 tf->tf_regs[_R_PC] = ksc.sc_pc; in compat_13_sys_sigreturn()
|
H A D | sig_machdep.c | 119 tf->tf_regs[_R_PC] = (intptr_t)catcher; in sendsig_siginfo()
|
H A D | netbsd32_machdep.c | 153 tf->tf_regs[_R_PC] = (intptr_t)catcher; in netbsd32_sendsig_siginfo()
|
H A D | vm_machdep.c | 278 return l->l_md.md_utf->tf_regs[_R_PC]; in cpu_lwp_pc()
|
H A D | cpu_subr.c | 376 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 D | genassym.cf | 245 define TF_REG_EPC offsetof(struct trapframe, tf_regs[_R_PC])
|
H A D | mips_machdep.c | 1694 tf->tf_regs[_R_PC] = (intptr_t)pack->ep_entry & ~3; in setregs()
|
/netbsd/sys/compat/linux/arch/mips/ |
H A D | linux_machdep.c | 117 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()
|