]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
MdeModulePkg PCD: Add DynamicEx PcdVpdBaseAddress64 for non SPI platform
authorLiming Gao <liming.gao@intel.com>
Thu, 22 Nov 2018 14:10:29 +0000 (22:10 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 27 Nov 2018 03:29:21 +0000 (11:29 +0800)
commit534efca06f029433f07edc49e68d9c474902648d
tree73c170409e32c73ed5533a09768161517fd68223
parent277a3958d93ab8cc70ccfa29766fb711322bbd92
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>
MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/MdeModulePkg.uni
MdeModulePkg/Universal/PCD/Dxe/Pcd.c
MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
MdeModulePkg/Universal/PCD/Dxe/Service.c
MdeModulePkg/Universal/PCD/Dxe/Service.h
MdeModulePkg/Universal/PCD/Pei/Pcd.inf
MdeModulePkg/Universal/PCD/Pei/Service.c