Skip to content

Commit

Permalink
accel/tcg: Modify memory access functions to use CPUState
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Johansson authored and rth7680 committed Oct 4, 2023
1 parent 5afec1c commit d50ef44
Showing 1 changed file with 171 additions and 177 deletions.

0 comments on commit d50ef44

Please sign in to comment.