[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/18] target/arm/cpregs: Include missing 'target/arm/cpu.h' head
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 03/18] target/arm/cpregs: Include missing 'target/arm/cpu.h' header |
Date: |
Tue, 10 Jan 2023 17:43:51 +0100 |
CPReadFn type definitions use the CPUARMState type, itself
declared in "target/arm/cpu.h". Include this file in order
to avoid when refactoring headers:
../target/arm/cpregs.h:241:27: error: unknown type name 'CPUARMState'
typedef uint64_t CPReadFn(CPUARMState *env, const ARMCPRegInfo *opaque);
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/arm/cpregs.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/arm/cpregs.h b/target/arm/cpregs.h
index 7e78c2c05c..63b645907e 100644
--- a/target/arm/cpregs.h
+++ b/target/arm/cpregs.h
@@ -21,6 +21,8 @@
#ifndef TARGET_ARM_CPREGS_H
#define TARGET_ARM_CPREGS_H
+#include "target/arm/cpu.h"
+
/*
* ARMCPRegInfo type field bits:
*/
--
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é, 2023/01/10
- [PATCH 03/18] target/arm/cpregs: Include missing 'target/arm/cpu.h' header,
Philippe Mathieu-Daudé <=
- [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
- [PATCH 09/18] hw/arm/armv7m: Remove 'target/arm/cpu.h' from NVIC header, Philippe Mathieu-Daudé, 2023/01/10
- [PATCH 08/18] hw/arm: Move units to softmmu[] by replacing "{target -> hw}/arm/cpu.h", Philippe Mathieu-Daudé, 2023/01/10