summaryrefslogtreecommitdiffstats
path: root/include/qom
diff options
context:
space:
mode:
authorPeter Maydell2015-09-08 18:38:42 +0200
committerPeter Maydell2015-09-08 18:38:42 +0200
commit72889c8a809f4c65796b98d5af6a18c92510ed86 (patch)
tree65fac3a139f72a2a9c52a7998bf98e436e25059a /include/qom
parenthw/intc/arm_gic: Fix handling of GICC_APR<n>, GICC_NSAPR<n> registers (diff)
downloadqemu-72889c8a809f4c65796b98d5af6a18c92510ed86.tar.gz
qemu-72889c8a809f4c65796b98d5af6a18c92510ed86.tar.xz
qemu-72889c8a809f4c65796b98d5af6a18c92510ed86.zip
hw/intc/arm_gic: Drop running_irq and last_active arrays
The running_irq and last_active arrays represent state which doesn't exist in a real hardware GIC. The only thing we use them for is updating the running priority when an interrupt is completed, but in fact we can use the active-priority registers to do this. The running priority is always the priority corresponding to the lowest set bit in the active priority registers, because only one interrupt at any particular priority can be active at once. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1438089748-5528-5-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'include/qom')
0 files changed, 0 insertions, 0 deletions