|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] pointers in public headers
>I don't know enough about the scheme you are implementing to be able to
>comment.
You could look at the patches posted earlier today. In short, it simply takes
the public headers and replaces all occurrences of 'long' in there with 'int'
(while obviously properly renaming everything to not result in name
collisions) - whether other types are used that need adjustment will need
to be seen later.
>I mean API compat from the p.o.v. of guests -- any macro would only
>be defined as other than a plain pointer for Xen and your scripts, which
>would presumably know what they're doing and avoid compile warnings.
Yes, if the whole Xen tree (including the tools) is not of concern, then
this would work - Xen (and implicitly the conversion script) would see an
unsigned long there then, which match all other places needing
conversion.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|