qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/2] QOM'ify SPARC CPU


From: Andreas Färber
Subject: [Qemu-devel] [PATCH v2 0/2] QOM'ify SPARC CPU
Date: Thu, 5 Apr 2012 01:29:38 +0200

Hello Blue,

This series strips down my SPARC QOM'ification patch from the qom-cpu-others.v1
RFC series to the bare minimum needed and splits off the file rename.

Subclasses and properties can follow up later, specific to target-sparc then.

I've picked up your idea of using different type names for 32-bit and 64-bit
targets respectively.

Please apply if you're satisfied, there's no dependency on the x86 series.

Available from:
git://github.com/afaerber/qemu-cpu.git qom-cpu-sparc.v2
https://github.com/afaerber/qemu-cpu/commits/qom-cpu-sparc.v2

Regards,
Andreas

Cc: Blue Swirl <address@hidden>

v1 -> v2:
* Split off from qom-cpu-others series.
* Rebased onto qemu.git, no longer depends on other targets wrt Makefile.target.
* Split out file rename into its own patch (and enforce git rename detection).
* Update argument/variable naming to avoid "klass" and to use ..._type_info.
* Drop subclasses for now, thus leave TYPE_SPARC_CPU non-abstract and add 
finalizer.
* Rename TYPE_SPARC_CPU to "sparc64-cpu" for TARGET_SPARC64, suggested by Blue.

Andreas Färber (2):
  target-sparc: Rename cpu_init.c
  target-sparc: QOM'ify CPU

 Makefile.target                    |    2 +-
 target-sparc/cpu-qom.h             |   75 ++++++++++++++++++++++++++++++++++++
 target-sparc/{cpu_init.c => cpu.c} |   68 ++++++++++++++++++++++++++++----
 target-sparc/cpu.h                 |    1 +
 4 files changed, 136 insertions(+), 10 deletions(-)
 create mode 100644 target-sparc/cpu-qom.h
 rename target-sparc/{cpu_init.c => cpu.c} (95%)

-- 
1.7.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]