diff options
author | Cédric Le Goater <clg@kaod.org> | 2018-12-06 00:22:27 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-12-21 09:28:47 +1100 |
commit | fab397d84ab62b99f6e18ce3618f9f85c30f79c5 (patch) | |
tree | 36efdd2e2183cdaa8a227770613d9536df908dba /include | |
parent | 482969d680b7ae9c903198db2b7ff1984361e0a0 (diff) | |
download | qemu-fab397d84ab62b99f6e18ce3618f9f85c30f79c5.zip qemu-fab397d84ab62b99f6e18ce3618f9f85c30f79c5.tar.gz qemu-fab397d84ab62b99f6e18ce3618f9f85c30f79c5.tar.bz2 |
spapr: introduce a spapr_irq_init() routine
Initialize the MSI bitmap from it as this will be necessary for the
sPAPR IRQ backend for XIVE.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/ppc/spapr_irq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr_irq.h b/include/hw/ppc/spapr_irq.h index a467ce6..bd7301e 100644 --- a/include/hw/ppc/spapr_irq.h +++ b/include/hw/ppc/spapr_irq.h @@ -43,6 +43,7 @@ typedef struct sPAPRIrq { extern sPAPRIrq spapr_irq_xics; extern sPAPRIrq spapr_irq_xics_legacy; +void spapr_irq_init(sPAPRMachineState *spapr, Error **errp); int spapr_irq_claim(sPAPRMachineState *spapr, int irq, bool lsi, Error **errp); void spapr_irq_free(sPAPRMachineState *spapr, int irq, int num); qemu_irq spapr_qirq(sPAPRMachineState *spapr, int irq); |