]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/RegisterCpuFeaturesLib: Simplify PcdCpuFeaturesSupport.
authorEric Dong <eric.dong@intel.com>
Wed, 13 Feb 2019 00:16:32 +0000 (08:16 +0800)
committerEric Dong <eric.dong@intel.com>
Thu, 4 Apr 2019 06:11:04 +0000 (14:11 +0800)
commit001c2c80333f41cfcd3e7de6f39a5301cefaf472
treead5e28be5ec5b928c6d5d703a2a7dae3ddf21282
parent6214ffb41079525875af3adc7f437a0fe8dbd09d
UefiCpuPkg/RegisterCpuFeaturesLib: Simplify PcdCpuFeaturesSupport.

PcdCpuFeaturesSupport used to specify the platform policy about
what CPU features this platform supports. This PCD will be used
in IsCpuFeatureSupported only.

Now RegisterCpuFeaturesLib use this PCD as an template to Get the
pcd size. Update the code logic to replace it with
PcdCpuFeaturesSetting.

BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1375

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
UefiCpuPkg/Library/RegisterCpuFeaturesLib/CpuFeaturesInitialize.c
UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h
UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c