From: Anton Johansson Date: Fri, 19 Jan 2024 14:40:00 +0000 (+0100) Subject: include/exec: typedef abi_ptr to vaddr X-Git-Tag: v9.0.0-rc0~87^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7ee94f05fe2385e591dc6c8aadd1253e7055490;p=thirdparty%2Fqemu.git include/exec: typedef abi_ptr to vaddr Signed-off-by: Anton Johansson Message-Id: <20240119144024.14289-11-anjo@rev.ng> Reviewed-by: Richard Henderson Signed-off-by: Richard Henderson --- diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h index 6061e33ac95..eb8f3f05953 100644 --- a/include/exec/cpu_ldst.h +++ b/include/exec/cpu_ldst.h @@ -121,8 +121,8 @@ static inline bool guest_range_valid_untagged(abi_ulong start, abi_ulong len) h2g_nocheck(x); \ }) #else -typedef target_ulong abi_ptr; -#define TARGET_ABI_FMT_ptr TARGET_FMT_lx +typedef vaddr abi_ptr; +#define TARGET_ABI_FMT_ptr VADDR_PRIx #endif uint32_t cpu_ldub_data(CPUArchState *env, abi_ptr ptr);