Home
last modified time | relevance | path

Searched refs:tf_eip (Results 1 – 24 of 24) sorted by relevance

/netbsd-src/sys/arch/i386/i386/
H A Dtrap.c193 tf.tf_eip = tss->__tss_eip; in trap_tss()
217 pc = tf->tf_eip; in onfault_handler()
240 type, frame->tf_err, frame->tf_eip, frame->tf_cs, frame->tf_eflags, in trap_print()
258 eip = tf->tf_eip; in ss_shadow()
373 frame->tf_eip = (uintptr_t)onfault; in trap()
394 switch (*(u_char *)frame->tf_eip) { in trap()
409 offsetof(struct trapframe, tf_eip)); in trap()
411 ksi.ksi_addr = (void *)vframe->tf_eip; in trap()
414 switch (*(uint32_t *)frame->tf_eip) { in trap()
458 if (frame->tf_eip < VM_MAXUSER_ADDRESS - LCALLSZ && in trap()
[all …]
H A Ddb_interface.c284 regs->tf_eip = ddb_regs.tf_eip; in kdb_trap()
340 tf.tf_eip = tss->__tss_eip; in ddb_ipi_tss()
H A Dprocess_machdep.c126 regs->r_eip = tf->tf_eip; in process_read_regs()
178 tf->tf_eip = regs->r_eip; in process_write_regs()
230 tf->tf_eip = (int)addr; in process_set_pc()
H A Dcompat_16_machdep.c117 tf->tf_eip = context.sc_eip; in compat_16_sys___sigreturn14()
198 frame.sf_sc.sc_eip = tf->tf_eip; in sendsig_sigcontext()
H A Ddb_machdep.c189 tf.tf_eip = 0; in db_nextframe()
193 *ip = (db_addr_t)tf.tf_eip; in db_nextframe()
H A Dlinux_syscall.c122 frame->tf_eip -= frame->tf_err; in linux_syscall()
H A Dcompat_13_machdep.c93 tf->tf_eip = context.sc_eip; in compat_13_sys_sigreturn()
H A Dmachdep.c652 tf->tf_eip = (int)catcher; in buildcontext()
873 tf->tf_eip = pack->ep_entry; in setregs()
1618 gr[_REG_EIP] = tf->tf_eip; in cpu_getmcontext()
1701 tf->tf_eip = gr[_REG_EIP]; in cpu_setmcontext()
H A Dgenassym.cf198 define TF_EIP offsetof(struct trapframe, tf_eip)
/netbsd-src/external/cddl/osnet/dev/dtrace/i386/
H A Ddtrace_subr.c445 frame->tf_eip += dtrace_instr_size((u_char *) frame->tf_eip); in dtrace_trap()
457 frame->tf_eip += dtrace_instr_size((u_char *) frame->tf_eip); in dtrace_trap()
H A Ddtrace_isa.c246 pc = tf->tf_eip; in dtrace_getupcstack()
294 pc = tf->tf_eip; in dtrace_getustackdepth()
348 pc = tf->tf_eip; in dtrace_getufpstack()
587 return (rp->tf_eip); in dtrace_getreg()
/netbsd-src/sys/compat/linux/arch/i386/
H A Dlinux_machdep.c149 tf->tf_eip = epp->ep_entry; in linux_setregs()
210 sc->sc_eip = tf->tf_eip; in linux_save_sigcontext()
253 onstack, fp, sig, tf->tf_eip, in linux_rt_sendsig()
293 tf->tf_eip = ((int)p->p_sigctx.ps_sigcode) + in linux_rt_sendsig()
332 onstack, fp, sig, tf->tf_eip, in linux_old_sendsig()
363 tf->tf_eip = (int)p->p_sigctx.ps_sigcode; in linux_old_sendsig()
436 DPRINTF(("sigreturn enter esp=0x%x eip=0x%x\n", tf->tf_esp, tf->tf_eip)); in linux_restore_sigcontext()
461 tf->tf_eip = scp->sc_eip; in linux_restore_sigcontext()
483 DPRINTF(("sigreturn exit esp=0x%x eip=0x%x\n", tf->tf_esp, tf->tf_eip)); in linux_restore_sigcontext()
/netbsd-src/sys/arch/i386/include/
H A Ddb_machdep.h64 #define PC_REGS(regs) ((regs)->tf_eip)
71 #define FIXUP_PC_AFTER_BREAK(regs) ((regs)->tf_eip -= BKPT_SIZE)
H A Dcpu.h92 #define LWP_PC(l) ((l)->l_md.md_regs->tf_eip)
H A Dreg.h64 #define tEIP (offsetof(struct trapframe, tf_eip) / sizeof (int))
H A Dframe.h97 int tf_eip; member
/netbsd-src/sys/arch/x86/x86/
H A Dkgdb_machdep.c194 gdb_regs[ 8] = regs->tf_eip; in kgdb_getregs()
248 regs->tf_eip = gdb_regs[ 8]; in kgdb_setregs()
/netbsd-src/sys/compat/freebsd/
H A Dfreebsd_machdep.c115 frame.sf_sc.sc_eip = tf->tf_eip; in freebsd_sendsig()
207 tf->tf_eip = context.sc_eip; in freebsd_sys_sigreturn()
H A Dfreebsd_syscall.c139 frame->tf_eip -= frame->tf_err; in freebsd_syscall()
/netbsd-src/sys/arch/x86/include/
H A Ddb_machdep.h29 #define tf_ip tf_eip
H A Dcpu.h354 #define X86_TF_RIP(tf) tf->tf_eip
/netbsd-src/sys/dev/tprof/
H A Dtprof_x86_amd.c215 tfi.tfi_pc = tf->tf_eip; in tprof_amd_nmi()
H A Dtprof_x86_intel.c208 tfi.tfi_pc = tf->tf_eip; in tprof_intel_nmi()
/netbsd-src/sys/arch/xen/x86/
H A Dxen_ipi.c267 tf.tf_eip = intrf->if_eip; in xen_ipi_ddb()