target/arm: Fetch GICv3 state directly from CPUARMState
authorAaron Lindsay <alindsay@codeaurora.org>
Thu, 26 Apr 2018 10:04:39 +0000 (11:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Apr 2018 10:04:39 +0000 (11:04 +0100)
commitd5a5e4c93dae0dc3feb402cf7ee78d846da1a7e1
treec67653c6437aa86f147786d6056b8536d2fa5cf1
parent7ece99b17e832065236c07a158dfac62619ef99b
target/arm: Fetch GICv3 state directly from CPUARMState

This eliminates the need for fetching it from el_change_hook_opaque, and
allows for supporting multiple el_change_hooks without having to hack
something together to find the registered opaque belonging to GICv3.

Signed-off-by: Aaron Lindsay <alindsay@codeaurora.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1523997485-1905-6-git-send-email-alindsay@codeaurora.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gicv3_cpuif.c
target/arm/cpu.h