From: "Jan Beulich" <jbeulich@novell.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: pointers in public headers
Date: Fri, 25 Aug 2006 16:40:38 +0100 [thread overview]
Message-ID: <44EF3616.76E4.0078.0@novell.com> (raw)
In-Reply-To: <C114D50B.15C7%Keir.Fraser@cl.cam.ac.uk>
>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
prev parent reply other threads:[~2006-08-25 15:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-25 7:05 pointers in public headers Jan Beulich
2006-08-25 7:41 ` Keir Fraser
2006-08-25 13:15 ` Jan Beulich
2006-08-25 14:14 ` Keir Fraser
2006-08-25 15:13 ` Jan Beulich
2006-08-25 15:25 ` Keir Fraser
2006-08-25 15:40 ` Jan Beulich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44EF3616.76E4.0078.0@novell.com \
--to=jbeulich@novell.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.