audk/UefiCpuPkg/Library/CpuCommonFeaturesLib
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
..
Aesni.c UefiCpuPkg: Update AESNI support checking logic 2017-12-27 15:31:34 +08:00
C1e.c
ClockModulation.c UefiCpuPkg/FeaturesLib: Fix Haswell CPU hang with 50% throttling 2018-02-08 13:49:06 +08:00
CpuCommonFeatures.h
CpuCommonFeaturesLib.c
CpuCommonFeaturesLib.inf
CpuCommonFeaturesLib.uni
Eist.c
ExecuteDisable.c
FastStrings.c
FeatureControl.c
LimitCpuIdMaxval.c UefiCpuPkg/CpuCommonFeatures: Follow SDM for MAX CPUID feature detect 2018-05-28 14:59:19 +08:00
MachineCheck.c UefiCpuPkg/CpuCommonFeaturesLib: Fix coding style issue 2018-03-08 08:58:48 +08:00
MonitorMwait.c
PendingBreak.c
Ppin.c
ProcTrace.c
X2Apic.c