mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
macio: wire macio GPIOs to OpenPIC using sysbus IRQs
This both allows the wiring to be done as Ben suggested in his original comment in gpio.c and also enables the OpenPIC object property link to be removed. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-Id: <20201229175619.6051-7-mark.cave-ayland@ilande.co.uk> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
This commit is contained in:
parent
7e4d62dfee
commit
b73eb72792
3 changed files with 12 additions and 26 deletions
|
@ -38,8 +38,6 @@ struct MacIOGPIOState {
|
|||
SysBusDevice parent;
|
||||
/*< public >*/
|
||||
|
||||
OpenPICState *pic;
|
||||
|
||||
MemoryRegion gpiomem;
|
||||
qemu_irq gpio_extirqs[10];
|
||||
uint8_t gpio_levels[8];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue