qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 19/34] accel/tcg: [CPUTLB] Use TCGContext.addr_type inste


From: Richard Henderson
Subject: Re: [RFC PATCH 19/34] accel/tcg: [CPUTLB] Use TCGContext.addr_type instead of TARGET_LONG_BITS
Date: Wed, 24 Jan 2024 11:18:31 +1000
User-agent: Mozilla Thunderbird

On 1/20/24 00:40, Anton Johansson wrote:
@@ -815,12 +815,13 @@ void tlb_flush_range_by_mmuidx(CPUState *cpu, vaddr addr,
                                 unsigned bits)
  {
      TLBFlushRangeData d;
+    const unsigned long_bits = (tcg_ctx->addr_type == TCG_TYPE_I32) ? 32 : 64;

No, this value isn't initialized at the correct time.
We are out of scope here.


r~



reply via email to

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