This series introduces 6 new files, one for each big CPU family and
moves most the specific code from cpu_init and excp_helper into these
files.
We're left with cpu_init containing only generic CPU initialization
routines and QOM-related functions.
The excp_helper file still needs more work but we're close to having
only TCG-specific code in it, as the file name implies. I left this
for the next series.
Based on legoater/ppc-7.0
Fabiano Rosas (17):
target/ppc: Add a tracepoint for System Calls
target/ppc: Use trace-events instead of CPU_LOG_INT
target/ppc: Move 40x CPUs code to their own file
target/ppc: Move 6xx CPUs code to their own file
target/ppc: Move 7xx CPUs code to their own file
target/ppc: Move 74xx CPUs code to their own file
target/ppc: Move BookE CPUs code to their own file
target/ppc: Move BookS CPUs to their own file
target/ppc: Remove leftover comments from cpu_init
target/ppc: Expose some excp_helper functions
target/ppc: Move powerpc_excp_40x into cpu_40x.c
target/ppc: Move powerpc_excp_6xx into cpu_6xx.c
target/ppc: Move powerpc_excp_7xx into cpu_7xx.c
target/ppc: Move powerpc_excp_74xx into cpu_74xx.c
target/ppc: Move powerpc_excp_booke into cpu_booke.c
target/ppc: Move powerpc_excp_books into cpu_books.c
target/ppc: Move powerpc_excp* to the PowerPCCPU Class
target/ppc/cpu-qom.h | 1 +
target/ppc/cpu.h | 6 +
target/ppc/cpu_40x.c | 412 +++
target/ppc/cpu_6xx.c | 1341 ++++++++
target/ppc/cpu_74xx.c | 1358 ++++++++
target/ppc/cpu_7xx.c | 1095 +++++++
target/ppc/cpu_booke.c | 1647 ++++++++++
target/ppc/cpu_books.c | 2299 +++++++++++++
target/ppc/cpu_init.c | 6593 --------------------------------------
target/ppc/excp_helper.c | 1486 +--------
target/ppc/meson.build | 6 +
target/ppc/misc_helper.c | 4 +-
target/ppc/trace-events | 4 +
target/ppc/trace.h | 18 +
14 files changed, 8202 insertions(+), 8068 deletions(-)
create mode 100644 target/ppc/cpu_40x.c
create mode 100644 target/ppc/cpu_6xx.c
create mode 100644 target/ppc/cpu_74xx.c
create mode 100644 target/ppc/cpu_7xx.c
create mode 100644 target/ppc/cpu_booke.c
create mode 100644 target/ppc/cpu_books.c
--
2.34.1