Lines Matching refs:scp
339 __sigcleanup(struct sigcontext *scp) in __sigcleanup() argument
349 if (scp->sc_wbcnt == sizeof (*ucp)) { in __sigcleanup()
350 sig = (int)(uintptr_t)scp->sc_spbuf[0]; in __sigcleanup()
351 ucp = (ucontext_t *)scp->sc_spbuf[1]; in __sigcleanup()
362 if (scp->sc_onstack) { in __sigcleanup()
366 mask2set(scp->sc_mask, &ucp->uc_sigmask); in __sigcleanup()
368 ucp->uc_mcontext.gregs[REG_SP] = scp->sc_sp; in __sigcleanup()
369 ucp->uc_mcontext.gregs[REG_PC] = scp->sc_pc; in __sigcleanup()
370 ucp->uc_mcontext.gregs[REG_nPC] = scp->sc_npc; in __sigcleanup()
372 ucp->uc_mcontext.gregs[REG_CCR] = scp->sc_psr; in __sigcleanup()
374 ucp->uc_mcontext.gregs[REG_PSR] = scp->sc_psr; in __sigcleanup()
376 ucp->uc_mcontext.gregs[REG_G1] = scp->sc_g1; in __sigcleanup()
377 ucp->uc_mcontext.gregs[REG_O0] = scp->sc_o0; in __sigcleanup()