[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 30/48] exec-all: Widen tb_page_addr_t for user-only
From: |
Richard Henderson |
Subject: |
[PATCH v3 30/48] exec-all: Widen tb_page_addr_t for user-only |
Date: |
Tue, 30 May 2023 21:03:12 -0700 |
This is a step toward making TranslationBlock agnostic
to the address size of the guest.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/exec/exec-all.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index 4d2b151986..0d00541aca 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
--
2.34.1
- [PATCH v3 09/48] *: Add missing includes of tcg/debug-assert.h, (continued)
- [PATCH v3 09/48] *: Add missing includes of tcg/debug-assert.h, Richard Henderson, 2023/05/31
- [PATCH v3 18/48] tcg: Remove outdated comments in helper-head.h, Richard Henderson, 2023/05/31
- [PATCH v3 19/48] tcg: Move TCGHelperInfo and dependencies to tcg/helper-info.h, Richard Henderson, 2023/05/31
- [PATCH v3 20/48] tcg: Pass TCGHelperInfo to tcg_gen_callN, Richard Henderson, 2023/05/31
- [PATCH v3 23/48] tcg: Split helper-gen.h, Richard Henderson, 2023/05/31
- [PATCH v3 26/48] tcg: Add guest_mo to TCGContext, Richard Henderson, 2023/05/31
- [PATCH v3 32/48] tcg: Spit out exec/translation-block.h, Richard Henderson, 2023/05/31
- [PATCH v3 37/48] target/arm: Tidy helpers for translation, Richard Henderson, 2023/05/31
- [PATCH v3 30/48] exec-all: Widen tb_page_addr_t for user-only,
Richard Henderson <=
- [PATCH v3 35/48] accel/tcg: Introduce translator_io_start, Richard Henderson, 2023/05/31
- [PATCH v3 39/48] *: Add missing includes of exec/translation-block.h, Richard Henderson, 2023/05/31
- [PATCH v3 24/48] tcg: Split helper-proto.h, Richard Henderson, 2023/05/31
- [PATCH v3 25/48] tcg: Add insn_start_words to TCGContext, Richard Henderson, 2023/05/31
- [PATCH v3 11/48] tcg: Split out tcg-target-reg-bits.h, Richard Henderson, 2023/05/31
- [PATCH v3 29/48] tcg: Remove NO_CPU_IO_DEFS, Richard Henderson, 2023/05/31
- [PATCH v3 31/48] exec-all: Widen TranslationBlock pc and cs_base to 64-bits, Richard Henderson, 2023/05/31
- [PATCH v3 28/48] tcg: Split tcg/tcg-op-gvec.h, Richard Henderson, 2023/05/31