_REG_R2
u->uc_mcontext.__gregs[_REG_R2] =
gr[_REG_R2] = tf->tf_reg[2];
tf->tf_reg[2] = gr[_REG_R2];
gr[_REG_R2] = tf->tf_r2;
tf->tf_r2 = gr[_REG_R2];
#define _UC_MACHINE_FP(uc) ((uc)->uc_mcontext.__gregs[_REG_R2])
__greg_t save_r2 = tf->tf_fixreg[_REG_R2];
tf->tf_fixreg[_REG_R2] = save_r2;
lwp_setprivate(l, (void *)(uintptr_t)gr[_REG_R2]);
tf->tf_fixreg[_REG_R2] = (register_t)addr;
gr[_REG_R2] = tf->tf_r2;
tf->tf_r2 = gr[_REG_R2];
gr[_REG_R2] = tf->tf_r2;
tf->tf_r2 = gr[_REG_R2];
gr[_REG_R2] = luc->luc_mcontext.arm_r2;
luc->luc_mcontext.arm_r2 = gr[_REG_R2];