From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR5CH-0007Wz-Ai for qemu-devel@nongnu.org; Thu, 26 Feb 2015 15:38:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YR5CD-00087H-8m for qemu-devel@nongnu.org; Thu, 26 Feb 2015 15:38:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR5CD-00086w-0T for qemu-devel@nongnu.org; Thu, 26 Feb 2015 15:38:09 -0500 From: Eduardo Habkost Date: Thu, 26 Feb 2015 17:37:45 -0300 Message-Id: <1424983069-14080-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] cpu: Make cpu_init() return QOM object List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?q?Andreas=20F=C3=A4rber?= Cc: Blue Swirl , Riku Voipio , qemu-devel@nongnu.org This series changes cpu_init() to return a CPU QOM object, and changes existing arch-specific code to use the corresponding arch-specific function instead of cpu_init(). With this, the only remaining users of cpu_init() are linux-user and bsd-user. Eduardo Habkost (4): target-unicore32: Make uc32_cpu_init() return UniCore32CPU m68k: Use cpu_m68k_init() unicore32: Use uc32_cpu_init() cpu: Make cpu_init() return QOM object bsd-user/main.c | 6 +++--- hw/m68k/dummy_m68k.c | 6 ++++-- hw/unicore32/puv3.c | 6 ++++-- linux-user/main.c | 6 +++--- target-alpha/cpu.h | 9 +-------- target-arm/cpu.h | 9 +-------- target-cris/cpu.h | 9 +-------- target-i386/cpu.h | 9 +-------- target-lm32/cpu.h | 9 +-------- target-m68k/cpu.h | 9 +-------- target-microblaze/cpu.h | 9 +-------- target-mips/cpu.h | 9 +-------- target-moxie/cpu.h | 9 +-------- target-openrisc/cpu.h | 9 +-------- target-ppc/cpu.h | 9 +-------- target-s390x/cpu.h | 2 +- target-sh4/cpu.h | 9 +-------- target-sparc/cpu.h | 9 +-------- target-tricore/cpu.h | 10 +--------- target-unicore32/cpu.h | 6 ++++-- target-unicore32/helper.c | 10 ++-------- target-xtensa/cpu.h | 9 +-------- 22 files changed, 36 insertions(+), 142 deletions(-) -- 2.1.0