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

Re: [Xen-devel] [PATCH][XEN] Use a union to pack the dual-short combos in an endian neutral way.


  • To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Sun, 13 Aug 2006 18:46:59 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 13 Aug 2006 10:55:48 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Aca/AHm9uIDpPirzEdupUAANk04WTA==
  • Thread-topic: [Xen-devel] [PATCH][XEN] Use a union to pack the dual-short combos in an endian neutral way.

I think it's an improvement in readability. Fine by me.

 -- Keir

On 13/8/06 6:50 pm, "Jimi Xenidis" <jimix@xxxxxxxxxxxxxx> wrote:

> Any comments on how this was done?
> Shall I continue to apply this method to the new grant-table copy
> operation?
> -JX
> On Aug 11, 2006, at 12:36 PM, Jimi Xenidis wrote:
> 
>> 
>> The first to members of a grant entry are updated as a combined pair.
>> The following union patch uses a union so updated can happen in an
>> endian neutral fashion.
>> 
>> Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>



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