diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-04-17 10:43:32 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-04-22 14:44:54 +0100 |
commit | 532215524068611e3714e8704e2ab36d7da9ebba (patch) | |
tree | 260f3cb33cc0f1eb8fa83f385eeed9b3d937a117 /target/arm/hvf | |
parent | a3bc906f8ecb0cebf1803ffddf3dbccff3b1e01b (diff) | |
download | qemu-532215524068611e3714e8704e2ab36d7da9ebba.zip qemu-532215524068611e3714e8704e2ab36d7da9ebba.tar.gz qemu-532215524068611e3714e8704e2ab36d7da9ebba.tar.bz2 |
target/arm: Change CPUArchState.aarch64 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: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/hvf')
-rw-r--r-- | target/arm/hvf/hvf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/hvf/hvf.c b/target/arm/hvf/hvf.c index 567e296..b11a8b9 100644 --- a/target/arm/hvf/hvf.c +++ b/target/arm/hvf/hvf.c @@ -564,7 +564,7 @@ int hvf_arch_init_vcpu(CPUState *cpu) hv_return_t ret; int i; - env->aarch64 = 1; + env->aarch64 = true; asm volatile("mrs %0, cntfrq_el0" : "=r"(arm_cpu->gt_cntfrq_hz)); /* Allocate enough space for our sysreg sync */ |