mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-21 17:11:57 -06: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:
parent
0f150c8499
commit
de4143fc77
3 changed files with 4 additions and 4 deletions
|
@ -356,7 +356,7 @@ void cpu_loop(CPUARMState *env)
|
|||
break;
|
||||
case EXCP_SWI:
|
||||
{
|
||||
env->eabi = 1;
|
||||
env->eabi = true;
|
||||
/* system call */
|
||||
if (env->thumb) {
|
||||
/* Thumb is always EABI style with syscall number in r7 */
|
||||
|
@ -382,7 +382,7 @@ void cpu_loop(CPUARMState *env)
|
|||
* > 0xfffff and are handled below as out-of-range.
|
||||
*/
|
||||
n ^= ARM_SYSCALL_BASE;
|
||||
env->eabi = 0;
|
||||
env->eabi = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue