summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/UefiCpuPkg.dec
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2017-03-07 19:23:12 +0800
committerJeff Fan <jeff.fan@intel.com>2017-03-22 10:12:02 +0800
commit82e75ac65abdfca034cfb38edcee8a7cbc6e6271 (patch)
tree4f1656d84b3e5e5116a5a606c11c8c1727d1b998 /UefiCpuPkg/UefiCpuPkg.dec
parent0a70d1c3042956c418c89a703d40d3262e4d6c87 (diff)
downloadedk2-82e75ac65abdfca034cfb38edcee8a7cbc6e6271.tar.gz
edk2-82e75ac65abdfca034cfb38edcee8a7cbc6e6271.tar.bz2
edk2-82e75ac65abdfca034cfb38edcee8a7cbc6e6271.zip
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>
Diffstat (limited to 'UefiCpuPkg/UefiCpuPkg.dec')
-rw-r--r--UefiCpuPkg/UefiCpuPkg.dec8
1 files changed, 8 insertions, 0 deletions
diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec
index 745f986156..4a679bdb57 100644
--- a/UefiCpuPkg/UefiCpuPkg.dec
+++ b/UefiCpuPkg/UefiCpuPkg.dec
@@ -196,6 +196,14 @@
# @Prompt Supported CPU features
gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSupport|{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}|VOID*|0x00000016
+ ## Specifies if CPU features will be initialized after SMM relocation
+ # @Prompt if CPU features will be initialized after SMM relocation
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesInitAfterSmmRelocation|FALSE|BOOLEAN|0x0000001C
+
+ ## Specifies if CPU features will be initialized during S3 resume
+ # @Prompt if CPU features will be initialized during S3 resume
+ gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesInitOnS3Resume|FALSE|BOOLEAN|0x0000001D
+
[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
## Specifies max supported number of Logical Processors.
# @Prompt Configure max supported number of Logical Processors