]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm/cpregs: Include missing 'target/arm/cpu.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 29 May 2025 16:45:11 +0000 (17:45 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 29 May 2025 16:45:11 +0000 (17:45 +0100)
commit982a42c773efc7767e33d618f0fe4fcaef716a57
treee0aac6cf687d0520beae1d1a16b1b8dc4fc6bbdc
parent54d1046f939c2c508a6b73531af83345306ecaa9
target/arm/cpregs: Include missing 'target/arm/cpu.h' header

CPReadFn type definitions use the CPUARMState type, itself
declared in "cpu.h". Include this file in order to avoid when
refactoring headers:

  ../target/arm/cpregs.h:241:27: error: unknown type name 'CPUARMState'
  typedef uint64_t CPReadFn(CPUARMState *env, const ARMCPRegInfo *opaque);
                            ^

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20250513173928.77376-5-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpregs.h