[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/7] target/ppc: Move most of 'cpu-qom.h' definitions to 'cpu.h'
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/7] target/ppc: Move most of 'cpu-qom.h' definitions to 'cpu.h' |
Date: |
Fri, 13 Oct 2023 14:56:23 +0200 |
Hi,
I'm going to post a v2 of "target: Make 'cpu-qom.h' really
target agnostic" [*]. Since the series is already big enough,
I extracted the PPC specific patches in their own preliminary
series.
In short, "cpu-qom.h" exposes QOM definitions and must be
target agnostic. This series moves the PPC specific definitions
to target/ppc/cpu.h.
Please review,
Phil.
[*] 20231010092901.99189-1-philmd@linaro.org/">https://lore.kernel.org/qemu-devel/20231010092901.99189-1-philmd@linaro.org/
Philippe Mathieu-Daudé (7):
hw/ppc/spapr: Restrict PPCTimebase structure declaration to sPAPR
target/ppc: Define powerpc_pm_insn_t in 'internal.h'
target/ppc: Move ppc_cpu_class_by_name() declaration to 'cpu.h'
target/ppc: Move PowerPCCPUClass definition to 'cpu.h'
target/ppc: Move powerpc_excp_t definition to 'cpu.h'
target/ppc: Move powerpc_mmu_t definition to 'cpu.h'
target/ppc: Move powerpc_input_t definition to 'cpu.h'
include/hw/ppc/ppc.h | 2 +-
include/hw/ppc/spapr.h | 6 ++
target/ppc/cpu-qom.h | 183 -----------------------------------------
target/ppc/cpu.h | 141 +++++++++++++++++++++++++++++++
target/ppc/internal.h | 9 ++
hw/ppc/ppc.c | 107 ------------------------
hw/ppc/spapr.c | 116 ++++++++++++++++++++++++++
7 files changed, 273 insertions(+), 291 deletions(-)
--
2.41.0