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] 32/64-bit hypercall interface


On 29 Sep 2005, at 21:12, Hollis Blanchard wrote:

start_info_t: tools, kernel
xen_parameters_info_t: tools, hypervisor
gnttab_setup_table_t: kernel, hypervisor
gnttab_transfer_t: kernel, hypervisor
struct xen_memory_reservation: tools, kernel, hypervisor
struct t_rec: tools, hypervisor
struct t_buf: tools, hypervisor

(This was just a quick grep for "long" in xen/include/public.)

Of course, pointers have the same problem. Thankfully, it seems pointers are mostly found in the same list of offenders. (It's also a little harder to
grep for "*", so I could be missing some problems.)

How about writing a script that converts the Xen public headers into a set that, when compiled on 32-bit ppc, match the 64-bit ppc layout? That might be saner than trying to manually finesse our headers around the ppc abi so that building in 32-bit or 64-bit environment both happen to give same binary layout.

 -- Keir


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