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] RFC: 32 bits as smallest atomic size.


On 27 Mar 2005, at 00:27, David Hopwood wrote:

Keir Fraser wrote:
On 26 Mar 2005, at 17:31, Jimi Xenidis wrote:
Few things to note:
1) packed is [un]necessary since the ABI will do the right thing
I prefer to pack things explicitly rather than rely on ABI padding.

If you use -Wpadded when compiling with gcc then you're not relying on
ABI padding; you're automatically checking that it is not used. That
would seem to be precisely what is required here.

If I could specify it on a per-struct basis then it would be perfect. But I do want the normal padding rules to be applied for non-public struct definitions.

 -- Keir



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel