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>
This commit is contained in:
parent
5eb815c19a
commit
35d44e3f93
@ -21,6 +21,8 @@
|
|||||||
#ifndef TARGET_ARM_CPREGS_H
|
#ifndef TARGET_ARM_CPREGS_H
|
||||||
#define TARGET_ARM_CPREGS_H
|
#define TARGET_ARM_CPREGS_H
|
||||||
|
|
||||||
|
#include "hw/registerfields.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ARMCPRegInfo type field bits:
|
* ARMCPRegInfo type field bits:
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user