summaryrefslogtreecommitdiffstats
path: root/hw/intc/xive.c
diff options
context:
space:
mode:
authorCédric Le Goater2019-01-02 06:57:38 +0100
committerDavid Gibson2019-01-08 23:28:14 +0100
commit734d9c890588cf9d1c8f8e4538f98dec59df52e4 (patch)
tree71503be58448beb54359ff81babfe72c318d93c0 /hw/intc/xive.c
parentspapr: return from post_load method when RTC import fails (diff)
downloadqemu-734d9c890588cf9d1c8f8e4538f98dec59df52e4.tar.gz
qemu-734d9c890588cf9d1c8f8e4538f98dec59df52e4.tar.xz
qemu-734d9c890588cf9d1c8f8e4538f98dec59df52e4.zip
ppc: export the XICS and XIVE set_irq handlers
To support the 'dual' interrupt mode, XICS and XIVE, we plan to move the qemu_irq array of each interrupt controller under the machine and do the allocation under the sPAPR IRQ init method. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc/xive.c')
-rw-r--r--hw/intc/xive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/xive.c b/hw/intc/xive.c
index 410c53278a..c759960895 100644
--- a/hw/intc/xive.c
+++ b/hw/intc/xive.c
@@ -845,7 +845,7 @@ static const MemoryRegionOps xive_source_esb_ops = {
},
};
-static void xive_source_set_irq(void *opaque, int srcno, int val)
+void xive_source_set_irq(void *opaque, int srcno, int val)
{
XiveSource *xsrc = XIVE_SOURCE(opaque);
bool notify = false;