diff options
author | Anton Johansson <anjo@rev.ng> | 2023-09-12 17:34:20 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-04 11:03:54 -0700 |
commit | 10b32e2cd9ab203c1643fbb0522550e64be8376f (patch) | |
tree | c29f3429f0b1a3681011c9d5a047e95f824b9636 /tests | |
parent | 7857ee114c6518165653d3ba87f24a1815c26f6f (diff) | |
download | qemu-10b32e2cd9ab203c1643fbb0522550e64be8376f.zip qemu-10b32e2cd9ab203c1643fbb0522550e64be8376f.tar.gz qemu-10b32e2cd9ab203c1643fbb0522550e64be8376f.tar.bz2 |
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 'tests')
0 files changed, 0 insertions, 0 deletions