summaryrefslogtreecommitdiffstats
path: root/hw/misc/mmio_interface.c
diff options
context:
space:
mode:
authorAlistair Francis2017-08-15 16:57:12 +0200
committerPeter Maydell2017-08-15 17:11:22 +0200
commit955fd0ad5d610f62ba2f4ce46a872bf50434dcf8 (patch)
treeb5d0584c14452bec0c6a2be2d02f06a07f4b792f /hw/misc/mmio_interface.c
parentqxl: call qemu_spice_display_init_common for secondary devices (diff)
downloadqemu-955fd0ad5d610f62ba2f4ce46a872bf50434dcf8.tar.gz
qemu-955fd0ad5d610f62ba2f4ce46a872bf50434dcf8.tar.xz
qemu-955fd0ad5d610f62ba2f4ce46a872bf50434dcf8.zip
target/arm: Correct exclusive store cmpxchg memop mask
When we perform the atomic_cmpxchg operation we want to perform the operation on a pair of 32-bit registers. Previously we were just passing the register size in which was set to MO_32. This would result in the high register to be ignored. To fix this issue we hardcode the size to be 64-bits long when operating on 32-bit pairs. Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Tested-by: Portia Stephens <portia.stephens@xilinx.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20170815145714.17635-2-richard.henderson@linaro.org Message-Id: <bc18dddca56e8c2ea4a3def48d33ceb5d21d1fff.1502488636.git.alistair.francis@xilinx.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/mmio_interface.c')
0 files changed, 0 insertions, 0 deletions