Home
last modified time | relevance | path

Searched refs:tf_rax (Results 1 – 16 of 16) sorted by relevance

/f-stack/freebsd/amd64/cloudabi64/
H A Dcloudabi64_sysvec.c100 sa->code = frame->tf_rax; in cloudabi64_fetch_syscall_args()
127 frame->tf_rax = td->td_retval[0]; in cloudabi64_set_syscall_retval()
141 frame->tf_rax = cloudabi_convert_errno(error); in cloudabi64_set_syscall_retval()
153 frame->tf_rax = CLOUDABI_PROCESS_CHILD; in cloudabi64_schedtail()
/f-stack/freebsd/amd64/cloudabi32/
H A Dcloudabi32_sysvec.c103 sa->code = frame->tf_rax; in cloudabi32_fetch_syscall_args()
144 frame->tf_rax = copyout(td->td_retval, (void *)frame->tf_rcx, in cloudabi32_set_syscall_retval()
157 frame->tf_rax = cloudabi_convert_errno(error); in cloudabi32_set_syscall_retval()
/f-stack/freebsd/amd64/amd64/
H A Dgdb_machdep.c63 case GDB_REG_RAX: return (&kdb_frame->tf_rax); in gdb_cpu_getreg()
103 case GDB_REG_RAX: kdb_frame->tf_rax = regval; break; in gdb_cpu_setreg()
H A Dvm_machdep.c195 td2->td_frame->tf_rax = 0; /* Child returns zero */ in cpu_fork()
517 frame->tf_rax = td->td_retval[0]; in cpu_set_syscall_retval()
546 frame->tf_rax = error; in cpu_set_syscall_retval()
H A Ddb_trace.c69 { "rax", DB_OFFSET(tf_rax), db_frame },
250 decode_syscall(tf->tf_rax, td); in db_nextframe()
H A Dtrap.c961 frame->tf_rax, frame->tf_rdx, frame->tf_rbx, in dblfault_handler()
1032 sa->code = frame->tf_rax; in cpu_fetch_syscall_args()
H A Dgenassym.c178 ASSYM(TF_RAX, offsetof(struct trapframe, tf_rax));
H A Dmachdep.c2120 regs->r_rax = tp->tf_rax; in fill_frame_regs()
2166 tp->tf_rax = regs->r_rax; in set_regs()
2300 mcp->mc_rax = tp->tf_rax; in get_mcontext()
2373 tp->tf_rax = mcp->mc_rax; in set_mcontext()
/f-stack/freebsd/amd64/linux/
H A Dlinux_sysvec.c194 sa->code = frame->tf_rax; in linux_fetch_syscall_args()
215 frame->tf_rax = td->td_retval[0]; in linux_set_syscall_retval()
234 frame->tf_rax = bsd_to_linux_errno(error); in linux_set_syscall_retval()
583 regs->tf_rax = context->sc_rax; in linux_rt_sigreturn()
663 sf.sf_sc.uc_mcontext.sc_rax = regs->tf_rax; in linux_rt_sendsig()
682 regs->tf_rax = 0; in linux_rt_sendsig()
742 frame->tf_rax = linux_vsyscall_vector[code]; in linux_vsyscall()
H A Dlinux_machdep.c131 td->td_frame->tf_rax = 0; in linux_set_upcall_kse()
/f-stack/freebsd/amd64/ia32/
H A Dia32_signal.c173 mcp->mc_eax = tp->tf_rax; in ia32_get_mcontext()
237 tp->tf_rax = mcp->mc_eax; in ia32_set_mcontext()
385 sf.sf_siginfo.si_sc.sc_eax = regs->tf_rax; in ia32_osendsig()
473 sf.sf_uc.uc_mcontext.mc_eax = regs->tf_rax; in freebsd4_ia32_sendsig()
606 sf.sf_uc.uc_mcontext.mc_eax = regs->tf_rax; in ia32_sendsig()
729 regs->tf_rax = scp->sc_eax; in ofreebsd32_sigreturn()
810 regs->tf_rax = ucp->uc_mcontext.mc_eax;
915 regs->tf_rax = ucp->uc_mcontext.mc_eax;
H A Dia32_reg.c101 regs->r_eax = tp->tf_rax; in fill_regs32()
132 tp->tf_rax = regs->r_eax; in set_regs32()
H A Dia32_syscall.c152 sa->code = frame->tf_rax; in ia32_fetch_syscall_args()
/f-stack/freebsd/x86/include/
H A Dframe.h129 register_t tf_rax; member
/f-stack/freebsd/amd64/linux32/
H A Dlinux32_sysvec.c324 frame.sf_sc.uc_mcontext.sc_eax = regs->tf_rax; in linux_rt_sendsig()
432 frame.sf_sc.sc_eax = regs->tf_rax; in linux_sendsig()
533 regs->tf_rax = frame.sf_sc.sc_eax; in linux_sigreturn()
620 regs->tf_rax = context->sc_eax; in linux_rt_sigreturn()
658 sa->code = frame->tf_rax; in linux32_fetch_syscall_args()
681 frame->tf_rax = bsd_to_linux_errno(error); in linux32_set_syscall_retval()
H A Dlinux32_machdep.c437 td->td_frame->tf_rax = 0; in linux_set_upcall_kse()