[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/18] hw/arm/boot: Include missing 'exec/cpu-all.h' header
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 02/18] hw/arm/boot: Include missing 'exec/cpu-all.h' header |
Date: |
Tue, 10 Jan 2023 17:43:50 +0100 |
default_reset_secondary() uses address_space_stl_notdirty(),
itself declared in "exec/cpu-all.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,
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/arm/boot.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index 3d7d11f782..f5bfb922b1 100644
--- a/hw/arm/boot.c
+++ b/hw/arm/boot.c
@@ -25,6 +25,7 @@
#include "qemu/config-file.h"
#include "qemu/option.h"
#include "qemu/units.h"
+#include "exec/cpu-all.h"
/* Kernel boot protocol is specified in the kernel docs
* Documentation/arm/Booting and Documentation/arm64/booting.txt
--
2.38.1
- [PATCH 00/18] hw/arm: Move various objects to softmmu_ss to build them once (part 1), Philippe Mathieu-Daudé, 2023/01/10
- [PATCH 01/18] hw/arm: Move various units to softmmu_ss[], Philippe Mathieu-Daudé, 2023/01/10
- [PATCH 02/18] hw/arm/boot: Include missing 'exec/cpu-all.h' header,
Philippe Mathieu-Daudé <=
- [PATCH 03/18] target/arm/cpregs: Include missing 'target/arm/cpu.h' header, Philippe Mathieu-Daudé, 2023/01/10
- [PATCH 04/18] hw/arm: Use full "target/arm/cpu.h" path to include target's "cpu.h", Philippe Mathieu-Daudé, 2023/01/10
- [PATCH 05/18] target/arm: Move CPU QOM type definitions to "hw/arm/cpu.h", Philippe Mathieu-Daudé, 2023/01/10
- [PATCH 06/18] target/arm: Move CPU definitions consumed by HW model to "hw/arm/cpu.h", Philippe Mathieu-Daudé, 2023/01/10
- [PATCH 07/18] hw/arm: Move more units to softmmu_ss[], Philippe Mathieu-Daudé, 2023/01/10