From 94a65fa2c6c8922ef9883cc45656a19f994975e5 Mon Sep 17 00:00:00 2001 From: Shuo Liu Date: Tue, 23 Aug 2022 00:12:29 +0800 Subject: 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 Signed-off-by: Jincheng Li Reviewed-on: https://review.coreboot.org/c/coreboot/+/81133 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/arch/x86/include/arch/cpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h index 430d1de310..8bc6a182af 100644 --- a/src/arch/x86/include/arch/cpu.h +++ b/src/arch/x86/include/arch/cpu.h @@ -48,6 +48,8 @@ static inline unsigned int cpuid_get_max_func(void) #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) -- cgit v1.2.3