accel/tcg: Modify memory access functions to use CPUState
authorAnton Johansson <anjo@rev.ng>
Tue, 12 Sep 2023 15:34:22 +0000 (17:34 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 4 Oct 2023 18:03:54 +0000 (11:03 -0700)
commitd50ef4467c4c0a35b6b57c532da5814a8327275c
treef14578aa03997291280713fbcf547c4280ab956a
parent5afec1c63bcc6e23bec6fa8a1895f61d1f7f3cbe
accel/tcg: Modify memory access functions to use CPUState

do_[ld|st]*() and mmu_lookup*() are changed to use CPUState over
CPUArchState, moving the target-dependence to the target-facing facing
cpu_[ld|st] functions.

Signed-off-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230912153428.17816-6-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; cpu_env instead of env_ptr.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c