mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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>
This commit is contained in:
parent
a3bc906f8e
commit
5322155240
5 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue