]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/exec/cpu_ldst.h
include/exec: typedef abi_ptr to vaddr
[mirror_qemu.git] / include / exec / cpu_ldst.h
index 6061e33ac95cfa6964a2c7f844afe849c3e43766..eb8f3f059537804b236d877d20250559df3dddeb 100644 (file)
@@ -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);