qemu/hw/sparc64
Mark Cave-Ayland 4b10c8d701 ebus: wire up OBIO interrupts to APB pbm via qdev GPIOs
This enables us to remove the static array mapping in the ISA IRQ
handler (and the embedded reference to the APB device) by formalising
the interrupt wiring via the qdev GPIO API.

For more clarity we replace the APB OBIO interrupt numbers with constants
designating the interrupt source, and rename isa_irq_handler() to
ebus_isa_irq_handler().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2018-01-09 21:48:19 +00:00
..
Makefile.objs target-sparc: fix up niagara machine 2017-01-18 22:03:44 +01:00
niagara.c sparc: sun4u/sun4v/niagara: use generic cpu_model parsing 2017-10-27 16:04:27 +02:00
sparc64.c apb: use gpios to wire up the apb device to the SPARC CPU IRQs 2018-01-09 21:31:31 +00:00
sun4u.c ebus: wire up OBIO interrupts to APB pbm via qdev GPIOs 2018-01-09 21:48:19 +00:00