mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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:
committed by
Peter Maydell
parent
5eb815c19a
commit
35d44e3f93
@@ -21,6 +21,8 @@
|
||||
#ifndef TARGET_ARM_CPREGS_H
|
||||
#define TARGET_ARM_CPREGS_H
|
||||
|
||||
#include "hw/registerfields.h"
|
||||
|
||||
/*
|
||||
* ARMCPRegInfo type field bits:
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user