summary refs log tree commit diff stats
path: root/include/exec/cpu-common.h
diff options
context:
space:
mode:
authorAnton Johansson <anjo@rev.ng>2023-09-12 17:34:20 +0200
committerRichard Henderson <richard.henderson@linaro.org>2023-10-04 11:03:54 -0700
commit10b32e2cd9ab203c1643fbb0522550e64be8376f (patch)
treec29f3429f0b1a3681011c9d5a047e95f824b9636 /include/exec/cpu-common.h
parent7857ee114c6518165653d3ba87f24a1815c26f6f (diff)
downloadfocaccia-qemu-10b32e2cd9ab203c1643fbb0522550e64be8376f.tar.gz
focaccia-qemu-10b32e2cd9ab203c1643fbb0522550e64be8376f.zip
accel/tcg: Modify tlb_*() to use CPUState
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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[rth: Use cpu->neg.tlb instead of cpu_tlb()]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/cpu-common.h')
0 files changed, 0 insertions, 0 deletions