On 16/9/23 23:41, Richard Henderson wrote:
From: Anton Johansson <[email protected]>
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 <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
[rth: Use cpu->neg.tlb instead of cpu_tlb()]
Signed-off-by: Richard Henderson <[email protected]>
---
include/exec/cpu_ldst.h | 8 +-
accel/tcg/cputlb.c | 220 +++++++++++++++++++---------------------
2 files changed, 108 insertions(+), 120 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>