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] vmMangleRid

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] vmMangleRid
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Fri, 7 Apr 2006 07:53:39 +0100
Delivery-date: Thu, 06 Apr 2006 23:49:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD5AA9076@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <516F50407E01324991DD6D07B0531AD5AA9076@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Jeudi 06 Avril 2006 18:19, Magenheimer, Dan (HP Labs Fort Collins) a écrit 
:
> > Subject: [Xen-ia64-devel] vmMangleRid
> >
> > Hi
> >
> > the vmMangleRid function starts with:
> >
> >     union bits64 { unsigned char bytes[4]; unsigned long uint; };
> >
> >     union bits64 t;
> >
> > This is strange, I always thought there were 8 bytes in 64 bits...
>
> Using advanced paravirtualization techniques, we are able to
> virtualize 12 bytes into a 64-bit word!
>
> :-) :-) :-) :-) :-) :-)
>
> Seriously, this bug has been there since the alpha release (12/2004)
> so it is apparently harmless, though should be cleaned up.
Yes, alignment and padding saves us !

Tristan.


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

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