qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 16/39] accel/tcg: Modify tlb_*() to use CPUState


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 16/39] accel/tcg: Modify tlb_*() to use CPUState
Date: Tue, 19 Sep 2023 11:39:45 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On 16/9/23 23:41, Richard Henderson wrote:
From: Anton Johansson <anjo@rev.ng>

Changes tlb_*() functions to take CPUState instead of CPUArchState, as
they don't require the full CPUArchState. This makes it easier to
decouple target-(in)dependent code.

Signed-off-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230912153428.17816-4-anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[rth: Use cpu->neg.tlb instead of cpu_tlb()]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  include/exec/cpu_ldst.h |   8 +-
  accel/tcg/cputlb.c      | 220 +++++++++++++++++++---------------------
  2 files changed, 108 insertions(+), 120 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

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