_REG_CPSR
(ucp)->uc_mcontext.__gregs[_REG_CPSR] = 0x10;
const uint32_t spsr = mcp->__gregs[_REG_CPSR];
gr[_REG_CPSR] = tf->tf_spsr;
tf->tf_spsr = gr[_REG_CPSR];
gr[_REG_CPSR] = tf->tf_spsr;
KASSERTMSG(VALID_PSR(gr[_REG_CPSR]), "%#x", gr[_REG_CPSR]);
if (!VALID_PSR(gr[_REG_CPSR]))
tf->tf_spsr = gr[_REG_CPSR];
gr[_REG_CPSR] = luc->luc_mcontext.arm_cpsr;
luc->luc_mcontext.arm_cpsr = gr[_REG_CPSR];
uc->uc_mcontext.__gregs[_REG_CPSR] |= 0x03 /*R15_MODE_SVC*/;