summaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorShuo Liu <shuo.liu@intel.com>2022-08-23 00:12:29 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-08-22 13:07:14 +0000
commit94a65fa2c6c8922ef9883cc45656a19f994975e5 (patch)
tree655cf7ebd87ef6f1728ce42a3f04f24dbb05d4ae /src/arch/x86/include
parentbdce399a124c519a58675470adc58085562b1a61 (diff)
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>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/arch/cpu.h2
1 files changed, 2 insertions, 0 deletions
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)