Home
last modified time | relevance | path

Searched refs:tf_spc (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/sys/arch/sh3/sh3/
H A Dexception.c174 tf->tf_spc -= 2; /* back to the breakpoint address */ in general_exception()
178 ksi.ksi_addr = (void *)tf->tf_spc; in general_exception()
192 ksi.ksi_addr = (void *)tf->tf_spc; in general_exception()
200 tf->tf_spc = (int)pcb->pcb_onfault; in general_exception()
222 ksi.ksi_addr = (void *)tf->tf_spc; in general_exception()
262 printf(" spc %x ssr %x \n", tf->tf_spc, tf->tf_ssr); in general_exception()
335 tf->tf_spc = (int)onfault; in tlb_exception()
362 tf->tf_spc = (int)onfault; in tlb_exception()
444 tf->tf_spc = (int)onfault; in tlb_exception()
458 panic_msg, tf->tf_expevt, va, tf->tf_ssr, tf->tf_spc, in tlb_exception()
H A Dprocess_machdep.c117 regs->r_spc = tf->tf_spc; in process_read_regs()
157 tf->tf_spc = regs->r_spc; in process_write_regs()
266 regs->r_spc = tf->tf_spc; in process_machdep_read_regs40()
307 tf->tf_spc = regs->r_spc; in process_machdep_write_regs40()
356 tf->tf_spc = (int)addr; in process_set_pc()
H A Dlocore_c.c141 pc = ras_lookup(p, (void *)nlwp->l_md.md_regs->tf_spc); in cpu_switch_prepare()
143 nlwp->l_md.md_regs->tf_spc = (int) pc; in cpu_switch_prepare()
H A Dcompat_16_machdep.c110 frame.sf_sc.sc_spc = tf->tf_spc; in sendsig_sigcontext()
174 tf->tf_spc = (int)catcher; in sendsig_sigcontext()
235 tf->tf_spc = context.sc_spc; in compat_16_sys___sigreturn14()
H A Ddb_trace.c74 { "pc", (long *)&ddb_regs.tf_spc, FCN_NULL },
87 tf->tf_ssr, tf->tf_gbr, tf->tf_spc, tf->tf_pr);
134 pc = tf->tf_spc;
196 pc = tf->tf_spc;
H A Dsyscall.c119 opc = tf->tf_spc; in syscall()
216 tf->tf_spc = opc - 2; in syscall()
H A Dsh3_machdep.c388 tf->tf_spc = (int)catcher; in sendsig_siginfo()
406 gr[_REG_PC] = tf->tf_spc; in cpu_getmcontext()
467 tf->tf_spc = gr[_REG_PC]; in cpu_setmcontext()
523 tf->tf_spc = pack->ep_entry; in setregs()
H A Dkgdb_machdep.c206 gdb_regs[16] = regs->tf_spc; in kgdb_getregs()
240 regs->tf_spc = gdb_regs[16]; in kgdb_setregs()
H A Dgenassym.cf44 define TF_SPC offsetof(struct trapframe, tf_spc)
H A Dexception_vector.S137 mov.l r4, @r5 ! BARA = tf->tf_spc
H A Ddb_interface.c161 regs->tf_spc, regs->tf_pr); in kdb_trap()
/netbsd-src/sys/arch/sh3/include/
H A Ddb_machdep.h49 #define PC_REGS(regs) ((regs)->tf_spc)
50 #define PC_ADVANCE(regs) ((regs)->tf_spc += BKPT_SIZE)
57 #define FIXUP_PC_AFTER_BREAK(regs) ((regs)->tf_spc -= BKPT_SIZE)
H A Dframe.h88 int tf_spc; member
H A Dcpu.h97 (((struct trapframe *)(l)->l_md.md_regs)->tf_spc)
/netbsd-src/sys/arch/sh3/dev/
H A Dwdog.c219 printf("wdog trapped: spc = %x\n", frame->tf_spc); in wdogintr()