aboutsummaryrefslogtreecommitdiff
path: root/target/arm/cpu.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-06 23:35:00 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-02-16 16:00:47 +0000
commit2bd6918f3cfe939c1335f421da2cae0221cf28e5 (patch)
tree4aa1e5a856f01afb5b62c49e7793447b21819aa3 /target/arm/cpu.h
parent2a94a5077637648e05b8bf3b342dadf52a4f1f7a (diff)
target/arm: Restrict CPUARMState::nvic to sysemu
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230206223502.25122-10-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r--target/arm/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index a574e85b76..01f9566a1b 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -767,8 +767,8 @@ typedef struct CPUArchState {
uint32_t ctrl;
} sau;
- void *nvic;
#if !defined(CONFIG_USER_ONLY)
+ void *nvic;
const struct arm_boot_info *boot_info;
/* Store GICv3CPUState to access from this struct */
void *gicv3state;