[ccan] [PATCH] cpuid: new module

Ahmed Samy f.fallen45 at gmail.com
Mon Sep 23 15:32:15 EST 2013


On Mon, Sep 23, 2013 at 1:15 AM, David Gibson
<david at gibson.dropbear.id.au>wrote:

> On Sat, Sep 21, 2013 at 09:48:16AM +0000, Ahmed Samy wrote:
> > This module parses data provided by the cpuid instruction.
> > It still needs more work, however, it works for most important
> > stuff.
> >
> > Signed-off-by: Ahmed Samy <f.fallen45 at gmail.com>
>
> This needs some Makefile magic so that it's only compiled on x86
> machines.  Otherwise I expect it will break a full compile on anything
> non-x86.
>
> --
> David Gibson                    | I'll have my music baroque, and my code
> david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_
> _other_
>                                 | _way_ _around_!
> http://www.ozlabs.org/~dgibson
>
By non x86 machines, did you mean x86_64 as well?
For a compiler magic, we can test with ${shell "arch -m"} maybe?

Thanks,
Ahmed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20130923/bb9230f1/attachment.html>


More information about the ccan mailing list