summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Kurz2019-02-19 18:18:13 +0100
committerDavid Gibson2019-02-25 23:21:25 +0100
commitad62bff6383178fe95caff3ec63a6ca4ee398dec (patch)
treecf3bda18f1542f0b1d4b23b86b5c20f7237cd6d1 /include
parentspapr: Expose the name of the interrupt controller node (diff)
downloadqemu-ad62bff6383178fe95caff3ec63a6ca4ee398dec.tar.gz
qemu-ad62bff6383178fe95caff3ec63a6ca4ee398dec.tar.xz
qemu-ad62bff6383178fe95caff3ec63a6ca4ee398dec.zip
spapr_irq: Expose the phandle of the interrupt controller
This will be used by PHB hotplug in order to create the "interrupt-map" property of the PHB node. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <155059669374.1466090.12943228478046223856.stgit@bahia.lab.toulouse-stg.fr.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ppc/spapr_irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr_irq.h b/include/hw/ppc/spapr_irq.h
index 8bf1a72919..ec1ee64fa6 100644
--- a/include/hw/ppc/spapr_irq.h
+++ b/include/hw/ppc/spapr_irq.h
@@ -61,6 +61,7 @@ void spapr_irq_free(sPAPRMachineState *spapr, int irq, int num);
qemu_irq spapr_qirq(sPAPRMachineState *spapr, int irq);
int spapr_irq_post_load(sPAPRMachineState *spapr, int version_id);
void spapr_irq_reset(sPAPRMachineState *spapr, Error **errp);
+int spapr_irq_get_phandle(sPAPRMachineState *spapr, void *fdt, Error **errp);
/*
* XICS legacy routines