]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/exec/exec-all.h
exec-all: Widen tb_page_addr_t for user-only
[mirror_qemu.git] / include / exec / exec-all.h
index 3b1b57f6ad3d0465aa29090223d0d1db08850141..ec0902c5325a00c16e10469c1b1c68bc5216b0e2 100644 (file)
@@ -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