Searched refs:tf_esp (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/i386/include/ |
H A D | pmc_mdep.h | 119 #define PMC_TRAPFRAME_TO_USER_SP(TF) ((TF)->tf_esp) 120 #define PMC_TRAPFRAME_TO_KERNEL_SP(TF) ((uintptr_t) &((TF)->tf_esp)) 142 __asm __volatile("movl %%esp,%0" : "=r" ((TF)->tf_esp)); \
|
H A D | cpu.h | 50 #define cpu_getstack(td) ((td)->td_frame->tf_esp) 51 #define cpu_setstack(td, ap) ((td)->td_frame->tf_esp = (ap))
|
/freebsd/sys/i386/linux/ |
H A D | linux_sysvec.c | 169 oonstack = sigonstack(regs->tf_esp); in linux_rt_sendsig() 177 fp = (struct l_rt_sigframe *)regs->tf_esp - 1; in linux_rt_sendsig() 210 frame.sf_uc.uc_mcontext.sc_esp = regs->tf_esp; in linux_rt_sendsig() 217 frame.sf_uc.uc_mcontext.sc_esp_at_signal = regs->tf_esp; in linux_rt_sendsig() 233 regs->tf_esp = PTROUT(fp); in linux_rt_sendsig() 278 oonstack = sigonstack(regs->tf_esp); in linux_sendsig() 286 fp = (struct l_sigframe *)regs->tf_esp - 1; in linux_sendsig() 309 frame.sf_sc.sc_esp = regs->tf_esp; in linux_sendsig() 316 frame.sf_sc.sc_esp_at_signal = regs->tf_esp; in linux_sendsig() 332 regs->tf_esp = PTROUT(fp); in linux_sendsig() [all …]
|
/freebsd/sys/i386/i386/ |
H A D | db_trace.c | 81 return (TF_HAS_STACKREGS(tf) ? tf->tf_esp : (intptr_t)&tf->tf_esp); in get_esp() 146 kdb_frame->tf_esp = *valuep; in db_esp() 417 TF_HAS_STACKREGS(tf) ? tf->tf_esp : (intptr_t)&tf->tf_esp, in db_backtrace() 446 instr = (int)&kdb_frame->tf_esp; in db_backtrace()
|
H A D | exec_machdep.c | 145 oonstack = sigonstack(regs->tf_esp); in osendsig() 156 fp = (struct osigframe *)regs->tf_esp - 1; in osendsig() 196 sf.sf_siginfo.si_sc.sc_sp = regs->tf_esp; in osendsig() 235 regs->tf_esp = (int)fp; in osendsig() 274 oonstack = sigonstack(regs->tf_esp); in freebsd4_sendsig() 300 sfp = (struct freebsd4_sigframe *)regs->tf_esp - 1; in freebsd4_sendsig() 361 regs->tf_esp = (int)sfp; in freebsd4_sendsig() 409 oonstack = sigonstack(regs->tf_esp); in sendsig() 451 sp = (char *)regs->tf_esp - 128; in sendsig() 523 regs->tf_esp = (int)sfp; in sendsig() [all …]
|
H A D | trap.c | 723 addr, frame->tf_ss, frame->tf_esp, frame->tf_cs, in trap() 937 esp = frame->tf_esp; in trap_fatal() 940 esp = (int)&frame->tf_esp; in trap_fatal() 1067 error = fueword32((void *)frame->tf_esp, &eip); in cpu_fetch_syscall_args() 1070 cs = fuword16((void *)(frame->tf_esp + sizeof(u_int32_t))); in cpu_fetch_syscall_args() 1080 frame->tf_esp += 2 * sizeof(u_int32_t); in cpu_fetch_syscall_args() 1087 params = (caddr_t)frame->tf_esp + sizeof(uint32_t); in cpu_fetch_syscall_args()
|
H A D | vm_machdep.c | 498 td->td_frame->tf_esp = in cpu_set_upcall() 503 if (suword((void *)td->td_frame->tf_esp, 0) != 0) in cpu_set_upcall() 507 if (suword((void *)(td->td_frame->tf_esp + sizeof(void *)), in cpu_set_upcall()
|
H A D | machdep.c | 723 frame->tf_ss, frame->tf_esp, frame->tf_eflags, frame->tf_cs, in DB_SHOW_COMMAND() 1851 pcb->pcb_esp = (ISPL(tf->tf_cs)) ? tf->tf_esp : (int)(tf + 1) - 8; in makectx()
|
/freebsd/sys/x86/include/ |
H A D | frame.h | 67 int tf_esp; member 92 int tf_esp; member
|
/freebsd/sys/cddl/dev/dtrace/i386/ |
H A D | dtrace_isa.c | 242 sp = tf->tf_esp; in dtrace_getupcstack() 290 sp = tf->tf_esp; in dtrace_getustackdepth() 344 sp = tf->tf_esp; in dtrace_getufpstack() 576 return (frame->tf_esp); in dtrace_getreg()
|