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-merge

Re: [Xen-merge] fs/gs handling

On Fri, Aug 12, 2005 at 05:11:49AM +0200, Kurt Garloff wrote:
> Hi Chris,
> 
> On Thu, Aug 11, 2005 at 07:41:45PM -0700, Chris Wright wrote:
> > Any reason that fs/gs are specifically handled with mov not movl in
> > these cases?
> > 
> >  #define deactivate_mm(tsk, mm) \
> > -   asm("movl %0,%%fs ; movl %0,%%gs": :"r" (0))
> > +   asm("mov %0,%%fs ; mov %0,%%gs": :"r" (0))
> 
> mov works for both x86 and x86-64 ...
> ... though I don't know whether that's relevant here.

It's not. Segment registers cannot be 64bit.

-Andi

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

<Prev in Thread] Current Thread [Next in Thread>