]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel/tcg: Adjust parameters and locking with do_{ld,st}_mmio_*
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 1 Aug 2023 14:55:38 +0000 (07:55 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 5 Aug 2023 18:17:17 +0000 (18:17 +0000)
commit1966855e567686e6547b058d8664aefd0e969a0f
tree4955723c808816b42eab6f9eaccba2fa15b14db0
parent6db03ccc7f4ca33c99debaac290066f4500a2dfb
accel/tcg: Adjust parameters and locking with do_{ld,st}_mmio_*

Replace MMULookupPageData* with CPUTLBEntryFull, addr, size.
Move QEMU_IOTHREAD_LOCK_GUARD to the caller.

This simplifies the usage from do_ld16_beN and do_st16_leN, where
we weren't locking the entire operation, and required hoop jumping
for passing addr and size.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c