OSDN Git Service

target/arm: Restrict CPUARMState::nvic to sysemu
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 6 Feb 2023 22:35:00 +0000 (23:35 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Feb 2023 16:00:47 +0000 (16:00 +0000)
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>
target/arm/cpu.h

index a574e85..01f9566 100644 (file)
@@ -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;