mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-05 22:17:40 -07: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
|
|
@ -51,7 +51,7 @@ static void arm_cpu_set_pc(CPUState *cs, vaddr value)
|
|||
|
||||
if (is_a64(env)) {
|
||||
env->pc = value;
|
||||
env->thumb = 0;
|
||||
env->thumb = false;
|
||||
} else {
|
||||
env->regs[15] = value & ~1;
|
||||
env->thumb = value & 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue