sparc_wrpr
sparc_wrpr(pstate, pstate | PSTATE_PEF, 0);
sparc_wrpr(pstate, pstate, 0);
sparc_wrpr(pstate, newpstate, 0);
sparc_wrpr(cwp, newcwp, 0);
sparc_wrpr(pstate, s & ~PSTATE_IE, 0);
sparc_wrpr(pstate, s, 0);
sparc_wrpr(pil, newpil, 0);
sparc_wrpr(pil, newpil, 0);
sparc_wrpr(pstate, sparc_rdpr(pstate) & ~PSTATE_IE, 0);
sparc_wrpr(pstate, sparc_rdpr(pstate) | PSTATE_IE, 0);
sparc_wrpr(pstate, sparc_rdpr(pstate) & ~PSTATE_IE, 0);
sparc_wrpr(pstate, sparc_rdpr(pstate) | PSTATE_IE, 0);
sparc_wrpr(pil, ih->ih_pil, 0);
sparc_wrpr(pil, ipl, 0);