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>
This commit is contained in:
parent
e92dd33224
commit
eedd109525
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user