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

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



On Thu, 2006-05-25 at 18:39 +0300, Muli Ben-Yehuda wrote:
> On Wed, May 24, 2006 at 06:04:34PM -0500, Hollis Blanchard wrote:
> 
> > Replace 'long' in the dom0_ops and privcmd structures with uint64_t.
> 
> I am all in favor of identifying interfaces using explicitly sized
> types. The standard kernel style is to use u64 not uint64_t though.

(There is plenty of uint.._t in Linux.)

I assume you're referring specifically to the privcmd structure change,
which is the only Linux-specific part of the patch. The privcmd
structure is shared between userspace and the kernel. Since "u64" is a
kernel type, we need to use "uint64_t", which has meaning in userspace.

-- 
Hollis Blanchard
IBM Linux Technology Center


_______________________________________________
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®.