diff options
Diffstat (limited to 'MdePkg/Library/PeiPcdLib/PeiPcdLib.c')
-rw-r--r-- | MdePkg/Library/PeiPcdLib/PeiPcdLib.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/MdePkg/Library/PeiPcdLib/PeiPcdLib.c b/MdePkg/Library/PeiPcdLib/PeiPcdLib.c index f1630bf606..2766817b43 100644 --- a/MdePkg/Library/PeiPcdLib/PeiPcdLib.c +++ b/MdePkg/Library/PeiPcdLib/PeiPcdLib.c @@ -522,9 +522,9 @@ LibPcdSet64 ( VOID *
EFIAPI
LibPcdSetPtr (
- IN UINTN TokenNumber,
- IN OUT UINTN *SizeOfBuffer,
- IN VOID *Buffer
+ IN UINTN TokenNumber,
+ IN OUT UINTN *SizeOfBuffer,
+ IN VOID *Buffer
)
{
EFI_STATUS Status;
@@ -889,6 +889,8 @@ LibPcdGetNextToken ( /**
+ Used to retrieve the list of available PCD token space GUIDs.
+
Retrieves the next PCD token space from a token space specified by Guid.
Guid of NULL is reserved to mark the default local token namespace on the current
platform. If Guid is NULL, then the GUID of the first non-local token space of the
@@ -909,16 +911,16 @@ LibPcdGetNextToken ( GUID *
EFIAPI
LibPcdGetNextTokenSpace (
- IN CONST GUID *Guid
+ IN CONST GUID *TokenSpaceGuid
)
{
EFI_STATUS Status;
- Status = (GetPcdPpiPointer ())->GetNextTokenSpace (&Guid);
+ Status = (GetPcdPpiPointer ())->GetNextTokenSpace (&TokenSpaceGuid);
ASSERT_EFI_ERROR (Status);
- return (GUID *)Guid;
+ return (GUID *) TokenSpaceGuid;
}
|