mirror of
https://github.com/mii443/qemu.git
synced 2025-12-09 22:18:23 +00:00
target/arm: Convert CPUARMState::eabi to boolean
Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230206223502.25122-6-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
0f150c8499
commit
de4143fc77
@@ -135,7 +135,7 @@ void print_termios(void *arg);
|
||||
#ifdef TARGET_ARM
|
||||
static inline int regpairs_aligned(CPUArchState *cpu_env, int num)
|
||||
{
|
||||
return cpu_env->eabi == 1;
|
||||
return cpu_env->eabi;
|
||||
}
|
||||
#elif defined(TARGET_MIPS) && defined(TARGET_ABI_MIPSO32)
|
||||
static inline int regpairs_aligned(CPUArchState *cpu_env, int num) { return 1; }
|
||||
|
||||
Reference in New Issue
Block a user