mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
ppc/xics: use the QOM interface under the sPAPR machine
Add 'ics_get' and 'ics_resend' handlers to the sPAPR machine. These are relatively simple for a single ICS. Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
51b180051e
commit
7844e12b28
3 changed files with 20 additions and 1 deletions
|
@ -223,5 +223,6 @@ void ics_simple_write_xive(ICSState *ics, int nr, int server,
|
|||
void ics_set_irq_type(ICSState *ics, int srcno, bool lsi);
|
||||
|
||||
ICSState *xics_find_source(XICSState *icp, int irq);
|
||||
void ics_resend(ICSState *ics);
|
||||
|
||||
#endif /* XICS_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue