diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-04-17 10:43:35 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-04-22 14:44:54 +0100 |
commit | 063bbd8061bc01b5aee6a9a15db92619bae5418c (patch) | |
tree | 12b0b7a1a6df9f69eeae32038d28b2c225c93969 /target/arm/cpu.c | |
parent | 2ab370873f62c304898397fdf7da593c43fe6e29 (diff) | |
download | qemu-063bbd8061bc01b5aee6a9a15db92619bae5418c.zip qemu-063bbd8061bc01b5aee6a9a15db92619bae5418c.tar.gz qemu-063bbd8061bc01b5aee6a9a15db92619bae5418c.tar.bz2 |
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>
Diffstat (limited to 'target/arm/cpu.c')
-rw-r--r-- | target/arm/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 7e9f7d1..e3f8215 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -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; |