audk/UefiCpuPkg/Library
Ruiyu Ni 60cb4d1b04 UefiCpuPkg/CpuCommonFeatures: Follow SDM for MAX CPUID feature detect
According to IA manual:
"Before setting this bit (MSR_IA32_MISC_ENABLE[22]) , BIOS must
execute the CPUID.0H and examine the maximum value returned in
EAX[7:0]. If the maximum value is greater than 2, this bit is
supported."

We need to fix our current detection logic to compare against 2.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Cc: Ming Shao <ming.shao@intel.com>
2018-05-28 14:59:19 +08:00
..
BaseUefiCpuLib UefiCpuPkg/BaseUefiCpuLib.inf: Remove unnecessary library class. 2017-08-16 16:16:18 +08:00
BaseXApicLib UefiCpuPkg: ApicLib 2017-09-05 13:03:22 +08:00
BaseXApicX2ApicLib UefiCpuPkg: ApicLib 2017-09-05 13:03:22 +08:00
CpuCommonFeaturesLib UefiCpuPkg/CpuCommonFeatures: Follow SDM for MAX CPUID feature detect 2018-05-28 14:59:19 +08:00
CpuExceptionHandlerLib UefiCpuPkg CpuExceptionHandlerLib: use FixedPcdGetSize() as the macro value 2018-03-16 14:34:44 +08:00
MpInitLib UefiCpuPkg MpInitLib: Fix typo "sCPUID" to "CPUID" 2018-04-25 15:19:34 +08:00
MtrrLib UefiCpuPkg/MtrrLib: Add comments to recommend to use batch-set API 2018-01-24 11:13:17 +08:00
PlatformSecLibNull UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00
RegisterCpuFeaturesLib UefiCpuPkg: Delete redundant PcdGetSize PcdCpuFeaturesSupport 2017-12-27 15:31:33 +08:00
SecPeiDxeTimerLibUefiCpu UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00
SmmCpuFeaturesLib UefiCpuPkg: Update SmmCpuFeatureLib pass XCODE5 tool chain 2018-01-16 23:42:58 +08:00
SmmCpuPlatformHookLibNull UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00