_REG_PS
uc.uc_mcontext.__gregs[_REG_PS] =
uc.uc_mcontext.__gregs[_REG_PS] = sc->sc_ps;
(ucp)->uc_mcontext.__gregs[_REG_PS] = 0x0008;
gr[_REG_PS] = frame->tf_regs[FRAME_PS];
if ((gr[_REG_PS] & ALPHA_PSL_USERSET) != ALPHA_PSL_USERSET ||
(gr[_REG_PS] & ALPHA_PSL_USERCLR) != 0)
frame->tf_regs[FRAME_PS] = gr[_REG_PS];
gr[_REG_PS] = frame->f_sr;
if ((gr[_REG_PS] & (PSL_MBZ|PSL_IPL|PSL_S)) != 0)
frame->f_sr = gr[_REG_PS];
uc->uc_mcontext.__gregs[_REG_PS] &= ~ALPHA_PSL_USERMODE;
uc->uc_mcontext.__gregs[_REG_PS] |= ALPHA_PSL_IPL_HIGH;
uc->uc_mcontext.__gregs[_REG_PS] |= (PSL_MBZ|PSL_IPL|PSL_S);