]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg: Add CPU Features PEI/DXE drivers
authorJeff Fan <jeff.fan@intel.com>
Tue, 7 Mar 2017 11:23:12 +0000 (19:23 +0800)
committerJeff Fan <jeff.fan@intel.com>
Wed, 22 Mar 2017 02:12:02 +0000 (10:12 +0800)
commit82e75ac65abdfca034cfb38edcee8a7cbc6e6271
tree4f1656d84b3e5e5116a5a606c11c8c1727d1b998
parent0a70d1c3042956c418c89a703d40d3262e4d6c87
UefiCpuPkg: Add CPU Features PEI/DXE drivers

They will consume Register CPU Features library to detect and initialize CPU
features.

CpuFeaturesPei driver is used to initialize CPU features in PEI phase.
CpuFeaturesDxe driver is used to initialize CPU features in DXE phase.

Add PcdCpuFeaturesInitAfterSmmRelocation and PcdCpuFeaturesInitOnS3Resume
that consumed by CpuFeaturesPei and CpuFeaturesDxe.

Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.c [new file with mode: 0644]
UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf [new file with mode: 0644]
UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.uni [new file with mode: 0644]
UefiCpuPkg/CpuFeatures/CpuFeaturesDxeExtra.uni [new file with mode: 0644]
UefiCpuPkg/CpuFeatures/CpuFeaturesPei.c [new file with mode: 0644]
UefiCpuPkg/CpuFeatures/CpuFeaturesPei.inf [new file with mode: 0644]
UefiCpuPkg/CpuFeatures/CpuFeaturesPei.uni [new file with mode: 0644]
UefiCpuPkg/CpuFeatures/CpuFeaturesPeiExtra.uni [new file with mode: 0644]
UefiCpuPkg/UefiCpuPkg.dec
UefiCpuPkg/UefiCpuPkg.dsc