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 UefiCpuPkg/CpuFeatures: Change files format to DOS 2017-04-05 16:33:16 +08:00
ClockModulation.c UefiCpuPkg/FeaturesLib: Fix Haswell CPU hang with 50% throttling 2018-02-08 13:49:06 +08:00
CpuCommonFeatures.h UefiCpuPkg: Enable Processor Trace feature. 2017-08-04 12:26:44 +08:00
CpuCommonFeaturesLib.c UefiCpuPkg: Enable Processor Trace feature. 2017-08-04 12:26:44 +08:00
CpuCommonFeaturesLib.inf UefiCpuPkg/CpuCommonFeaturesLib: Merge machine check code to same file. 2017-08-28 15:23:21 +08:00
CpuCommonFeaturesLib.uni UefiCpuPkg/CpuFeatures: Change files format to DOS 2017-04-05 16:33:16 +08:00
Eist.c UefiCpuPkg/CpuFeatures: Change files format to DOS 2017-04-05 16:33:16 +08:00
ExecuteDisable.c UefiCpuPkg/CpuFeatures: Change files format to DOS 2017-04-05 16:33:16 +08:00
FastStrings.c UefiCpuPkg/CpuFeatures: Change files format to DOS 2017-04-05 16:33:16 +08:00
FeatureControl.c UefiCpuPkg CpuCommonFeaturesLib: Fix smx/vmx enable logic error. 2017-07-12 08:51:08 +08:00
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 UefiCpuPkg/CpuFeatures: Change files format to DOS 2017-04-05 16:33:16 +08:00
PendingBreak.c UefiCpuPkg/CpuFeatures: Change files format to DOS 2017-04-05 16:33:16 +08:00
Ppin.c UefiCpuPkg/CpuCommonFeaturesLib: Fix the documentation of PpinSupport(). 2017-08-03 09:05:47 +08:00
ProcTrace.c UefiCpuPkg/CpuCommonFeaturesLib: Add check for input parameter. 2017-09-27 11:15:29 +08:00
X2Apic.c UefiCpuPkg/CpuCommonFeaturesLib: Support X2APIC enable 2017-05-27 13:29:38 +08:00