diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-10-24 07:50:17 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-10-24 07:51:36 +0100 |
commit | 636540e9c40bd0931ef3022cb953bb7dbecd74ed (patch) | |
tree | 50f210029ee4e9181aa681e603002a0a58e02440 /qemu-keymap.c | |
parent | 9d1bab337caf2324a233e5937f415fad4ce1641b (diff) | |
download | qemu-636540e9c40bd0931ef3022cb953bb7dbecd74ed.zip qemu-636540e9c40bd0931ef3022cb953bb7dbecd74ed.tar.gz qemu-636540e9c40bd0931ef3022cb953bb7dbecd74ed.tar.bz2 |
target/arm: ISR_EL1 bits track virtual interrupts if IMO/FMO set
The A/I/F bits in ISR_EL1 should track the virtual interrupt
status, not the physical interrupt status, if the associated
HCR_EL2.AMO/IMO/FMO bit is set. Implement this, rather than
always showing the physical interrupt status.
We don't currently implement anything to do with external
aborts, so this applies only to the I and F bits (though it
ought to be possible for the outer guest to present a virtual
external abort to the inner guest, even if QEMU doesn't
emulate physical external aborts, so there is missing
functionality in this area).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181012144235.19646-6-peter.maydell@linaro.org
Diffstat (limited to 'qemu-keymap.c')
0 files changed, 0 insertions, 0 deletions