WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] [Patch] linux: set memory attribute in inlineasm

To: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [Patch] linux: set memory attribute in inlineasm
From: tgingold@xxxxxxx
Date: Sat, 05 Apr 2008 16:33:12 +0200
Cc: Aron Griffis <aron@xxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 05 Apr 2008 07:33:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080405031136.GA16766%yamahata@xxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <D9C896386EFDF5takebe_akio@xxxxxxxxxxxxxx> <20080404131257.GA29397@xxxxxxxxx> <DDC896587271C5takebe_akio@xxxxxxxxxxxxxx> <20080405031136.GA16766%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.2.8
Selon Isaku Yamahata <yamahata@xxxxxxxxxxxxx>:

> diff -r bb2f8ba47833 include/asm-ia64/xen/privop.h
> --- a/include/asm-ia64/xen/privop.h   Tue Mar 25 12:37:54 2008 -0600
> +++ b/include/asm-ia64/xen/privop.h   Sat Apr 05 07:27:30 2008 +0900
> @@ -67,7 +67,7 @@
>  #endif
>
>  #ifndef __ASSEMBLY__
> -#define      XEN_HYPER_SSM_I         asm("break %0" : : "i" 
> (HYPERPRIVOP_SSM_I))
> +#define      XEN_HYPER_SSM_I         asm("break %0" : : "i" 
> (HYPERPRIVOP_SSM_I):
> "memory")
>  #define      XEN_HYPER_GET_IVR       asm("break %0" : : "i" 
> (HYPERPRIVOP_GET_IVR))
>
>  /************************************************/
>
> Shouldn't those be asm volatile, but asm?

IIRC, according to the gcc doc asm without outputs are volatile.

Tristan.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel