]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Use set/clear_helper_retaddr in mem_helper.c
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 10 Jul 2024 01:40:58 +0000 (18:40 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 23 Jul 2024 00:57:31 +0000 (10:57 +1000)
commit2730df919093d014e96e68f1f982054da3f79e5b
treeeeccef0e94d99d4865cf3e7eadebf7422c04fdfa
parent573b7783012a26ff1a88c010353ee6e85965dcdc
target/s390x: Use set/clear_helper_retaddr in mem_helper.c

Avoid a race condition with munmap in another thread.
For access_memset and access_memmove, manage the value
within the helper.  For uses of access_{get,set}_byte,
manage the value across the for loops.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/s390x/tcg/mem_helper.c