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] ia64 question ...

To: Gerd Hoffmann <kraxel@xxxxxxx>, Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] ia64 question ...
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 08 Nov 2006 17:20:18 +0000
Delivery-date: Wed, 08 Nov 2006 09:20:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45520E4E.4090700@xxxxxxx>
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: AccDWiloaA1+Sm9NEdu1yAAX8io7RQ==
Thread-topic: [Xen-devel] ia64 question ...
User-agent: Microsoft-Entourage/11.2.5.060620


On 8/11/06 17:05, "Gerd Hoffmann" <kraxel@xxxxxxx> wrote:

> offsetof(struct vcpu_guest_context,user_regs)) gives me 16.  I've
> expected 8.  Does ia64 align structs on 16 byte borders?  Or is there
> some other reason?

The cpu_user_regs contains fields that require 16-byte alignment (the
pt_fpreg structs) and this forces 16-byte alignment for the structure as a
whole.

 -- Keir




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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