diff options
author | Aaron Lindsay <alindsay@codeaurora.org> | 2018-04-26 11:04:39 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-04-26 11:04:39 +0100 |
commit | d5a5e4c93dae0dc3feb402cf7ee78d846da1a7e1 (patch) | |
tree | c67653c6437aa86f147786d6056b8536d2fa5cf1 /target/arm/cpu.h | |
parent | 7ece99b17e832065236c07a158dfac62619ef99b (diff) | |
download | qemu-d5a5e4c93dae0dc3feb402cf7ee78d846da1a7e1.zip qemu-d5a5e4c93dae0dc3feb402cf7ee78d846da1a7e1.tar.gz qemu-d5a5e4c93dae0dc3feb402cf7ee78d846da1a7e1.tar.bz2 |
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>
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r-- | target/arm/cpu.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 19a0c03..6bd8ff5 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -2903,16 +2903,6 @@ void arm_register_el_change_hook(ARMCPU *cpu, ARMELChangeHook *hook, void *opaque); /** - * arm_get_el_change_hook_opaque: - * Return the opaque data that will be used by the el_change_hook - * for this CPU. - */ -static inline void *arm_get_el_change_hook_opaque(ARMCPU *cpu) -{ - return cpu->el_change_hook_opaque; -} - -/** * aa32_vfp_dreg: * Return a pointer to the Dn register within env in 32-bit mode. */ |