aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-18 21:06:27 +0100
committerPeter Maydell <peter.maydell@linaro.org>2024-01-26 11:30:48 +0000
commit35d44e3f9302fc37b36819b193d35de2118597aa (patch)
treebbd37e4d07d4cf4212aeeeab2ddc7728ce5108cb
parent5eb815c19acf39e3fc9fa60705e15f7ebf00258d (diff)
downloadqemu-35d44e3f9302fc37b36819b193d35de2118597aa.zip
qemu-35d44e3f9302fc37b36819b193d35de2118597aa.tar.gz
qemu-35d44e3f9302fc37b36819b193d35de2118597aa.tar.bz2
target/arm/cpregs: Include missing 'hw/registerfields.h' header
target/arm/cpregs.h uses the FIELD() macro defined in "hw/registerfields.h". Include it in order to avoid when refactoring unrelated headers: target/arm/cpregs.h:347:30: error: expected identifier FIELD(HFGRTR_EL2, AFSR0_EL1, 0, 1) ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20240118200643.29037-7-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target/arm/cpregs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/cpregs.h b/target/arm/cpregs.h
index b6fdd0f..ca2d600 100644
--- a/target/arm/cpregs.h
+++ b/target/arm/cpregs.h
@@ -21,6 +21,8 @@
#ifndef TARGET_ARM_CPREGS_H
#define TARGET_ARM_CPREGS_H
+#include "hw/registerfields.h"
+
/*
* ARMCPRegInfo type field bits:
*/