From: Keir Fraser Subject: Re: [PATCH] Allow direct hypercalls Date: Thu, 01 May 2008 16:03:43 +0100 Message-ID: References: <9a5c6e3620d83f9354e3.1209560191@xenbld> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9a5c6e3620d83f9354e3.1209560191@xenbld> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: john.levon@sun.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 30/4/08 13:56, "john.levon@sun.com" wrote: > # HG changeset patch > # User john.levon@sun.com > # Date 1209521783 25200 > # Node ID 9a5c6e3620d83f9354e3eedbc4ef24a7a5ad752e > # Parent f477f895f78752bb9fa2e6ee6c1d09b6a8cd3230 > Allow direct hypercalls > > For PV guests, there's no reason to force use of the indirect hypercall > mechanism. Allow it. Also allow TRAP_INSTR to be used from assembly. > > Signed-off-by: John Levon Well, I suppose there is no reason. But since the instructions are not going to change you could just as well just open-code them, or define your own macro. _ASM isn't even a macro name that we use anywhere else in the public headers. -- Keir