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>
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user