mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23: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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue