Reviewed-by: Jeff Fan <jeff.fan@intel.com>
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Eric Dong
Sent: Tuesday, July 11, 2017 10:19 AM
To: edk2-devel@lists.01.org
Subject: [edk2] [Patch V2 0/2] Fix enable Smx/Vmx error.
Patch also add error handling code when enable feature failed.
V2 changes:
If can't enable the feature, then disable it. V1 patch missed it.
Eric Dong (2):
UefiCpuPkg RegisterCpuFeaturesLib: Add error handling code.
UefiCpuPkg CpuCommonFeaturesLib: Fix smx/vmx enable logic error.
.../CpuCommonFeaturesLib/CpuCommonFeatures.h | 47 +++------
.../CpuCommonFeaturesLib/CpuCommonFeaturesLib.c | 19 +---
.../Library/CpuCommonFeaturesLib/FeatureControl.c | 106 ++++++++------------- .../RegisterCpuFeaturesLib/CpuFeaturesInitialize.c | 47 ++++++++-
4 files changed, 101 insertions(+), 118 deletions(-)
--
2.7.0.windows.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel