OSDN Git Service

accel/tcg: Honor atomicity of loads
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 29 Oct 2022 05:01:04 +0000 (16:01 +1100)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 16 May 2023 22:21:38 +0000 (15:21 -0700)
commitcdfac37be0d1876832d2bb813d29df3ab885329c
treed428e3203d7b1028fceb98fbf8371b3088068049
parent37031fefc777a715320f86fc35ee3dd82d9d945e
accel/tcg: Honor atomicity of loads

Create ldst_atomicity.c.inc.

Not required for user-only code loads, because we've ensured that
the page is read-only before beginning to translate code.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c
accel/tcg/ldst_atomicity.c.inc [new file with mode: 0644]
accel/tcg/user-exec.c