diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-12-04 15:29:19 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-26 15:31:37 +0200 |
commit | eedd109525e12f435cf36a4a43e73bc38005caf3 (patch) | |
tree | 509458abe888d870fce429d286f29688ab95fc68 /target/ppc | |
parent | e92dd33224603ee5a42e0b13b6e055691325ba47 (diff) | |
download | qemu-eedd109525e12f435cf36a4a43e73bc38005caf3.zip qemu-eedd109525e12f435cf36a4a43e73bc38005caf3.tar.gz qemu-eedd109525e12f435cf36a4a43e73bc38005caf3.tar.bz2 |
target/ppc/excp_helper: Avoid 'abi_ptr' in system emulation
'abi_ptr' is a user specific type. The system emulation
equivalent is 'target_ulong'. Use it in ppc_ldl_code()
to emphasis this is not an user emulation function.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20231211212003.21686-18-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/ppc')
-rw-r--r-- | target/ppc/excp_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c index 674c05a..0712098 100644 --- a/target/ppc/excp_helper.c +++ b/target/ppc/excp_helper.c @@ -142,7 +142,7 @@ static inline bool insn_need_byteswap(CPUArchState *env) return !!(env->msr & ((target_ulong)1 << MSR_LE)); } -static uint32_t ppc_ldl_code(CPUArchState *env, abi_ptr addr) +static uint32_t ppc_ldl_code(CPUArchState *env, target_ulong addr) { uint32_t insn = cpu_ldl_code(env, addr); |