From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH] enable port accesses with (almost) full register context Date: Mon, 18 Sep 2006 12:36:15 +0100 Message-ID: <450EA0CF.76E4.0078.0@novell.com> References: <450E93A7.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >> Also, I might need a little more clarification on the stack (ab)use for >> creating stubs. > >Just declare a char-array automatic variable, fill it with machine code, and >call it. Actually, I rather wanted to do static setup as much as possible and hence leave only the filling of the actual opcode to be done dynamically (at the price of inserting one or two nops). Jan