summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2014-05-30 19:34:18 +1000
committerAlexander Graf <agraf@suse.de>2014-06-27 13:48:26 +0200
commit51bba713fe1120ba7b0542216278f10e48349589 (patch)
tree237f4370c8ef7fe34b4243ad109754e0ad493771 /include/hw/ppc
parentba0e5bf8de38a33ea2e09b40e0493d30b62fcbf0 (diff)
downloadhqemu-51bba713fe1120ba7b0542216278f10e48349589.zip
hqemu-51bba713fe1120ba7b0542216278f10e48349589.tar.gz
xics: Implement xics_ics_free()
This implements interrupt release function so IRQs can be returned back to the pool for reuse in cases such as PCI hot plug. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r--include/hw/ppc/xics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h
index 30b1441..a214dd7 100644
--- a/include/hw/ppc/xics.h
+++ b/include/hw/ppc/xics.h
@@ -162,6 +162,7 @@ qemu_irq xics_get_qirq(XICSState *icp, int irq);
void xics_set_irq_type(XICSState *icp, int irq, bool lsi);
int xics_alloc(XICSState *icp, int src, int irq_hint, bool lsi);
int xics_alloc_block(XICSState *icp, int src, int num, bool lsi, bool align);
+void xics_free(XICSState *icp, int irq, int num);
void xics_cpu_setup(XICSState *icp, PowerPCCPU *cpu);
OpenPOWER on IntegriCloud