From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrPgj-0007AF-J8 for qemu-devel@nongnu.org; Mon, 02 Jun 2014 06:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrPga-0006qC-8a for qemu-devel@nongnu.org; Mon, 02 Jun 2014 06:41:57 -0400 Received: from slb-mail4.epfl.ch ([2001:620:618:1e0:1:80b2:e059:1]:34665 helo=smtp4.epfl.ch) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrPgZ-0006pL-TE for qemu-devel@nongnu.org; Mon, 02 Jun 2014 06:41:48 -0400 Message-ID: <538C4EA6.6020306@epfl.ch> Date: Mon, 02 Jun 2014 12:15:02 +0200 From: Jack Biggs MIME-Version: 1.0 References: <538847AC.6040108@epfl.ch> <5388B101.4010809@twiddle.net> <538C32DA.5000809@epfl.ch> <87wqczsll1.fsf@linaro.org> In-Reply-To: <87wqczsll1.fsf@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Question about gen_jmp_tb List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QWxleCBCZW5uw6ll?= , qemu-devel@nongnu.org > When you say arbitrary code what do you mean? Are you wanting to put > backend specific code there or a common post-amble of tcg ops? Can you > give a bit more detail about your use case? I'm trying to add a clock-synchronization library so that I can have two (or more) instances of QEMU run in a synchronized (deterministic) fashion. The "arbitrary code" is more or less a function call (i.e., callq) instruction to a function that uses shared semaphores to block execution. Jack