target-arm: Correct condition for taking VIRQ and VFIQ
commit9fae24f55496ea178e9e8e351f82a02f34ddaf4d
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 30 Oct 2014 15:48:52 +0000 (30 15:48 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 4 Nov 2014 12:05:23 +0000 (4 12:05 +0000)
tree6d123e4545aee7a683b6c87e38e0cc67ce3cdb47
parentb5c633c5bd6993df1bf3401d94042fb8a910a92a
target-arm: Correct condition for taking VIRQ and VFIQ

The VIRQ and VFIQ exceptions are (as the comments say) only
taken if the CPU is in Non-secure state and the IMO/FMO bits
are set to enable virtualized interrupts. Correct the code
to actually implement this.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1414684132-23971-3-git-send-email-peter.maydell@linaro.org
target-arm/cpu.h