hw/intc/arm_gicv3: Move irq lines into GICv3CPUState structure
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Jun 2016 14:23:46 +0000 (15:23 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Jun 2016 14:23:51 +0000 (15:23 +0100)
commit3faf2b0cd5451c452fdaab32f9d2fb870b084f80
treee49d3e1de37327c56c78a7a57a0ea3b08118aca7
parent07e2034d0817b8006ae4eff07d9d67169d52855a
hw/intc/arm_gicv3: Move irq lines into GICv3CPUState structure

Move the GICv3 parent_irq and parent_fiq pointers into the
GICv3CPUState structure rather than giving them their own array.
This will make it easy to assert the IRQ and FIQ lines for a
particular CPU interface without having to know or calculate
the CPU index for the GICv3CPUState we are working on.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org>
Tested-by: Shannon Zhao <shannon.zhao@linaro.org>
Message-id: 1465915112-29272-8-git-send-email-peter.maydell@linaro.org
hw/intc/arm_gicv3_common.c
include/hw/intc/arm_gicv3_common.h