diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-02-06 18:36:45 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-02-08 15:12:13 +0000 |
commit | 180e414a801935b3557c9a932c87e61acf2c697a (patch) | |
tree | d602963094e49d8e31e0c702b2ea6465ad37f0ae /src/commonlib/storage/bouncebuf.h | |
parent | 9700fe2f101738689274cd124706677b22b51b3c (diff) |
arch/x86/include/cpu: introduce CPUID_FROM_FMS macro
Introduce a macro to get the raw CPUID leaf 1 EAX value from a given set
of CPU family, model and stepping. The processor type in bits 12 and 13
is assumed to be always be zero; at least this is the case for all
CPUIDs that are currently in the coreboot tree. This can be used to
make the device values in the CPU device ID tables easier to read.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Idab77453712b14983b1d02ca365f7924239fc2bf
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72856
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib/storage/bouncebuf.h')
0 files changed, 0 insertions, 0 deletions