[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 23/34] tcg: [CPUTLB] Add `mo_te` field to TCGContext
|
From: |
Anton Johansson |
|
Subject: |
[RFC PATCH 23/34] tcg: [CPUTLB] Add `mo_te` field to TCGContext |
|
Date: |
Fri, 19 Jan 2024 15:40:13 +0100 |
Required by cpu_ldub_code() and friends in cputlb.c to access the MO_TE
MemOp in a target-independent way.
Signed-off-by: Anton Johansson <anjo@rev.ng>
---
include/tcg/tcg.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h
index 7743868dc9..4ca626aeae 100644
--- a/include/tcg/tcg.h
+++ b/include/tcg/tcg.h
@@ -489,6 +489,7 @@ struct TCGContext {
TCGType addr_type; /* TCG_TYPE_I32 or TCG_TYPE_I64 */
#ifdef CONFIG_SOFTMMU
+ MemOp mo_te;
int page_mask;
uint8_t page_bits;
uint8_t tlb_dyn_max_bits;
--
2.43.0
- Re: [RFC PATCH 15/34] exec: [CPUTLB] Move TLB_*/tlb_*() to common header, (continued)
- [RFC PATCH 11/34] [IGNORE] Squash of header code shuffling, Anton Johansson, 2024/01/19
- [RFC PATCH 14/34] exec: [CPUTLB] Move PAGE_* macros to common header, Anton Johansson, 2024/01/19
- [RFC PATCH 16/34] exec: [CPUTLB] Move cpu_*()/cpu_env() to common header, Anton Johansson, 2024/01/19
- [RFC PATCH 20/34] accel/tcg: [CPUTLB] Use TCGContext.guest_mo for memory ordering, Anton Johansson, 2024/01/19
- [RFC PATCH 19/34] accel/tcg: [CPUTLB] Use TCGContext.addr_type instead of TARGET_LONG_BITS, Anton Johansson, 2024/01/19
- [RFC PATCH 23/34] tcg: [CPUTLB] Add `mo_te` field to TCGContext,
Anton Johansson <=
- [RFC PATCH 21/34] accel/tcg: [CPUTLB] Use tcg_ctx->tlb_dyn_max_bits, Anton Johansson, 2024/01/19
- [RFC PATCH 22/34] accel/tcg: [CPUTLB] Move CPU_TLB_DYN_[DEFAULT|MIN]* to cputlb.c, Anton Johansson, 2024/01/19
- [RFC PATCH 25/34] accel/tcg: [CPUTLB] Use tcg_ctx->mo_te instead of MO_TE, Anton Johansson, 2024/01/19
- [RFC PATCH 28/34] accel/tcg: Make plugin-gen.c target independent, Anton Johansson, 2024/01/19
- [RFC PATCH 27/34] accel/tcg: Make translate-all.c target independent, Anton Johansson, 2024/01/19