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

Re: [Xen-devel] [PATCH 1/5] xen: improve changes to xen_add_to_physmap



>>> On 07.08.12 at 17:24, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:
> Jan Beulich writes ("Re: [Xen-devel] [PATCH 1/5] xen: improve changes to 
> xen_add_to_physmap"):
>> #if __XEN_LATEST_INTERFACE_VERSION__ > 0x040200
>> union {
>> #endif
>>     /* Number of pages to go through for gmfn_range */
>>     uint16_t    size;
>> #if __XEN_LATEST_INTERFACE_VERSION__ > 0x040200
>>     /* IFF gmfn_foreign */
>>     domid_t foreign_domid;
>> } u;
>> #endif
> 
> Has someone checked that on all supported platforms the size and
> alignment of this union is identical to that of the original
> uint16_t ?

Since domid_t is uniformly a typedef of uint16_t, I don't think
there's any doubt in that.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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