Skip to content

Commit

Permalink
accel/tcg: Modify tlb_*() to use CPUState
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Johansson authored and rth7680 committed Oct 4, 2023
1 parent 7857ee1 commit 10b32e2
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 120 deletions.

0 comments on commit 10b32e2

Please sign in to comment.