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 );