aboutsummaryrefslogtreecommitdiff
path: root/include/exec/cpu_ldst.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-08-29 11:29:09 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-08-29 11:30:33 -0700
commit669fd6151337fdc81e34f7eb4940ba2f20d89957 (patch)
tree15e1d06992a22b55b8c8e9a9d305080d9c65fdc3 /include/exec/cpu_ldst.h
parentdad2f2f5afbaf58d6056f31dfd4b9edd0854b8ab (diff)
downloadqemu-669fd6151337fdc81e34f7eb4940ba2f20d89957.zip
qemu-669fd6151337fdc81e34f7eb4940ba2f20d89957.tar.gz
qemu-669fd6151337fdc81e34f7eb4940ba2f20d89957.tar.bz2
Revert "include/exec: typedef abi_ptr to vaddr in softmmu"
This reverts commit fc15bfb6a6bda8d4d01f1383579d385acae17c0f. This patch caused a regression for tricore-softmmu, ./tests/tcg/tricore-softmmu/test_boot_to_main.c.tst. Reported-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/cpu_ldst.h')
-rw-r--r--include/exec/cpu_ldst.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h
index f3ce4eb..da10ba1 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 vaddr abi_ptr;
-#define TARGET_ABI_FMT_ptr "%016" VADDR_PRIx
+typedef target_ulong abi_ptr;
+#define TARGET_ABI_FMT_ptr TARGET_FMT_lx
#endif
uint32_t cpu_ldub_data(CPUArchState *env, abi_ptr ptr);