Message ID | 20240119144024.14289-24-anjo@rev.ng (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Compile accel/tcg once (partially) | expand |
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~
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;
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(+)