Home
last modified time | relevance | path

Searched refs:tf_esp (Results 1 – 10 of 10) sorted by relevance

/f-stack/freebsd/i386/include/
H A Dpmc_mdep.h125 #define PMC_TRAPFRAME_TO_USER_SP(TF) ((TF)->tf_esp)
126 #define PMC_TRAPFRAME_TO_KERNEL_SP(TF) ((uintptr_t) &((TF)->tf_esp))
150 __asm __volatile("movl %%esp,%0" : "=r" ((TF)->tf_esp)); \
H A Dcpu.h50 #define cpu_getstack(td) ((td)->td_frame->tf_esp)
51 #define cpu_setstack(td, ap) ((td)->td_frame->tf_esp = (ap))
/f-stack/freebsd/x86/include/
H A Dframe.h70 int tf_esp; member
95 int tf_esp; member
/f-stack/freebsd/i386/linux/
H A Dlinux_sysvec.c411 oonstack = sigonstack(regs->tf_esp); in linux_rt_sendsig()
419 fp = (struct l_rt_sigframe *)regs->tf_esp - 1; in linux_rt_sendsig()
456 frame.sf_sc.uc_mcontext.sc_esp = regs->tf_esp; in linux_rt_sendsig()
479 regs->tf_esp = (int)fp; in linux_rt_sendsig()
524 oonstack = sigonstack(regs->tf_esp); in linux_sendsig()
532 fp = (struct l_sigframe *)regs->tf_esp - 1; in linux_sendsig()
556 frame.sf_sc.sc_esp = regs->tf_esp; in linux_sendsig()
563 frame.sf_sc.sc_esp_at_signal = regs->tf_esp; in linux_sendsig()
581 regs->tf_esp = (int)fp; in linux_sendsig()
664 regs->tf_esp = frame.sf_sc.sc_esp_at_signal; in linux_sigreturn()
[all …]
H A Dlinux_machdep.c321 td->td_frame->tf_esp = stack; in linux_set_upcall_kse()
/f-stack/freebsd/i386/i386/
H A Dtrap.c702 addr, frame->tf_ss, frame->tf_esp, frame->tf_cs, in trap()
918 esp = frame->tf_esp;
921 esp = (int)&frame->tf_esp;
1038 error = fueword32((void *)frame->tf_esp, &eip); in cpu_fetch_syscall_args()
1041 cs = fuword16((void *)(frame->tf_esp + sizeof(u_int32_t))); in cpu_fetch_syscall_args()
1051 frame->tf_esp += 2 * sizeof(u_int32_t); in cpu_fetch_syscall_args()
1057 params = (caddr_t)frame->tf_esp + sizeof(uint32_t); in cpu_fetch_syscall_args()
H A Ddb_trace.c85 return (TF_HAS_STACKREGS(tf) ? tf->tf_esp : (intptr_t)&tf->tf_esp); in get_esp()
150 kdb_frame->tf_esp = *valuep; in db_esp()
455 TF_HAS_STACKREGS(tf) ? tf->tf_esp : (intptr_t)&tf->tf_esp, in db_backtrace()
484 instr = (int)&kdb_frame->tf_esp; in db_backtrace()
H A Dmachdep.c339 oonstack = sigonstack(regs->tf_esp); in osendsig()
429 regs->tf_esp = (int)fp; in osendsig()
555 regs->tf_esp = (int)sfp; in freebsd4_sendsig()
645 sp = (char *)regs->tf_esp - 128; in sendsig()
717 regs->tf_esp = (int)sfp; in sendsig()
838 regs->tf_esp = scp->sc_sp;
1166 regs->tf_esp = stack; in exec_setregs()
2819 regs->r_esp = tp->tf_esp; in fill_frame_regs()
2850 tp->tf_esp = regs->r_esp; in set_regs()
2924 mcp->mc_esp = tp->tf_esp; in get_mcontext()
[all …]
H A Dvm_machdep.c507 td->td_frame->tf_esp = in cpu_set_upcall()
512 suword((void *)td->td_frame->tf_esp, 0); in cpu_set_upcall()
515 suword((void *)(td->td_frame->tf_esp + sizeof(void *)), in cpu_set_upcall()
/f-stack/freebsd/i386/cloudabi32/
H A Dcloudabi32_sysvec.c104 error = copyin((void *)(frame->tf_esp + 4), sa->args, in cloudabi32_fetch_syscall_args()
173 frameptr = (void *)td->td_frame->tf_esp; in cloudabi32_thread_setregs()