target/arm: Move GTimer definitions to new 'gtimer.h' header
commitf4f318b41abe76a68ec1d616744ab9d6ec839abc
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 18 Jan 2024 20:06:40 +0000 (18 21:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 26 Jan 2024 11:30:49 +0000 (26 11:30 +0000)
tree9587c317d7fcbf2582abaafc74ce219ac0923bbc
parent32b3a0c90095f4b5b453e72c2a3a25964ef04640
target/arm: Move GTimer definitions to new 'gtimer.h' header

Move Arm A-class Generic Timer definitions to the new
"target/arm/gtimer.h" header so units in hw/ which don't
need access to ARMCPU internals can use them without
having to include the huge "cpu.h".

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240118200643.29037-20-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
15 files changed:
hw/arm/allwinner-h3.c
hw/arm/allwinner-r40.c
hw/arm/bcm2836.c
hw/arm/sbsa-ref.c
hw/arm/virt.c
hw/arm/xlnx-versal.c
hw/arm/xlnx-zynqmp.c
hw/cpu/a15mpcore.c
target/arm/cpu.c
target/arm/cpu.h
target/arm/gtimer.h [new file with mode: 0644]
target/arm/helper.c
target/arm/hvf/hvf.c
target/arm/kvm.c
target/arm/machine.c