(re-adding xen-devel) >>> On 22.01.15 at 17:54, <[email protected]> wrote: > On Thu, Jan 22, 2015 at 5:34 PM, Jan Beulich <[email protected]> wrote: >>>>> On 22.01.15 at 17:23, <[email protected]> wrote: >>> Wouldn't making the >>> struct packed just take care of it automatically? >> >> How would you envision to do that without using compiler >> extensions? > > My understanding of making the struct packed is that there is simply > no alignment and padding. Thus, it would look the same on 32-bit and > 64-bit as the size of each member is explicitly the same on each > architecture. Am I missing something here?
But isn't that exactly what I suggested by adding explicit padding? If not, please give an example. Jan _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
