From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1p8w-0001TH-Le for qemu-devel@nongnu.org; Thu, 18 Dec 2014 23:26:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1p8q-0002M3-Ez for qemu-devel@nongnu.org; Thu, 18 Dec 2014 23:26:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1p8q-0002Ln-70 for qemu-devel@nongnu.org; Thu, 18 Dec 2014 23:26:16 -0500 From: Eduardo Habkost Date: Fri, 19 Dec 2014 02:26:03 -0200 Message-Id: <1418963165-498-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] tcg: Move TCG arch-specific initialization inside TCG code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= , rth@twiddle.net Many architectures manually call arch-specific TCG initialization at CPU init time[1], instead of having tcg_init() doing all initialization steps. This series introduces a tcg_arch_init() function that may be implemented by architecture-specific code for TCG initialization. [1] You can see it by grepping for "inited" on target-*/cpu.c. Eduardo Habkost (2): tcg: Introduce tcg_arch_init() function target-i386: Implement tcg_arch_init() include/qemu-common.h | 1 + stubs/Makefile.objs | 1 + stubs/tcg.c | 5 +++++ target-i386/cpu.c | 7 ------- target-i386/translate.c | 2 +- translate-all.c | 1 + 6 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 stubs/tcg.c -- 1.9.3