Searched refs:tf_rax (Results 1 – 16 of 16) sorted by relevance
| /f-stack/freebsd/amd64/cloudabi64/ |
| H A D | cloudabi64_sysvec.c | 100 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 D | cloudabi32_sysvec.c | 103 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 D | gdb_machdep.c | 63 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 D | vm_machdep.c | 195 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 D | db_trace.c | 69 { "rax", DB_OFFSET(tf_rax), db_frame }, 250 decode_syscall(tf->tf_rax, td); in db_nextframe()
|
| H A D | trap.c | 961 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 D | genassym.c | 178 ASSYM(TF_RAX, offsetof(struct trapframe, tf_rax));
|
| H A D | machdep.c | 2120 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 D | linux_sysvec.c | 194 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 D | linux_machdep.c | 131 td->td_frame->tf_rax = 0; in linux_set_upcall_kse()
|
| /f-stack/freebsd/amd64/ia32/ |
| H A D | ia32_signal.c | 173 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 D | ia32_reg.c | 101 regs->r_eax = tp->tf_rax; in fill_regs32() 132 tp->tf_rax = regs->r_eax; in set_regs32()
|
| H A D | ia32_syscall.c | 152 sa->code = frame->tf_rax; in ia32_fetch_syscall_args()
|
| /f-stack/freebsd/x86/include/ |
| H A D | frame.h | 129 register_t tf_rax; member
|
| /f-stack/freebsd/amd64/linux32/ |
| H A D | linux32_sysvec.c | 324 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 D | linux32_machdep.c | 437 td->td_frame->tf_rax = 0; in linux_set_upcall_kse()
|