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/cpu.h | |
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/cpu.h')
-rw-r--r-- | target/arm/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h index bee1cf4..31e4670 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -259,7 +259,7 @@ typedef struct CPUArchState { * all other bits are stored in their correct places in env->pstate */ uint32_t pstate; - uint32_t aarch64; /* 1 if CPU is in aarch64 state; inverse of PSTATE.nRW */ + bool aarch64; /* True if CPU is in aarch64 state; inverse of PSTATE.nRW */ /* Cached TBFLAGS state. See below for which bits are included. */ CPUARMTBFlags hflags; |