From: Keir Fraser Subject: Re: [PATCH][XEN] Use a union to pack the dual-short combos in an endian neutral way. Date: Sun, 13 Aug 2006 18:46:59 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jimi Xenidis Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org I think it's an improvement in readability. Fine by me. -- Keir On 13/8/06 6:50 pm, "Jimi Xenidis" 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