qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH qom-cpu v2 0/5] target-alpha: CPU subclasses
@ 2012-12-09  1:40 Andreas Färber
  2012-12-09  1:40 ` [Qemu-devel] [FYI qom-cpu v2 1/5] target-alpha: Let cpu_alpha_init() return AlphaCPU Andreas Färber
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Andreas Färber @ 2012-12-09  1:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: Andreas Färber, Eduardo Habkost, rth

Hello Richard,

I've queued the uncontroversial bits of v1 for the next qom-cpu pull (FYI).
This series attempts to introduce AlphaCPU subclasses in a less mechanical way
and in light of efforts to coordinate the naming scheme across targets.

The -cpu ? support was only rebased for now; due to the type name changes
this output has now changed and it does not include the aliases.

@Eduardo:
Note that I've used ObjectClass as return type to avoid unnecessary g_strdup().
Also note the use of a trivial TYPE() macro to enforce the type name scheme in
the knowledge that string literals are being used, avoiding memory leaks.

Regards,
Andreas

v1 -> v2:
* Drop "2*" CPU types in favor of aliases
* Adopt Eduardo's suggested naming scheme <name>-alpha-cpu
* Move cpu_alpha_init() to cpu.c, turning alpha_translate_init() non-static
* Split off alpha_cpu_realize() from cpu_alpha_init()
* Drop illustratory alpha_cpu_reset() RFC for now

Cc: Richard Henderson <rth@twiddle.net>
Cc: Eduardo Habkost <ehabkost@redhat.com>

Andreas Färber (5):
  target-alpha: Let cpu_alpha_init() return AlphaCPU
  alpha: Pass AlphaCPU array to Typhoon
  target-alpha: Avoid leaking the alarm timer over reset
  target-alpha: Turn CPU definitions into subclasses
  target-alpha: Add support for -cpu ?

 hw/alpha_dp264.c          |   18 ++--
 hw/alpha_sys.h            |    2 +-
 hw/alpha_typhoon.c        |   30 ++++---
 target-alpha/cpu-qom.h    |    3 +
 target-alpha/cpu.c        |  219 ++++++++++++++++++++++++++++++++++++++++++++-
 target-alpha/cpu.h        |   18 +++-
 target-alpha/sys_helper.c |    6 +-
 target-alpha/translate.c  |   58 +-----------
 8 Dateien geändert, 267 Zeilen hinzugefügt(+), 87 Zeilen entfernt(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2012-12-18 23:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-09  1:40 [Qemu-devel] [PATCH qom-cpu v2 0/5] target-alpha: CPU subclasses Andreas Färber
2012-12-09  1:40 ` [Qemu-devel] [FYI qom-cpu v2 1/5] target-alpha: Let cpu_alpha_init() return AlphaCPU Andreas Färber
2012-12-09  1:40 ` [Qemu-devel] [FYI qom-cpu v2 2/5] alpha: Pass AlphaCPU array to Typhoon Andreas Färber
2012-12-09  1:40 ` [Qemu-devel] [FYI qom-cpu v2 3/5] target-alpha: Avoid leaking the alarm timer over reset Andreas Färber
2012-12-09  1:40 ` [Qemu-devel] [PATCH qom-cpu v2 4/5] target-alpha: Turn CPU definitions into subclasses Andreas Färber
2012-12-18 23:00   ` Andreas Färber
2012-12-09  1:40 ` [Qemu-devel] [PATCH qom-cpu v2 5/5] target-alpha: Add support for -cpu ? Andreas Färber
2012-12-10 17:18 ` [Qemu-devel] [PATCH qom-cpu v2 0/5] target-alpha: CPU subclasses Richard Henderson
2012-12-14 14:03   ` 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).