diff options
author | Raul E Rangel <rrangel@chromium.org> | 2018-08-22 10:03:05 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-08-23 16:24:38 +0000 |
commit | 052b5317dafade3884eb63aacd5960dcce871945 (patch) | |
tree | e7a718c08638b1c5483c3e97ff8abb0ed17f2876 /payloads/libpayload/arch/x86/exception.c | |
parent | fcca617eaf6389e76d51c636329b3ed131deccd0 (diff) |
libpayload/x86/cpuid: Add a cpuid macro
Since libpayload doesn't link against libgcc we need to define our own
cpuid macro. I didn't add any error checking since anything in the last
decade should support cpuid.
BUG=b:109749762
TEST=called it and made sure the correct flags were returned.
Change-Id: Id09878ac80c74416d0abca83e217516a9c1afeff
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://review.coreboot.org/28238
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'payloads/libpayload/arch/x86/exception.c')
0 files changed, 0 insertions, 0 deletions