diff options
author | 2021-12-29 13:39:25 -0800 | |
---|---|---|
committer | 2021-12-30 21:40:47 -0800 | |
commit | 9f54dc1ce69045f1a5f9f2339b81274838901a3f (patch) | |
tree | 3209e22f146e9bd8a57032b9058b2983ddd16388 /util/bufferiszero.c | |
parent | tests/tcg: Unconditionally use 90 second timeout (diff) | |
download | qemu-9f54dc1ce69045f1a5f9f2339b81274838901a3f.tar.xz qemu-9f54dc1ce69045f1a5f9f2339b81274838901a3f.zip |
target/hppa: Fix atomic_store_3 for STBY
The parallel version of STBY did not take host endianness into
account, and also computed the incorrect address for STBY_E.
Bswap twice to handle the merge and store. Compute mask inside
the function rather than as a parameter. Force align the address,
rather than subtracting one.
Generalize the function to system mode by using probe_access().
Cc: qemu-stable@nongnu.org
Tested-by: Helge Deller <deller@gmx.de>
Reported-by: Helge Deller <deller@gmx.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'util/bufferiszero.c')
0 files changed, 0 insertions, 0 deletions