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

Re: [Xen-devel] Re: 32/64-bit hypercall interface -- long long alignment

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Re: 32/64-bit hypercall interface -- long long alignment
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Tue, 4 Oct 2005 16:46:42 -0500
Cc: Andi Kleen <ak@xxxxxxx>
Delivery-date: Tue, 04 Oct 2005 21:45:45 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p73fyrh1o3u.fsf@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <A95E2296287EAD4EB592B5DEEFCE0E9D32E11A@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <p73fyrh1o3u.fsf@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.2
On Tuesday 04 October 2005 07:08, Andi Kleen wrote:
>
> There are some traps. e.g. i386 has a different alignment for u64 (4
> bytes) rather than the natural 8 bytes used on 64bits which causes
> many problems (like the iptables issue mentioned above). If you use
> this way use a new type which is long long
> __attribute__((aligned(8))), not just long long.

Good to know! Thanks for the warning...

-- 
Hollis Blanchard
IBM Linux Technology Center

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