cpuid: add 2 new functions + some more tests
authorAhmed Samy <f.fallen45@gmail.com>
Sun, 22 Sep 2013 07:42:15 +0000 (07:42 +0000)
committerAhmed Samy <f.fallen45@gmail.com>
Sun, 22 Sep 2013 07:42:15 +0000 (07:42 +0000)
commit851a0d36a186d457e175116eadf4aa02c5686d02
treef72564d727749726d85295a38888cff9e0d9757c
parent7684b602b57fffd839180bb952701b71b799abd4
cpuid: add 2 new functions + some more tests

The new functions are:
- get_cpu_type
- get_cpu_type_string

Also add more tests on how one would parse the low-level stuff.

Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
ccan/cpuid/cpuid.c
ccan/cpuid/cpuid.h
ccan/cpuid/test/run.c