mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
mac_newworld: move wiring of macio IRQs to macio_newworld_realize()
Since the macio device has a link to the PIC device, we can now wire up the IRQs directly via qdev GPIOs rather than having to use an intermediate array. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
040b27c0b9
commit
0fcd2a814a
3 changed files with 22 additions and 30 deletions
|
@ -71,7 +71,6 @@ typedef struct NewWorldMacIOState {
|
|||
/*< public >*/
|
||||
|
||||
OpenPICState *pic;
|
||||
qemu_irq irqs[7];
|
||||
MACIOIDEState ide[2];
|
||||
} NewWorldMacIOState;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue