[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 31/52] exec-all: Widen tb_page_addr_t for user-only
From: |
Richard Henderson |
Subject: |
[PULL 31/52] exec-all: Widen tb_page_addr_t for user-only |
Date: |
Mon, 5 Jun 2023 13:15:27 -0700 |
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>
---
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 3b1b57f6ad..ec0902c532 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
- [PULL 21/52] tcg: Move temp_idx and tcgv_i32_temp debug out of line, (continued)
- [PULL 21/52] tcg: Move temp_idx and tcgv_i32_temp debug out of line, Richard Henderson, 2023/06/05
- [PULL 25/52] target/sh4: Emit insn_start for each insn in gUSA region, Richard Henderson, 2023/06/05
- [PULL 26/52] tcg: Add insn_start_words to TCGContext, Richard Henderson, 2023/06/05
- [PULL 27/52] tcg: Add guest_mo to TCGContext, Richard Henderson, 2023/06/05
- [PULL 32/52] exec-all: Widen TranslationBlock pc and cs_base to 64-bits, Richard Henderson, 2023/06/05
- [PULL 24/52] tcg: Split helper-proto.h, Richard Henderson, 2023/06/05
- [PULL 28/52] tcg: Move TLB_FLAGS_MASK check out of get_alignment_bits, Richard Henderson, 2023/06/05
- [PULL 29/52] tcg: Split tcg/tcg-op-gvec.h, Richard Henderson, 2023/06/05
- [PULL 35/52] accel/tcg: Move most of gen-icount.h into translator.c, Richard Henderson, 2023/06/05
- [PULL 33/52] tcg: Spit out exec/translation-block.h, Richard Henderson, 2023/06/05
- [PULL 31/52] exec-all: Widen tb_page_addr_t for user-only,
Richard Henderson <=
- [PULL 30/52] tcg: Remove NO_CPU_IO_DEFS, Richard Henderson, 2023/06/05
- [PULL 23/52] tcg: Split helper-gen.h, Richard Henderson, 2023/06/05
- [PULL 15/52] tcg: Split tcg/tcg-op-common.h from tcg/tcg-op.h, Richard Henderson, 2023/06/05
- [PULL 34/52] include/exec: Remove CODE_GEN_AVG_BLOCK_SIZE, Richard Henderson, 2023/06/05
- [PULL 39/52] target/arm: Tidy helpers for translation, Richard Henderson, 2023/06/05
- [PULL 38/52] accel/tcg: Move translator_fake_ldb out of line, Richard Henderson, 2023/06/05
- [PULL 20/52] tcg: Pass TCGHelperInfo to tcg_gen_callN, Richard Henderson, 2023/06/05
- [PULL 22/52] tcg: Split tcg_gen_callN, Richard Henderson, 2023/06/05
- [PULL 36/52] accel/tcg: Introduce translator_io_start, Richard Henderson, 2023/06/05
- [PULL 37/52] target/ppc: Inline gen_icount_io_start(), Richard Henderson, 2023/06/05