diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-10 12:03:36 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-10 12:03:36 +0000 |
commit | 2a505eac6181d99d6a33770b7c6517f0b1e14b19 (patch) | |
tree | 0bb8186fc02f07bee046987efc016a66f052a606 /MdePkg | |
parent | e65e8d103dbadc85c3fe3cce50cd98069a75e72f (diff) | |
download | edk2-platforms-2a505eac6181d99d6a33770b7c6517f0b1e14b19.tar.xz |
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
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Library/PcdLib.h | 2 | ||||
-rw-r--r-- | MdePkg/Include/Ppi/Pcd.h | 2 | ||||
-rw-r--r-- | MdePkg/Library/DxePcdLib/DxePcdLib.msa | 2 | ||||
-rw-r--r-- | MdePkg/MdePkg.spd | 6 |
4 files changed, 6 insertions, 6 deletions
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)
diff --git a/MdePkg/Library/DxePcdLib/DxePcdLib.msa b/MdePkg/Library/DxePcdLib/DxePcdLib.msa index 163b751d20..8622305116 100644 --- a/MdePkg/Library/DxePcdLib/DxePcdLib.msa +++ b/MdePkg/Library/DxePcdLib/DxePcdLib.msa @@ -43,7 +43,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <PackageName>MdePkg</PackageName>
</Includes>
<Protocols>
- <Protocol Usage="ALWAYS_CONSUMED">Pcd</Protocol>
+ <Protocol Usage="ALWAYS_CONSUMED">PcdProtocol</Protocol>
</Protocols>
<Externs>
<Extern>
diff --git a/MdePkg/MdePkg.spd b/MdePkg/MdePkg.spd index 28e90eebb0..9b060d82bb 100644 --- a/MdePkg/MdePkg.spd +++ b/MdePkg/MdePkg.spd @@ -710,7 +710,7 @@ <C_Name>gEfiHiiProtocolGuid</C_Name>
<Guid>0xea816d2c, 0xcee5, 0x4f02, 0x99, 0xb5, 0xd3, 0x90, 0x5c, 0xbb, 0xd0, 0x77</Guid>
</Entry>
- <Entry Name="Pcd">
+ <Entry Name="PcdProtocol">
<C_Name>gPcdProtocolGuid</C_Name>
<Guid>0x11b34006, 0xd85b, 0x4d0a, 0xa2, 0x90, 0xd5, 0xa5, 0x71, 0x31, 0x0e, 0xf7</Guid>
</Entry>
@@ -1160,9 +1160,9 @@ <C_Name>gEfiPeiStatusCodePpiGuid</C_Name>
<Guid>0x229832d3, 0x7a30, 0x4b36, 0xb8, 0x27, 0xf4, 0x0c, 0xb7, 0xd4, 0x54, 0x36</Guid>
</Entry>
- <Entry Name="Pcd">
+ <Entry Name="PcdPpi">
<C_Name>gPcdPpiGuid</C_Name>
- <Guid>0x5d5c0e21, 0x749c, 0x4063, 0x81, 0xaf, 0xbc, 0x74, 0xfc, 0x79, 0xab, 0x5c</Guid>
+ <Guid>0x6e81c58, 0x4ad7, 0x44bc, 0x83, 0x90, 0xf1, 0x2, 0x65, 0xf7, 0x24, 0x80</Guid>
</Entry>
<Entry Name="BootScriptExecuter">
<C_Name>gEfiPeiBootScriptExecuterPpiGuid</C_Name>
|