Skip to content
  • Peter Maydell's avatar
    user-exec.c: Set is_write correctly in the ARM cpu_signal_handler() · 023b0ae3
    Peter Maydell authored
    
    
    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: default avatarPeter Maydell <peter.maydell@linaro.org>
    Message-id: 1370352705-27590-1-git-send-email-peter.maydell@linaro.org
    023b0ae3