]> git.proxmox.com Git - mirror_qemu.git/commit
user-exec.c: Set is_write correctly in the ARM cpu_signal_handler()
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 4 Jun 2013 13:31:45 +0000 (14:31 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 5 Jul 2013 12:45:40 +0000 (15:45 +0300)
commit023b0ae33be6ce2e60d75d2b54a3d2cea6b6020e
tree977a91f70bf7a84598400803c75fe9fc0c078ce5
parent1acae9f22380a03b468a29a3cc035b280610b5e4
user-exec.c: Set is_write correctly in the ARM cpu_signal_handler()

In the ARM implementation of cpu_signal_handler(), set is_write
correctly using the FSR value which the kernel passes us in the
error_code field of uc_mcontext. Since the WnR bit of the FSR was
only introduced in ARMv6, this means that v5 cores will continue
to behave as before this patch, but they are not really supported
as hosts for linux-user mode anyway since they do not have the
modern behaviour for unaligned accesses.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1370352705-27590-1-git-send-email-peter.maydell@linaro.org
user-exec.c