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

Re: [Xen-devel] [patch] [3/3] dom0_ops explicitly sized types



On Fri, May 26, 2006 at 12:57:30PM -0700, Chris Wright wrote:

> > This won't work on platforms that don't provide __u64. Xen needs to
> > define them somewhere for the userspace.
> 
> +++ b/linux-2.6-xen-sparse/include/xen/public/privcmd.h
> 
> That's specifically the part I'm talking about.
> 
> WRT Xen's public headers, that's a different issue, however there's
> still some of the same namespace concerns.  Of course, I'd be thrilled
> to make it all __u64 in public headers w/ appropriate types.h involved.
> And realisitically, platforms will all need some santized version of the
> headers anyway.

Yes, but hopefully it will be possible to provide the structure
definitions in some generic form, possibly by including another header
that has the platform-specific parts (such as ioctl numbers, __u64
definitions on Solaris, etc.)

It would be a shame if we had to duplicate the structure definitions 3
or more times.

regards
john

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


 


Rackspace

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