diff options
| author | Luc Michel <luc.michel@greensocs.com> | 2018-08-14 17:17:20 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2018-08-14 17:17:20 +0100 |
| commit | cbe1282b56808200c62b08b0094188afb5eff542 (patch) | |
| tree | 6225a390d8422c3adc760cc12d6ebeb154e76983 /hw/misc/mst_fpga.c | |
| parent | 527d296f5d236cd68de496d0cf1260fe3fe98ab5 (diff) | |
| download | focaccia-qemu-cbe1282b56808200c62b08b0094188afb5eff542.tar.gz focaccia-qemu-cbe1282b56808200c62b08b0094188afb5eff542.zip | |
intc/arm_gic: Implement gic_update_virt() function
Add the gic_update_virt() function to update the vCPU interface states and raise vIRQ and vFIQ as needed. This commit renames gic_update() to gic_update_internal() and generalizes it to handle both cases, with a `virt' parameter to track whether we are updating the CPU or vCPU interfaces. The main difference between CPU and vCPU is the way we select the best IRQ. This part has been split into the gic_get_best_(v)irq functions. For the virt case, the LRs are iterated to find the best candidate. Signed-off-by: Luc Michel <luc.michel@greensocs.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20180727095421.386-17-luc.michel@greensocs.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions