target-arm: Make IRQ and FIQ gpio lines on the CPU object

Enterprise / Virtualization / QEMU - Peter Maydell [linaro.org] - 20 August 2013 08:54 UTC

Now that ARMCPU is a subclass of DeviceState, we can make the CPU's inbound IRQ and FIQ lines be simply gpio lines, which means we can remove the odd arm_pic shim.

We retain the arm_pic_init_cpu() function as a backwards compatibility shim layer so we can convert the board models to get the IRQ and FIQ lines directly from the ARMCPU object one at a time.

7c1840b target-arm: Make IRQ and FIQ gpio lines on the CPU object
hw/arm/pic_cpu.c | 63 +++++++++---------------------------------------------
target-arm/cpu.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++
target-arm/cpu.h | 3 +++
3 files changed, 73 insertions(+), 53 deletions(-)

Upstream: git.qemu.org


  • Share