mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
mac_newworld: remove pics IRQ array and wire up macio to OpenPIC directly
Introduce constants for the pre-defined New World IRQs to help keep things readable. 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
0662946aa6
commit
040b27c0b9
2 changed files with 24 additions and 14 deletions
|
@ -56,6 +56,15 @@
|
|||
#define OLDWORLD_IDE1_IRQ 0xe
|
||||
#define OLDWORLD_IDE1_DMA_IRQ 0x3
|
||||
|
||||
/* New World IRQs */
|
||||
#define NEWWORLD_CUDA_IRQ 0x19
|
||||
#define NEWWORLD_ESCCB_IRQ 0x24
|
||||
#define NEWWORLD_ESCCA_IRQ 0x25
|
||||
#define NEWWORLD_IDE0_IRQ 0xd
|
||||
#define NEWWORLD_IDE0_DMA_IRQ 0x2
|
||||
#define NEWWORLD_IDE1_IRQ 0xe
|
||||
#define NEWWORLD_IDE1_DMA_IRQ 0x3
|
||||
|
||||
/* MacIO */
|
||||
#define TYPE_MACIO_IDE "macio-ide"
|
||||
#define MACIO_IDE(obj) OBJECT_CHECK(MACIOIDEState, (obj), TYPE_MACIO_IDE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue