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] [PATCH][XEN] Use a union to pack the dual-short combos i

To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][XEN] Use a union to pack the dual-short combos in an endian neutral way.
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D74F7A29-12CF-49F3-BB94-2C13FEB5CB29@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aca/AHm9uIDpPirzEdupUAANk04WTA==
Thread-topic: [Xen-devel] [PATCH][XEN] Use a union to pack the dual-short combos in an endian neutral way.
User-agent: Microsoft-Entourage/11.2.5.060620
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

<Prev in Thread] Current Thread [Next in Thread>