qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] QOM'ify SPARC CPU
@ 2012-04-04 23:29 Andreas Färber
  2012-04-04 23:29 ` [Qemu-devel] [PATCH v2 1/2] target-sparc: Rename cpu_init.c Andreas Färber
  2012-04-04 23:29 ` [Qemu-devel] [PATCH v2 2/2] target-sparc: QOM'ify CPU Andreas Färber
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Färber @ 2012-04-04 23:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: Blue Swirl, Andreas Färber

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 <blauwirbel@gmail.com>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-04 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-04 23:29 [Qemu-devel] [PATCH v2 0/2] QOM'ify SPARC CPU Andreas Färber
2012-04-04 23:29 ` [Qemu-devel] [PATCH v2 1/2] target-sparc: Rename cpu_init.c Andreas Färber
2012-04-04 23:29 ` [Qemu-devel] [PATCH v2 2/2] target-sparc: QOM'ify CPU Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).