Lines Matching refs:v7m
705 /* Switch to V7M main or process stack pointer. */
709 if (env->v7m.current_sp != process) {
710 tmp = env->v7m.other_sp;
711 env->v7m.other_sp = env->regs[13];
713 env->v7m.current_sp = process;
723 if (env->v7m.exception != 0)
724 armv7m_nvic_complete_irq(env->nvic, env->v7m.exception);
755 if (env->v7m.current_sp)
757 if (env->v7m.exception == 0)
789 env->v7m.exception = armv7m_nvic_acknowledge_irq(env->nvic);
818 addr = ldl_phys(env->v7m.vecbase + env->v7m.exception * 4);
2235 return env->v7m.current_sp ? env->v7m.other_sp : env->regs[13];
2237 return env->v7m.current_sp ? env->regs[13] : env->v7m.other_sp;
2244 return env->v7m.basepri;
2246 return env->v7m.control;
2279 if (env->v7m.current_sp)
2280 env->v7m.other_sp = val;
2285 if (env->v7m.current_sp)
2288 env->v7m.other_sp = val;
2303 env->v7m.basepri = val & 0xff;
2307 if (val != 0 && (val < env->v7m.basepri || env->v7m.basepri == 0))
2308 env->v7m.basepri = val;
2311 env->v7m.control = val & 3;