[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] 32/64-bit hypercall interface

On Monday 03 October 2005 16:24, Nakajima, Jun wrote:
> Hollis Blanchard wrote:
> > As mentioned previously, this is the approach Linux uses
> > (linux/fs/compat_ioctl.c), and it seems less than ideal to me. Since
> > we have the ability to fix it now (i.e. make the 32-bit and 64-bit
> > ABI identical), shouldn't we do that rather than this copying/munging
> > layer?
> The 32-bit and 64-bit hypercall ABI cannot be identical on x86 because
> of the generic ABI difference between 32-bit and 64-bit.

I am not talking about the standard ABI used by the compiler (ppc32 and ppc64 
use different ABIs as well). I am talking about the hypervisor/tools and 
hypervisor/kernel ABI.

If the hypervisor ABI does not contain types that change size, it will be 
identical for both 32- and 64-bit users.

If you meant something else when you said "generic ABI difference," could you 

Hollis Blanchard
IBM Linux Technology Center

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.