audk/UefiCpuPkg/Library/CpuCommonFeaturesLib
Star Zeng 84a4594720 UefiCpuPkg CpuCommonFeaturesLib: Enhance Ppin code
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1961
Enhance Ppin code to enable and unlock for TRUE State,
and disable and lock for FALSE State.
Note: enable and lock could not be set both.
According to SDM, once Enable_PPIN is set, attempt to write
1 to LockOut will cause #GP, and writing 1 to LockOut is
permitted only if Enable_PPIN is clear.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Chandana Kumar <chandana.c.kumar@intel.com>
Cc: Kevin Li <kevin.y.li@intel.com>
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
2019-07-16 16:03:51 +08:00
..
Aesni.c UefiCpuPkg CpuCommonFeaturesLib: Remove CPU generation check 2019-05-18 13:55:50 +08:00
C1e.c UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
ClockModulation.c UefiCpuPkg CpuCommFeaturesLib: Reduce to set MSR_IA32_CLOCK_MODULATION 2019-06-06 18:52:35 +08:00
CpuCommonFeatures.h UefiCpuPkg CpuCommonFeaturesLib: Enhance Ppin code 2019-07-16 16:03:51 +08:00
CpuCommonFeaturesLib.c UefiCpuPkg CpuCommonFeaturesLib: Enhance Ppin code 2019-07-16 16:03:51 +08:00
CpuCommonFeaturesLib.inf UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
CpuCommonFeaturesLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
Eist.c UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
ExecuteDisable.c UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
FastStrings.c UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
FeatureControl.c UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
LimitCpuIdMaxval.c UefiCpuPkg: Remove double \r 2019-05-13 08:45:22 +08:00
MachineCheck.c UefiCpuPkg CpuCommFeaturesLib: Fix ASSERT if LMCE is supported 2019-06-06 18:52:07 +08:00
MonitorMwait.c UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PendingBreak.c UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
Ppin.c UefiCpuPkg CpuCommonFeaturesLib: Enhance Ppin code 2019-07-16 16:03:51 +08:00
ProcTrace.c UefiCpuPkg CpuCommFeaturesLib: Fix GP fault issue about ProcTrace 2019-06-06 18:51:45 +08:00
X2Apic.c UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00