Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/81133?usp=email )
Change subject: arch/x86/include: Define feature check macros for MCE and MCA ......................................................................
arch/x86/include: Define feature check macros for MCE and MCA
Define feature check macros for MCE (machine check exception) and MCA (machine check architecture).
Change-Id: I014c25ced1dbe21f35486f8305b1de7669e932d0 Signed-off-by: Shuo Liu shuo.liu@intel.com Signed-off-by: Jincheng Li jincheng.li@intel.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/81133 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Held felix-coreboot@felixheld.de --- M src/arch/x86/include/arch/cpu.h 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Felix Held: Looks good to me, approved
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h index 430d1de..8bc6a18 100644 --- a/src/arch/x86/include/arch/cpu.h +++ b/src/arch/x86/include/arch/cpu.h @@ -48,6 +48,8 @@ #define X86_VENDOR_UNKNOWN 0xff
#define CPUID_FEATURE_PAE (1 << 6) +#define CPUID_FEATURE_MCE (1 << 7) +#define CPUID_FEATURE_MCA (1 << 14) #define CPUID_FEATURE_PSE36 (1 << 17) #define CPUID_FEATURE_HTT (1 << 28)