[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 11/36] hw/arm/xilinx_zynq: Include missing 'exec/tswap.h' header
From: |
Peter Maydell |
Subject: |
[PULL 11/36] hw/arm/xilinx_zynq: Include missing 'exec/tswap.h' header |
Date: |
Fri, 26 Jan 2024 14:33:16 +0000 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/arm/xilinx_zynq.c calls tswap32() which is declared
in "exec/tswap.h". Include it in order to avoid when
refactoring unrelated headers:
hw/arm/xilinx_zynq.c:103:31: error: call to undeclared function 'tswap32';
ISO C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]
board_setup_blob[n] = tswap32(board_setup_blob[n]);
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240118200643.29037-3-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
hw/arm/xilinx_zynq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c
index dbb9793aa13..d4c817ecdc0 100644
--- a/hw/arm/xilinx_zynq.c
+++ b/hw/arm/xilinx_zynq.c
@@ -37,6 +37,7 @@
#include "hw/qdev-clock.h"
#include "sysemu/reset.h"
#include "qom/object.h"
+#include "exec/tswap.h"
#define TYPE_ZYNQ_MACHINE MACHINE_TYPE_NAME("xilinx-zynq-a9")
OBJECT_DECLARE_SIMPLE_TYPE(ZynqMachineState, ZYNQ_MACHINE)
--
2.34.1
- [PULL 00/36] target-arm queue, Peter Maydell, 2024/01/26
- [PULL 01/36] target/xtensa: fix OOB TLB entry access, Peter Maydell, 2024/01/26
- [PULL 05/36] hw/arm/allwinner-a10: Unconditionally map the USB Host controllers, Peter Maydell, 2024/01/26
- [PULL 07/36] hw/arm: Add EHCI/OHCI controllers to Allwinner R40 and Bananapi board, Peter Maydell, 2024/01/26
- [PULL 09/36] hw/arm: Add watchdog timer to Allwinner H40 and Bananapi board, Peter Maydell, 2024/01/26
- [PULL 02/36] target/arm: Fix VNCR fault detection logic, Peter Maydell, 2024/01/26
- [PULL 03/36] hw/arm/virt.c: Remove newline from error_report() string, Peter Maydell, 2024/01/26
- [PULL 06/36] hw/arm/nseries: Unconditionally map the TUSB6010 USB Host controller, Peter Maydell, 2024/01/26
- [PULL 10/36] hw/arm/exynos4210: Include missing 'exec/tswap.h' header, Peter Maydell, 2024/01/26
- [PULL 11/36] hw/arm/xilinx_zynq: Include missing 'exec/tswap.h' header,
Peter Maydell <=
- [PULL 13/36] hw/arm/xlnx-versal: Include missing 'cpu.h' header, Peter Maydell, 2024/01/26
- [PULL 15/36] target/arm/cpregs: Include missing 'hw/registerfields.h' header, Peter Maydell, 2024/01/26
- [PULL 04/36] hw/arm/musicpal: Convert to qemu_add_kbd_event_handler(), Peter Maydell, 2024/01/26
- [PULL 12/36] hw/arm/smmuv3: Include missing 'hw/registerfields.h' header, Peter Maydell, 2024/01/26
- [PULL 08/36] hw/arm: Add AHCI/SATA controller to Allwinner R40 and Bananapi board, Peter Maydell, 2024/01/26
- [PULL 20/36] target/arm: Declare ARM_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h', Peter Maydell, 2024/01/26
- [PULL 14/36] target/arm/cpu-features: Include missing 'hw/registerfields.h' header, Peter Maydell, 2024/01/26
- [PULL 16/36] target/arm/cpregs: Include missing 'kvm-consts.h' header, Peter Maydell, 2024/01/26
- [PULL 17/36] target/arm: Rename arm_cpu_mp_affinity, Peter Maydell, 2024/01/26
- [PULL 18/36] target/arm: Create arm_cpu_mp_affinity, Peter Maydell, 2024/01/26