mirror of
https://github.com/mii443/qemu.git
synced 2025-08-23 07:35:47 +00: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:
committed by
Peter Maydell
parent
2ab370873f
commit
063bbd8061
@ -230,7 +230,7 @@ do_kernel_trap(CPUARMState *env)
|
||||
/* Jump back to the caller. */
|
||||
addr = env->regs[14];
|
||||
if (addr & 1) {
|
||||
env->thumb = 1;
|
||||
env->thumb = true;
|
||||
addr &= ~1;
|
||||
}
|
||||
env->regs[15] = addr;
|
||||
|
Reference in New Issue
Block a user