]> git.proxmox.com Git - mirror_qemu.git/commit
accel/tcg: Modify probe_access_internal() to use CPUState
authorAnton Johansson <anjo@rev.ng>
Tue, 12 Sep 2023 15:34:21 +0000 (17:34 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 4 Oct 2023 18:03:54 +0000 (11:03 -0700)
commit5afec1c63bcc6e23bec6fa8a1895f61d1f7f3cbe
treec18e108d3240762ed441d4a1853de1f737b7760c
parent10b32e2cd9ab203c1643fbb0522550e64be8376f
accel/tcg: Modify probe_access_internal() to use CPUState

probe_access_internal() is changed to instead take the generic CPUState
over CPUArchState, in order to lessen the target-specific coupling of
cputlb.c. Note: probe_access*() also don't need the full CPUArchState,
but aren't touched in this patch as they are target-facing.

Signed-off-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230912153428.17816-5-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>
accel/tcg/cputlb.c