From: Keir Fraser Subject: Re: ia64 question ... Date: Wed, 08 Nov 2006 17:20:18 +0000 Message-ID: References: <45520E4E.4090700@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45520E4E.4090700@suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann , Xen devel list List-Id: xen-devel@lists.xenproject.org On 8/11/06 17:05, "Gerd Hoffmann" 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