]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
target/ppc/excp_helper: Avoid 'abi_ptr' in system emulation
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 4 Dec 2023 14:29:19 +0000 (15:29 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 13:31:37 +0000 (15:31 +0200)
'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>
target/ppc/excp_helper.c

index 674c05a2ce7b8111c16035721b2e5b5441b29f69..0712098cf770b5ce4b0693a0c7bf7986aa688b2a 100644 (file)
@@ -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);