[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 12/20] hw/cpu/a9mpcore: Build it only once
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 12/20] hw/cpu/a9mpcore: Build it only once |
Date: |
Thu, 18 Jan 2024 21:06:33 +0100 |
hw/cpu/a9mpcore.c doesn't require "cpu.h" anymore.
By removing it, the unit become target agnostic:
we can build it once. Update meson.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/cpu/a9mpcore.c | 2 +-
hw/cpu/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/cpu/a9mpcore.c b/hw/cpu/a9mpcore.c
index d03f57e579..c30ef72c66 100644
--- a/hw/cpu/a9mpcore.c
+++ b/hw/cpu/a9mpcore.c
@@ -15,7 +15,7 @@
#include "hw/irq.h"
#include "hw/qdev-properties.h"
#include "hw/core/cpu.h"
-#include "cpu.h"
+#include "target/arm/cpu-qom.h"
#define A9_GIC_NUM_PRIORITY_BITS 5
diff --git a/hw/cpu/meson.build b/hw/cpu/meson.build
index 6d319947ca..38cdcfbe57 100644
--- a/hw/cpu/meson.build
+++ b/hw/cpu/meson.build
@@ -2,5 +2,5 @@ system_ss.add(files('core.c', 'cluster.c'))
system_ss.add(when: 'CONFIG_ARM11MPCORE', if_true: files('arm11mpcore.c'))
system_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview_mpcore.c'))
-specific_ss.add(when: 'CONFIG_A9MPCORE', if_true: files('a9mpcore.c'))
+system_ss.add(when: 'CONFIG_A9MPCORE', if_true: files('a9mpcore.c'))
specific_ss.add(when: 'CONFIG_A15MPCORE', if_true: files('a15mpcore.c'))
--
2.41.0
- [PATCH 02/20] hw/arm/xilinx_zynq: Include missing 'exec/tswap.h' header, (continued)
- [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é, 2024/01/18
- [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é <=
- [PATCH 13/20] hw/misc/xlnx-versal-crl: Include generic 'cpu-qom.h' instead of 'cpu.h', Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 14/20] hw/misc/xlnx-versal-crl: Build it only once, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 15/20] target/arm: Expose M-profile register bank index definitions, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 16/20] hw/arm/armv7m: Make 'hw/intc/armv7m_nvic.h' a target agnostic header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 18/20] target/arm: Move e2h_access() helper around, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 17/20] target/arm: Move ARM_CPU_IRQ/FIQ definitions to 'cpu-qom.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 19/20] target/arm: Move GTimer definitions to new 'gtimer.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 20/20] hw/arm: Build various units only once, Philippe Mathieu-Daudé, 2024/01/18
- Re: [PATCH 00/20] arm: Rework target/ headers to build various hw/ files once, Philippe Mathieu-Daudé, 2024/01/18
- Re: [PATCH 00/20] arm: Rework target/ headers to build various hw/ files once, Richard Henderson, 2024/01/18