[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/20] hw/arm/smmuv3: Include missing 'hw/registerfields.h' heade
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 03/20] hw/arm/smmuv3: Include missing 'hw/registerfields.h' header |
Date: |
Thu, 18 Jan 2024 21:06:24 +0100 |
hw/arm/smmuv3-internal.h uses the REG32() and FIELD()
macros defined in "hw/registerfields.h". Include it in
order to avoid when refactoring unrelated headers:
In file included from ../../hw/arm/smmuv3.c:34:
hw/arm/smmuv3-internal.h:36:28: error: expected identifier
REG32(IDR0, 0x0)
^
hw/arm/smmuv3-internal.h:37:5: error: expected function body after function
declarator
FIELD(IDR0, S2P, 0 , 1)
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/arm/smmuv3-internal.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/smmuv3-internal.h b/hw/arm/smmuv3-internal.h
index 6076025ad6..e987bc4686 100644
--- a/hw/arm/smmuv3-internal.h
+++ b/hw/arm/smmuv3-internal.h
@@ -21,6 +21,7 @@
#ifndef HW_ARM_SMMUV3_INTERNAL_H
#define HW_ARM_SMMUV3_INTERNAL_H
+#include "hw/registerfields.h"
#include "hw/arm/smmu-common.h"
typedef enum SMMUTranslationStatus {
--
2.41.0
- [PATCH 00/20] arm: Rework target/ headers to build various hw/ files once, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 01/20] hw/arm/exynos4210: Include missing 'exec/tswap.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 02/20] hw/arm/xilinx_zynq: Include missing 'exec/tswap.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 03/20] hw/arm/smmuv3: Include missing 'hw/registerfields.h' header,
Philippe Mathieu-Daudé <=
- [PATCH 04/20] hw/arm/xlnx-versal: Include missing 'cpu.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 05/20] target/arm/cpu-features: Include missing 'hw/registerfields.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 06/20] target/arm/cpregs: Include missing 'hw/registerfields.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 07/20] target/arm/cpregs: Include missing 'kvm-consts.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 08/20] target/arm: Rename arm_cpu_mp_affinity, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 09/20] target/arm: Create arm_cpu_mp_affinity, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 10/20] target/arm: Expose arm_cpu_mp_affinity() in 'multiprocessing.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 11/20] target/arm: Declare ARM_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h', Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 12/20] hw/cpu/a9mpcore: Build it only once, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 13/20] hw/misc/xlnx-versal-crl: Include generic 'cpu-qom.h' instead of 'cpu.h', Philippe Mathieu-Daudé, 2024/01/18