target/arm: Restrict CPUARMState::gicv3state to sysemu

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230206223502.25122-8-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2023-02-06 23:34:58 +01:00 committed by Peter Maydell
parent 26f0856130
commit 1701d70e15
1 changed files with 2 additions and 1 deletions

View File

@ -769,9 +769,10 @@ typedef struct CPUArchState {
void *nvic; void *nvic;
const struct arm_boot_info *boot_info; const struct arm_boot_info *boot_info;
#if !defined(CONFIG_USER_ONLY)
/* Store GICv3CPUState to access from this struct */ /* Store GICv3CPUState to access from this struct */
void *gicv3state; void *gicv3state;
#if defined(CONFIG_USER_ONLY) #else /* CONFIG_USER_ONLY */
/* For usermode syscall translation. */ /* For usermode syscall translation. */
bool eabi; bool eabi;
#endif /* CONFIG_USER_ONLY */ #endif /* CONFIG_USER_ONLY */