From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzVD1-0007tr-3A for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:17:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzVCx-0007HX-QW for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:17:15 -0400 Received: from mail-qk0-x229.google.com ([2607:f8b0:400d:c09::229]:35630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzVCx-0007HO-LI for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:17:11 -0400 Received: by qkhq76 with SMTP id q76so60699991qkh.2 for ; Mon, 01 Jun 2015 12:17:11 -0700 (PDT) Sender: Richard Henderson Message-ID: <556CAFB2.1060004@twiddle.net> Date: Mon, 01 Jun 2015 12:17:06 -0700 From: Richard Henderson MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v2 05/34] translate: Listify tcg_exec_init List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , qemu-devel@nongnu.org Cc: edgar.iglesias@gmail.com, Peter Crosthwaite , pbonzini@redhat.com, afaerber@suse.de, peter.maydell@linaro.org On 05/30/2015 11:11 PM, Peter Crosthwaite wrote: > Create a global list of tcg_exec_init functions that is populated at > startup. Multiple translation engines can register an init function > and all will be called on the master call to tcg_exec_init. > > Introduce a new module, translate-common. This is a common-obj for > translation functionality such as this. > > Signed-off-by: Peter Crosthwaite > --- > Makefile.objs | 1 + > include/qemu-common.h | 1 + > translate-all.c | 7 ++++++- > translate-common.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 58 insertions(+), 1 deletion(-) > create mode 100644 translate-common.c Reviewed-by: Richard Henderson r~