V2 Changes include:
1. Add ASSERT to make sure PcdCpuFeaturesSetting and
   PcdCpuFeaturesCapability have equal size.
2. Correct comment block on IsCpuFeatureSetInCpuPcd() references
   "PcdCpuFeaturesSupport". It should reference "CpuBitMask".

V1 Changes includes:
1. Optimize PCD PcdCpuFeaturesUserConfiguration 
2. Limit useage of PcdCpuFeaturesSupport 
3. Remove some useless APIs.
Detail explanation please check each patch's introduction.

Cc: Ray Ni <ray...@intel.com>
Cc: Laszlo Ersek <ler...@redhat.com>
Eric Dong (4):
  UefiCpuPkg/RegisterCpuFeaturesLib: Remove useless functions.
  UefiCpuPkg/RegisterCpuFeaturesLib: Optimize PCD 
    PcdCpuFeaturesUserConfiguration.
  UefiCpuPkg/RegisterCpuFeaturesLib: Simplify PcdCpuFeaturesSupport.
  UefiCpuPkg/RegisterCpuFeaturesLib: Correct comments.

 .../Include/Library/RegisterCpuFeaturesLib.h       |  34 ------
 .../RegisterCpuFeaturesLib/CpuFeaturesInitialize.c | 114 ++++++---------------
 .../DxeRegisterCpuFeaturesLib.inf                  |   3 +-
 .../PeiRegisterCpuFeaturesLib.inf                  |   3 +-
 .../RegisterCpuFeaturesLib/RegisterCpuFeatures.h   |   2 -
 .../RegisterCpuFeaturesLib.c                       |  64 ++----------
 UefiCpuPkg/UefiCpuPkg.dec                          |   9 +-
 7 files changed, 45 insertions(+), 184 deletions(-)

-- 
2.15.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to