diff options
author | Cédric Le Goater | 2018-12-06 00:22:27 +0100 |
---|---|---|
committer | David Gibson | 2018-12-20 23:28:47 +0100 |
commit | fab397d84ab62b99f6e18ce3618f9f85c30f79c5 (patch) | |
tree | 36efdd2e2183cdaa8a227770613d9536df908dba /include/hw/ppc/spapr_irq.h | |
parent | spapr: initialize VSMT before initializing the IRQ backend (diff) | |
download | qemu-fab397d84ab62b99f6e18ce3618f9f85c30f79c5.tar.gz qemu-fab397d84ab62b99f6e18ce3618f9f85c30f79c5.tar.xz qemu-fab397d84ab62b99f6e18ce3618f9f85c30f79c5.zip |
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/hw/ppc/spapr_irq.h')
-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 a467ce696e..bd7301e6d9 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); |