mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
ppc/xics: export the XICS init routines
There is nothing left related to the XICS object in the realize functions of the KVMXICSState and XICSState class. So adapt the interfaces to call these routines directly from the sPAPR machine init sequence. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
852ad27e14
commit
2192a9303d
4 changed files with 13 additions and 20 deletions
|
@ -224,4 +224,9 @@ void ics_set_irq_type(ICSState *ics, int srcno, bool lsi);
|
|||
void ics_resend(ICSState *ics);
|
||||
void icp_resend(ICPState *ss);
|
||||
|
||||
typedef struct sPAPRMachineState sPAPRMachineState;
|
||||
|
||||
int xics_kvm_init(sPAPRMachineState *spapr, Error **errp);
|
||||
int xics_spapr_init(sPAPRMachineState *spapr, Error **errp);
|
||||
|
||||
#endif /* XICS_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue