diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-05-29 17:45:11 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-05-29 17:45:11 +0100 |
commit | c28900fbcdc36175a1fc81015e952133007ae864 (patch) | |
tree | 3e961e4367f0b134267dbcfe3515732ddd74c1f9 | |
parent | 982a42c773efc7767e33d618f0fe4fcaef716a57 (diff) | |
download | qemu-c28900fbcdc36175a1fc81015e952133007ae864.zip qemu-c28900fbcdc36175a1fc81015e952133007ae864.tar.gz qemu-c28900fbcdc36175a1fc81015e952133007ae864.tar.bz2 |
hw/arm/boot: Include missing 'system/memory.h' header
default_reset_secondary() uses address_space_stl_notdirty(),
itself declared in "system/memory.h". Include this header in
order to avoid when refactoring headers:
../hw/arm/boot.c:281:5: error: implicit declaration of function 'address_space_stl_notdirty' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
address_space_stl_notdirty(as, info->smp_bootreg_addr,
^
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20250513173928.77376-6-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | hw/arm/boot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/boot.c b/hw/arm/boot.c index f94b940..79afb51 100644 --- a/hw/arm/boot.c +++ b/hw/arm/boot.c @@ -19,6 +19,7 @@ #include "system/kvm.h" #include "system/tcg.h" #include "system/system.h" +#include "system/memory.h" #include "system/numa.h" #include "hw/boards.h" #include "system/reset.h" |