diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-10 08:44:56 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-10 08:44:56 +0000 |
commit | 9136fc3ce3754e2c715fb255410f95e2edb049a5 (patch) | |
tree | 1fd46216f66598e7ad3f88e0668eeb5839c8573c | |
parent | a4ee2a4f9296f00dbda066817b5bdba4f437097e (diff) | |
download | edk2-platforms-9136fc3ce3754e2c715fb255410f95e2edb049a5.tar.xz |
Make PcdPeim/PcdDxe driver also produce EFI_PCD_PPI/EFI_PCD_PROTOCOL defined in PI 1.2 vol3. The EFI_PCD_PPI/EFI_PCD_PROTOCOL only support dynamic-ex type PCD, but original PCD_PPI/PCD_PROTOCOL in MdePkg support dynamic and dynamic-ex type PCDs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9400 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Include/Ppi/PiPcd.h | 4 | ||||
-rw-r--r-- | MdePkg/Include/Protocol/PiPcd.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Include/Ppi/PiPcd.h b/MdePkg/Include/Ppi/PiPcd.h index 90984ac84b..d0b43ca8c9 100644 --- a/MdePkg/Include/Ppi/PiPcd.h +++ b/MdePkg/Include/Ppi/PiPcd.h @@ -114,7 +114,7 @@ UINT32 @return 64-bit value for a given PCD token.
**/
typedef
-UINT32
+UINT64
(EFIAPI *EFI_PEI_PCD_PPI_GET_EX_64)(
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
@@ -285,7 +285,7 @@ EFI_STATUS (EFIAPI *EFI_PEI_PCD_PPI_SET_EX_POINTER)(
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
- IN UINTN SizeOfValue,
+ IN OUT UINTN *SizeOfValue,
IN VOID *Buffer
);
diff --git a/MdePkg/Include/Protocol/PiPcd.h b/MdePkg/Include/Protocol/PiPcd.h index 6bf56a96fb..19376f411d 100644 --- a/MdePkg/Include/Protocol/PiPcd.h +++ b/MdePkg/Include/Protocol/PiPcd.h @@ -288,7 +288,7 @@ EFI_STATUS (EFIAPI *EFI_PCD_PROTOCOL_SET_EX_POINTER)(
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
- IN UINTN SizeOfValue,
+ IN UINTN *SizeOfValue,
IN VOID *Buffer
);
|