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

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

On Tuesday 04 October 2005 11:39, Keir Fraser wrote:
> I don;t want to lose pointer type checks. The manual (u64)(unsigned
> long) casting is gross and loses type checking.

Fair enough.

Actually, another thought... have a look at the attached proof-of-concept 
patch. That preserves pointer type safety while still guaranteeing size and 

> > I don't like calling it a "ulong," because it isn't, and neither is it
> > a "register" size...
> Then what will you call it? xenppchack_t? :-)


Hollis Blanchard
IBM Linux Technology Center

Attachment: xen-ptr-union.diff
Description: Text Data

Xen-devel mailing list



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