aboutsummaryrefslogtreecommitdiff
path: root/include/exec
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-04-01 14:35:46 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-06-05 12:04:29 -0700
commit087e2341fbf064b4de47b964670110f4d4642cd3 (patch)
tree3a1aefb18de669bd2e9204d301017fdced5c8c02 /include/exec
parent0a18945d037d9e7fd20a6c7fbc2226798a853323 (diff)
downloadqemu-087e2341fbf064b4de47b964670110f4d4642cd3.zip
qemu-087e2341fbf064b4de47b964670110f4d4642cd3.tar.gz
qemu-087e2341fbf064b4de47b964670110f4d4642cd3.tar.bz2
exec-all: Widen tb_page_addr_t for user-only
This is a step toward making TranslationBlock agnostic to the address size of the guest. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/exec-all.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index 3b1b57f..ec0902c 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -31,8 +31,8 @@
addresses in userspace mode. Define tb_page_addr_t to be an appropriate
type. */
#if defined(CONFIG_USER_ONLY)
-typedef abi_ulong tb_page_addr_t;
-#define TB_PAGE_ADDR_FMT TARGET_ABI_FMT_lx
+typedef vaddr tb_page_addr_t;
+#define TB_PAGE_ADDR_FMT "%" VADDR_PRIx
#else
typedef ram_addr_t tb_page_addr_t;
#define TB_PAGE_ADDR_FMT RAM_ADDR_FMT