diff options
author | Liming Gao <liming.gao@intel.com> | 2018-11-22 22:10:29 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-11-27 11:29:21 +0800 |
commit | 534efca06f029433f07edc49e68d9c474902648d (patch) | |
tree | 73c170409e32c73ed5533a09768161517fd68223 /MdeModulePkg/MdeModulePkg.uni | |
parent | 277a3958d93ab8cc70ccfa29766fb711322bbd92 (diff) | |
download | edk2-534efca06f029433f07edc49e68d9c474902648d.zip edk2-534efca06f029433f07edc49e68d9c474902648d.tar.gz edk2-534efca06f029433f07edc49e68d9c474902648d.tar.bz2 |
MdeModulePkg PCD: Add DynamicEx PcdVpdBaseAddress64 for non SPI platform
https://bugzilla.tianocore.org/show_bug.cgi?id=1356
Current PcdVpdBaseAddress is 32bit static Pcd. NON SPI platform needs to
configure it as Dynamic PCD. Emulator platform (such as NT32) may set its
value to 64bit address.
To meet with this usage, 64bit DynamicEx PcdVpdBaseAddress64 is introduced.
If its value is not zero, it will be used.
If its value is zero, static PcdVpdBaseAddress will be used.
When NON SPI platform enables VPD PCD, they need to set PcdVpdBaseAddress64.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Diffstat (limited to 'MdeModulePkg/MdeModulePkg.uni')
-rw-r--r-- | MdeModulePkg/MdeModulePkg.uni | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/MdeModulePkg/MdeModulePkg.uni b/MdeModulePkg/MdeModulePkg.uni index 038e848..9b1766b 100644 --- a/MdeModulePkg/MdeModulePkg.uni +++ b/MdeModulePkg/MdeModulePkg.uni @@ -1260,3 +1260,11 @@ #string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdEdkiiFpdtStringRecordEnableOnly_HELP #language en-US "Control which FPDT record format will be used to store the performance entry.\n"
"On TRUE, the string FPDT record will be used to store every performance entry.\n"
"On FALSE, the different FPDT record will be used to store the different performance entries."
+
+#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdVpdBaseAddress_PROMPT #language en-US "64bit VPD base address"
+
+#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdVpdBaseAddress_HELP #language en-US "VPD type PCD allows a developer to point to an absolute physical address PcdVpdBaseAddress64"
+ "to store PCD value. It will be DynamicExDefault only."
+ "It is used to set VPD region base address. So, it can't be DynamicExVpd PCD. Its value is"
+ "required to be accessed in PcdDxe driver entry point. So, its value must be set in PEI phase."
+ "It can't depend on EFI variable service, and can't be DynamicExHii PCD."
|