This patch series makes IRQ and FIQ be inbound gpio lines on the ARMCPU object (which we can do now that it is a subclass of DeviceState). This allows us to drop the odd 'arm_pic' shim, which doesn't correspond to real hardware and existed purely to be a thing which exposed qemu_irqs.
Peter Maydell (14): target-arm: Make IRQ and FIQ gpio lines on the CPU object hw/arm/armv7m: Don't use arm_pic_init_cpu() hw/arm/exynos4210: Don't use arm_pic_init_cpu() hw/arm/highbank: Don't use arm_pic_init_cpu() hw/arm/integratorcp: Don't use arm_pic_init_cpu() hw/arm/kzm: Don't use arm_pic_init_cpu() hw/arm/musicpal: Don't use arm_pic_init_cpu() hw/arm/omap*: Don't use arm_pic_init_cpu() hw/arm/realview: Don't use arm_pic_init_cpu() hw/arm/strongarm: Don't use arm_pic_init_cpu() hw/arm/versatilepb: Don't use arm_pic_init_cpu() hw/arm/vexpress: Don't use arm_pic_init_cpu() hw/arm/xilinx_zynq: Don't use arm_pic_init_cpu() hw/arm/pic_cpu: Remove the now-unneeded arm_pic_init_cpu() hw/arm/Makefile.objs | 2 +- hw/arm/armv7m.c | 5 ++-- hw/arm/exynos4210.c | 16 +++--------- hw/arm/highbank.c | 4 +-- hw/arm/integratorcp.c | 7 +++-- hw/arm/kzm.c | 8 +++--- hw/arm/musicpal.c | 4 +-- hw/arm/omap1.c | 8 +++--- hw/arm/omap2.c | 8 +++--- hw/arm/pic_cpu.c | 68 ------------------------------------------------- hw/arm/realview.c | 4 +-- hw/arm/strongarm.c | 6 ++--- hw/arm/versatilepb.c | 7 +++-- hw/arm/vexpress.c | 8 ++---- hw/arm/xilinx_zynq.c | 7 ++--- include/hw/arm/arm.h | 5 ---- target-arm/cpu.c | 60 +++++++++++++++++++++++++++++++++++++++++++ target-arm/cpu.h | 3 +++ 18 files changed, 96 insertions(+), 134 deletions(-) delete mode 100644 hw/arm/pic_cpu.c -- 1.7.9.5