[edk2-devel] [PATCH 0/2] New feature to enable standalone PCD driver

Zhiguang Liu posted 2 patches 2 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/edk2 tags/patchew/20210524092454.1168-1-zhiguang.liu@intel.com
MdeModulePkg/Universal/PCD/Dxe/Pcd.c       | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++------------------------
MdeModulePkg/Universal/PCD/Dxe/Pcd.inf     | 16 ++++++++++++----
MdeModulePkg/Universal/PCD/Dxe/Service.c   |  7 ++++++-
MdePkg/Include/Protocol/Pcd.h              |  5 -----
MdePkg/Include/Protocol/PcdInfo.h          |  5 -----
MdePkg/Library/DxePcdLib/DxePcdLib.c       | 24 ++++++++++++++++++++----
MdePkg/Library/DxePcdLib/DxePcdLib.inf     | 16 ++++++++++++----
MdePkg/Library/DxePcdLib/PayloadPcdLib.inf | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MdePkg/MdePkg.dec                          | 12 ++++++++++++
UefiPayloadPkg/UefiPayloadPkg.dsc          |  9 +++++----
10 files changed, 189 insertions(+), 51 deletions(-)
create mode 100644 MdePkg/Library/DxePcdLib/PayloadPcdLib.inf
[edk2-devel] [PATCH 0/2] New feature to enable standalone PCD driver
Posted by Zhiguang Liu 2 years, 11 months ago
There are cases that different binary is build differently, and both want to use PCD feature.
If these two different don't want to use PCD to communicate, they should have a standalone PCD data base,
For example, bootloader and payload want to have seperately PCD data base.

Zhiguang Liu (2):
  MdePkg: Standalone PCD driver
  UefiPayloadPkg: Use standalone PCD driver

 MdeModulePkg/Universal/PCD/Dxe/Pcd.c       | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++------------------------
 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf     | 16 ++++++++++++----
 MdeModulePkg/Universal/PCD/Dxe/Service.c   |  7 ++++++-
 MdePkg/Include/Protocol/Pcd.h              |  5 -----
 MdePkg/Include/Protocol/PcdInfo.h          |  5 -----
 MdePkg/Library/DxePcdLib/DxePcdLib.c       | 24 ++++++++++++++++++++----
 MdePkg/Library/DxePcdLib/DxePcdLib.inf     | 16 ++++++++++++----
 MdePkg/Library/DxePcdLib/PayloadPcdLib.inf | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 MdePkg/MdePkg.dec                          | 12 ++++++++++++
 UefiPayloadPkg/UefiPayloadPkg.dsc          |  9 +++++----
 10 files changed, 189 insertions(+), 51 deletions(-)
 create mode 100644 MdePkg/Library/DxePcdLib/PayloadPcdLib.inf

-- 
2.30.0.windows.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#75501): https://edk2.groups.io/g/devel/message/75501
Mute This Topic: https://groups.io/mt/83046934/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-