]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/BasePcdLibNull/PcdLib.c
MdePkg: Add two PcdApi for Patch VOID* PCD set operation.
authorLiming Gao <liming.gao@intel.com>
Mon, 24 Aug 2015 05:01:11 +0000 (05:01 +0000)
committerlgao4 <lgao4@Edk2>
Mon, 24 Aug 2015 05:01:11 +0000 (05:01 +0000)
commitf8308f0ad14dd4e078927f2da17283a8f47f0566
tree36bf2f36c0180ae6bb3ee85c13d96e3e9f68dafe
parentbf8e99a4a049140720b0439c75d6f8d3f27cdadc
MdePkg: Add two PcdApi for Patch VOID* PCD set operation.

Two new APIs LibPatchPcdSetPtrAndSize() and LibPatchPcdSetPtrAndSizeS()
are added to catch the size of the updated VOID* PCD value buffer, then
PcdGetSize() API can return the actual size.

Update three PcdLib instances to implement these two APIs.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18269 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Include/Library/PcdLib.h
MdePkg/Library/BasePcdLibNull/PcdLib.c
MdePkg/Library/DxePcdLib/DxePcdLib.c
MdePkg/Library/PeiPcdLib/PeiPcdLib.c