[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.