On Tue, Sep 20, 2016 at 04:05:12AM -0600, Jan Beulich wrote:
> >>> On 20.09.16 at 11:49, <daniel.ki...@oracle.com> wrote:
> > Out of curiosity, could you outline in a few words your idea?
> Well, one approach would be something along the lines of
> the public headers errno.h and cpufeatureset.h: Have a helper
> header invoking some macro, where the macro arguments
> specify both the C and assembly representation. Prior to
> #include-ing the use sites would actually #define that macro,
> suitably using / omitting the use of the various parameters.
> Another would be to simply have a translation tool (at least
> old Windows SDKs [or DDKs] had something like that, h2inc
> I think).
Yep, I remember that there was such thing here and there.
> And then there would of course be the pretty obvious
> asm-offsets approach we're already using for other purposes.
I was thinking about that, however, I was not sure how to define
struct members in asm. Right now it seems to me that we could
Thanks for explanation.
Xen-devel mailing list