Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/powerpc/exec_machdep.c
Show First 20 Lines • Show All 304 Lines • ▼ Show 20 Lines | if (SIGISMEMBER(psp->ps_siginfo, sig)) { | ||||
/* Old FreeBSD-style arguments. */ | /* Old FreeBSD-style arguments. */ | ||||
tf->fixreg[FIRSTARG+1] = code; | tf->fixreg[FIRSTARG+1] = code; | ||||
tf->fixreg[FIRSTARG+3] = (tf->exc == EXC_DSI) ? | tf->fixreg[FIRSTARG+3] = (tf->exc == EXC_DSI) ? | ||||
tf->dar : tf->srr0; | tf->dar : tf->srr0; | ||||
} | } | ||||
mtx_unlock(&psp->ps_mtx); | mtx_unlock(&psp->ps_mtx); | ||||
PROC_UNLOCK(p); | PROC_UNLOCK(p); | ||||
tf->srr0 = (register_t)p->p_sysent->sv_sigcode_base; | tf->srr0 = (register_t)PROC_SIGCODE(p); | ||||
/* | /* | ||||
* copy the frame out to userland. | * copy the frame out to userland. | ||||
*/ | */ | ||||
if (copyout(sfp, usfp, sfpsize) != 0) { | if (copyout(sfp, usfp, sfpsize) != 0) { | ||||
/* | /* | ||||
* Process has trashed its stack. Kill it. | * Process has trashed its stack. Kill it. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 978 Lines • Show Last 20 Lines |