mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 22:11:53 -06:00
target/arm: Change CPUArchState.thumb to bool
Bool is a more appropriate type for this value. Adjust the assignments to use true/false. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
2ab370873f
commit
063bbd8061
4 changed files with 6 additions and 6 deletions
|
@ -564,7 +564,7 @@ void HELPER(v7m_bxns)(CPUARMState *env, uint32_t dest)
|
|||
env->v7m.control[M_REG_S] &= ~R_V7M_CONTROL_SFPA_MASK;
|
||||
}
|
||||
switch_v7m_security_state(env, dest & 1);
|
||||
env->thumb = 1;
|
||||
env->thumb = true;
|
||||
env->regs[15] = dest & ~1;
|
||||
arm_rebuild_hflags(env);
|
||||
}
|
||||
|
@ -590,7 +590,7 @@ void HELPER(v7m_blxns)(CPUARMState *env, uint32_t dest)
|
|||
* except that the low bit doesn't indicate Thumb/not.
|
||||
*/
|
||||
env->regs[14] = nextinst;
|
||||
env->thumb = 1;
|
||||
env->thumb = true;
|
||||
env->regs[15] = dest & ~1;
|
||||
return;
|
||||
}
|
||||
|
@ -626,7 +626,7 @@ void HELPER(v7m_blxns)(CPUARMState *env, uint32_t dest)
|
|||
}
|
||||
env->v7m.control[M_REG_S] &= ~R_V7M_CONTROL_SFPA_MASK;
|
||||
switch_v7m_security_state(env, 0);
|
||||
env->thumb = 1;
|
||||
env->thumb = true;
|
||||
env->regs[15] = dest;
|
||||
arm_rebuild_hflags(env);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue