diff options
| author | Luc Michel | 2018-08-14 18:17:20 +0200 |
|---|---|---|
| committer | Peter Maydell | 2018-08-14 18:17:20 +0200 |
| commit | a1d7b8d896f98139dff177508895e55caf483f95 (patch) | |
| tree | 2e5dcd11980ee66485b4df76f94297d0790063f4 /include/exec | |
| parent | intc/arm_gic: Add virtualization enabled IRQ helper functions (diff) | |
| download | qemu-a1d7b8d896f98139dff177508895e55caf483f95.tar.gz qemu-a1d7b8d896f98139dff177508895e55caf483f95.tar.xz qemu-a1d7b8d896f98139dff177508895e55caf483f95.zip | |
intc/arm_gic: Implement virtualization extensions in gic_(activate_irq|drop_prio)
Implement virtualization extensions in gic_activate_irq() and
gic_drop_prio() and in gic_get_prio_from_apr_bits() called by
gic_drop_prio().
When the current CPU is a vCPU:
- Use GIC_VIRT_MIN_BPR and GIC_VIRT_NR_APRS instead of their non-virt
counterparts,
- the vCPU APR is stored in the virtual interface, in h_apr.
Signed-off-by: Luc Michel <luc.michel@greensocs.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20180727095421.386-11-luc.michel@greensocs.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
