From 2a505eac6181d99d6a33770b7c6517f0b1e14b19 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Sat, 10 Jun 2006 12:03:36 +0000 Subject: 1) Sync PcdPpi guid with PCD arch spec. 2) Correct macro PatchPcdSetPtr git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@469 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/PcdLib.h | 2 +- MdePkg/Include/Ppi/Pcd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'MdePkg/Include') diff --git a/MdePkg/Include/Library/PcdLib.h b/MdePkg/Include/Library/PcdLib.h index 03493e210a..c4e5502a0d 100644 --- a/MdePkg/Include/Library/PcdLib.h +++ b/MdePkg/Include/Library/PcdLib.h @@ -60,7 +60,7 @@ Module Name: PcdLib.h #define PatchPcdSet32(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = Value) #define PatchPcdSet64(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = Value) #define PatchPcdSetBool(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = Value) -#define PatchPcdSetPtr(TokenName, Value, Size) CopyMem (_gPcd_BinaryPatch_##TokenName, Value, Size) +#define PatchPcdSetPtr(TokenName, Size, Buffer) CopyMem (_gPcd_BinaryPatch_##TokenName, Buffer, Size) // // Dynamic is via the protocol with only the TokenNumber as argument diff --git a/MdePkg/Include/Ppi/Pcd.h b/MdePkg/Include/Ppi/Pcd.h index 2841f54425..13b56406dc 100644 --- a/MdePkg/Include/Ppi/Pcd.h +++ b/MdePkg/Include/Ppi/Pcd.h @@ -20,7 +20,7 @@ extern EFI_GUID gPcdPpiGuid; #define PCD_PPI_GUID \ - { 0x632df884, 0x8023, 0x4872, { 0xb6, 0x70, 0xb7, 0x4a, 0x30, 0x19, 0x16, 0xe9 } } + { 0x6e81c58, 0x4ad7, 0x44bc, { 0x83, 0x90, 0xf1, 0x2, 0x65, 0xf7, 0x24, 0x80 } } #define PCD_INVALID_TOKEN_NUMBER ((UINTN) -1) -- cgit v1.2.3