]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/CpuCommonFeaturesLib: Add CPUID MCA support check
authorEric Dong <eric.dong@intel.com>
Thu, 17 Aug 2017 03:33:30 +0000 (11:33 +0800)
committerEric Dong <eric.dong@intel.com>
Mon, 28 Aug 2017 07:23:21 +0000 (15:23 +0800)
commitac401975581daf1e4e353898f7441eeb668ba304
tree488fb4567cea977b82d7c54c057c1f9f1e89bf0d
parentef5e0db22cdd73e9727afcaa5c7fe8e55b7b3671
UefiCpuPkg/CpuCommonFeaturesLib: Add CPUID MCA support check

Add CPUID check to see if the CPU supports the Machine Check
Architecture before accessing the Machine Check Architecture
related MSRs.

Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
UefiCpuPkg/Library/CpuCommonFeaturesLib/Lmce.c