Received: from eggs.gnu.org ([208.118.235.92]:34313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThVsb-0004BN-W2 for qemu-devel@nongnu.org; Sat, 08 Dec 2012 20:40:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ThVsa-0003XE-MB for qemu-devel@nongnu.org; Sat, 08 Dec 2012 20:40:29 -0500 Received: from cantor2.suse.de ([195.135.220.15]:55564 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThVsa-0003X8-Ff for qemu-devel@nongnu.org; Sat, 08 Dec 2012 20:40:28 -0500 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sun, 9 Dec 2012 02:40:11 +0100 Message-Id: <1355017216-22962-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH qom-cpu v2 0/5] target-alpha: CPU subclasses List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , Eduardo Habkost , rth@twiddle.net 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 mechanica= l 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_str= dup(). Also note the use of a trivial TYPE() macro to enforce the type name sche= me 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 -alpha-cpu * Move cpu_alpha_init() to cpu.c, turning alpha_translate_init() non-stat= ic * Split off alpha_cpu_realize() from cpu_alpha_init() * Drop illustratory alpha_cpu_reset() RFC for now Cc: Richard Henderson Cc: Eduardo Habkost Andreas F=C3=A4rber (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=C3=A4ndert, 267 Zeilen hinzugef=C3=BCgt(+), 87 Zeilen entfe= rnt(-) --=20 1.7.10.4