diff options
author | Liming Gao <liming.gao@intel.com> | 2017-12-22 12:42:00 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2017-12-25 11:05:57 +0800 |
commit | 219247e16462d72e3b22db4e21bfaec256cc5fbb (patch) | |
tree | 8c10445133e92a4560d2861273d2be9011f00f69 /MdeModulePkg/Universal/PCD/Pei/Service.h | |
parent | 8ddbd22716621519101493bcac9bc8626823db67 (diff) | |
download | edk2-219247e16462d72e3b22db4e21bfaec256cc5fbb.tar.gz edk2-219247e16462d72e3b22db4e21bfaec256cc5fbb.tar.bz2 edk2-219247e16462d72e3b22db4e21bfaec256cc5fbb.zip |
MdeModulePkg PCD: Enable Firmware to retrieve the default setting
https://bugzilla.tianocore.org/show_bug.cgi?id=611
Update PCD driver to retrieve the default setting and set the initial
EFI variable when PcdSetNvStoreDefaultId is set.
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/Universal/PCD/Pei/Service.h')
-rw-r--r-- | MdeModulePkg/Universal/PCD/Pei/Service.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/PCD/Pei/Service.h b/MdeModulePkg/Universal/PCD/Pei/Service.h index fa14abeaa3..e3b68aabc4 100644 --- a/MdeModulePkg/Universal/PCD/Pei/Service.h +++ b/MdeModulePkg/Universal/PCD/Pei/Service.h @@ -23,6 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Ppi/PiPcdInfo.h>
#include <Guid/PcdDataBaseHobGuid.h>
#include <Guid/PcdDataBaseSignatureGuid.h>
+#include <Guid/VariableFormat.h>
#include <Library/DebugLib.h>
#include <Library/PeimEntryPoint.h>
#include <Library/BaseLib.h>
@@ -36,7 +37,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. // Please make sure the PCD Serivce PEIM Version is consistent with
// the version of the generated PEIM PCD Database by build tool.
//
-#define PCD_SERVICE_PEIM_VERSION 6
+#define PCD_SERVICE_PEIM_VERSION 7
//
// PCD_PEI_SERVICE_DRIVER_VERSION is defined in Autogen.h.
|