Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/amd64/machdep.c
Show First 20 Lines • Show All 570 Lines • ▼ Show 20 Lines | freebsd4_sigreturn(struct thread *td, struct freebsd4_sigreturn_args *uap) | ||||
return sys_sigreturn(td, (struct sigreturn_args *)uap); | return sys_sigreturn(td, (struct sigreturn_args *)uap); | ||||
} | } | ||||
#endif | #endif | ||||
/* | /* | ||||
* Reset registers to default values on exec. | * Reset registers to default values on exec. | ||||
*/ | */ | ||||
void | void | ||||
exec_setregs(struct thread *td, struct image_params *imgp, u_long stack) | exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack) | ||||
{ | { | ||||
struct trapframe *regs; | struct trapframe *regs; | ||||
struct pcb *pcb; | struct pcb *pcb; | ||||
register_t saved_rflags; | register_t saved_rflags; | ||||
regs = td->td_frame; | regs = td->td_frame; | ||||
pcb = td->td_pcb; | pcb = td->td_pcb; | ||||
▲ Show 20 Lines • Show All 2,166 Lines • Show Last 20 Lines |