summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/MdeModulePkg.dec
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2017-12-22 11:50:49 +0800
committerLiming Gao <liming.gao@intel.com>2017-12-25 11:05:55 +0800
commitfef4cfa7ca4fceb69e3b9bb280584e6de8eac4b0 (patch)
tree7ee1380fa14f81dd40e14858919f20754d9a7946 /MdeModulePkg/MdeModulePkg.dec
parenta37044efba8c6b21c2d919f6ca306fcc69c1f59d (diff)
downloadedk2-fef4cfa7ca4fceb69e3b9bb280584e6de8eac4b0.tar.gz
edk2-fef4cfa7ca4fceb69e3b9bb280584e6de8eac4b0.tar.bz2
edk2-fef4cfa7ca4fceb69e3b9bb280584e6de8eac4b0.zip
MdeModulePkg: Enable Firmware to retrieve the default setting
https://bugzilla.tianocore.org/show_bug.cgi?id=611 Add two PCDs and new PCD DB format definition Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/MdeModulePkg.dec')
-rw-r--r--MdeModulePkg/MdeModulePkg.dec11
1 files changed, 11 insertions, 0 deletions
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index d134ec798a..037b16e2d0 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -1907,5 +1907,16 @@
# @Prompt If there is any test key used by the platform.
gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed|FALSE|BOOLEAN|0x00030003
+[PcdsDynamicEx]
+ ## This dynamic PCD enables the default variable setting.
+ # Its value is the default store ID value. The default value is zero as Standard default.
+ # When its value is set in PEI, it will trig the default setting to be applied as the default EFI variable.
+ # @Prompt NV Storage DefaultId
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSetNvStoreDefaultId|0x0|UINT16|0x00030004
+
+ ## This dynamic PCD holds the DynamicHii PCD value. Its value is the auto generated.
+ # @Prompt NV Storage Default Value Buffer
+ gEfiMdeModulePkgTokenSpaceGuid.PcdNvStoreDefaultValueBuffer|{0x0}|VOID*|0x00030005
+
[UserExtensions.TianoCore."ExtraFiles"]
MdeModulePkgExtra.uni