qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 23/34] tcg: [CPUTLB] Add `mo_te` field to TCGContext


From: Richard Henderson
Subject: Re: [RFC PATCH 23/34] tcg: [CPUTLB] Add `mo_te` field to TCGContext
Date: Wed, 24 Jan 2024 11:50:58 +1000
User-agent: Mozilla Thunderbird

On 1/20/24 00:40, Anton Johansson wrote:
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;
Not the correct scope for this.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]