Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/ia32/ia32_signal.c
Show First 20 Lines • Show All 930 Lines • ▼ Show 20 Lines | freebsd32_sigreturn(td, uap) | ||||
set_pcb_flags(td->td_pcb, PCB_FULL_IRET); | set_pcb_flags(td->td_pcb, PCB_FULL_IRET); | ||||
return (EJUSTRETURN); | return (EJUSTRETURN); | ||||
} | } | ||||
/* | /* | ||||
* Clear registers on exec | * Clear registers on exec | ||||
*/ | */ | ||||
void | void | ||||
ia32_setregs(struct thread *td, struct image_params *imgp, u_long stack) | ia32_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 All 29 Lines |