mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
mac_newworld: add gpios to macio devices with PMU enabled
PMU-enabled New World Macs expose their GPIOs via a separate memory region within the macio device. 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
f1114c17ee
commit
7c4166a971
8 changed files with 292 additions and 0 deletions
|
@ -65,6 +65,8 @@
|
|||
#define NEWWORLD_IDE0_DMA_IRQ 0x2
|
||||
#define NEWWORLD_IDE1_IRQ 0xe
|
||||
#define NEWWORLD_IDE1_DMA_IRQ 0x3
|
||||
#define NEWWORLD_EXTING_GPIO1 0x2f
|
||||
#define NEWWORLD_EXTING_GPIO9 0x37
|
||||
|
||||
/* Core99 machine */
|
||||
#define TYPE_CORE99_MACHINE MACHINE_TYPE_NAME("mac99")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue