diff options
author | François Baldassari <francois@pebble.com> | 2015-11-19 12:09:52 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-11-19 12:09:52 +0000 |
commit | a859595791e6ac5c14afe0b8a53634bf1cc21f0f (patch) | |
tree | 30cfcf1079763b0422c399d9db0af363437d07b5 /hw/arm/imx25_pdk.c | |
parent | 8f280309030331a912fd8924c129d8bd59e1bdc7 (diff) |
hw/arm_gic: Correctly restore nested irq priority
Upon activating an interrupt, set the corresponding priority bit in the
APR/NSAPR registers without touching the currently set bits. In the event
of nested interrupts, the GIC will then have the information it needs to
restore the priority of the pre-empted interrupt once the higher priority
interrupt finishes execution.
Signed-off-by: François Baldassari <francois@pebble.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/imx25_pdk.c')
0 files changed, 0 insertions, 0 deletions