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

Re: [Xen-devel] PACKED in structure is xen.h - newbie (OT)




On 30 Mar 2005, at 12:20, sting sting wrote:

What is this 'PACKED'? is it the __attribute__ ((__packed__)) of gcc (or something near)?

Is there somewhere a macro in Xen which defines it? (or is it a part of some gcc extension?)

It means that the compiler will not add extra padding in between adjacent fields in teh struct. I've been convinced this is not the best way to define the interface structures, so all the PACKED declarations will be disappearing in the near future!

 -- Keir


_______________________________________________
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®.