From: Keir Fraser Subject: Re: 32/64-bit hypercall interface Date: Thu, 29 Sep 2005 10:00:23 +0100 Message-ID: <0d8fc889f76b625d828288bdb1cf9a21@cl.cam.ac.uk> References: <200509281636.23324.hollisb@us.ibm.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200509281636.23324.hollisb@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Hollis Blanchard Cc: Jimi Xenidis , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 28 Sep 2005, at 22:36, Hollis Blanchard wrote: > I was looking at the definition of privcmd_hypercall: > typedef struct privcmd_hypercall > { > unsigned long op; > unsigned long arg[5]; > } privcmd_hypercall_t; > > For ppc64, we are using 32-bit management tools, so this is a problem: > they > will create structs where long is 32 bits, and the (64-bit) kernel and > hypervisor will expect structs where long is 64 bits. We want the args to be 'machine-register sized' which is why they are longs. Why use 32-bit tools on 64-bit hypervisor? -- Keir