From: Philippe Mathieu-Daudé Date: Mon, 4 Dec 2023 14:29:19 +0000 (+0100) Subject: target/ppc/excp_helper: Avoid 'abi_ptr' in system emulation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=eedd109525e12f435cf36a4a43e73bc38005caf3;p=qemu.git 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é Acked-by: Nicholas Piggin Reviewed-by: Thomas Huth Message-Id: <20231211212003.21686-18-philmd@linaro.org> Reviewed-by: Richard Henderson --- diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c index 674c05a2ce..0712098cf7 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);