target-arm: Make IRQ and FIQ gpio lines on the CPU object
commit7c1840b686e34ed138414ff0fe395a63f031387e
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Aug 2013 13:54:28 +0000 (20 14:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Aug 2013 13:54:28 +0000 (20 14:54 +0100)
tree8ebb9da43ec797b4fa5683de41624dba9c7d8105
parent3f1beaca88bffa4828cc86beb89ff70474516d91
target-arm: Make IRQ and FIQ gpio lines on the CPU object

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.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1375977856-25046-2-git-send-email-peter.maydell@linaro.org
hw/arm/pic_cpu.c
target-arm/cpu.c
target-arm/cpu.h