summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc/spapr_xive.h
diff options
context:
space:
mode:
authorDavid Gibson2019-09-26 06:31:13 +0200
committerDavid Gibson2019-10-24 00:36:55 +0200
commit0b0e52b1317f2a51704cbf32047864869763dea3 (patch)
treef9f61d37e83f088f2b13efb52a6296d83a1a3409 /include/hw/ppc/spapr_xive.h
parentspapr, xics, xive: Move cpu_intc_create from SpaprIrq to SpaprInterruptContro... (diff)
downloadqemu-0b0e52b1317f2a51704cbf32047864869763dea3.tar.gz
qemu-0b0e52b1317f2a51704cbf32047864869763dea3.tar.xz
qemu-0b0e52b1317f2a51704cbf32047864869763dea3.zip
spapr, xics, xive: Move irq claim and free from SpaprIrq to SpaprInterruptController
These methods, like cpu_intc_create, really belong to the interrupt controller, but need to be called on all possible intcs. Like cpu_intc_create, therefore, make them methods on the intc and always call it for all existing intcs. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw/ppc/spapr_xive.h')
-rw-r--r--include/hw/ppc/spapr_xive.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/ppc/spapr_xive.h b/include/hw/ppc/spapr_xive.h
index 0df20a6590..8f875673f5 100644
--- a/include/hw/ppc/spapr_xive.h
+++ b/include/hw/ppc/spapr_xive.h
@@ -54,8 +54,6 @@ typedef struct SpaprXive {
*/
#define SPAPR_XIVE_BLOCK_ID 0x0
-int spapr_xive_irq_claim(SpaprXive *xive, int lisn, bool lsi, Error **errp);
-void spapr_xive_irq_free(SpaprXive *xive, int lisn);
void spapr_xive_pic_print_info(SpaprXive *xive, Monitor *mon);
int spapr_xive_post_load(SpaprXive *xive, int version_id);