OSDN Git Service

accel/tcg: Reorg system mode load helpers
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 28 Oct 2022 21:40:51 +0000 (08:40 +1100)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 11 May 2023 08:53:41 +0000 (09:53 +0100)
commit8cfdacaa1642ed18e48935f7536f8d233db8efcc
tree8977a94ae3295cda0f14ff695b5b69dc07348772
parent0b3c75ad1a21574cc55b0c095a7dc21e2d27ffc8
accel/tcg: Reorg system mode load helpers

Instead of trying to unify all operations on uint64_t, pull out
mmu_lookup() to perform the basic tlb hit and resolution.
Create individual functions to handle access by size.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c