mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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>
This commit is contained in:
parent
ebd6be089b
commit
0b0e52b131
5 changed files with 102 additions and 115 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue