From 64735d2414da5ce4f6eb82f3a51e98a96267da52 Mon Sep 17 00:00:00 2001 From: gikidy Date: Fri, 21 Nov 2008 07:07:12 +0000 Subject: synchronize the MdePkg/Include/Library/PcdLib.h and the MDE_Library_Spec.Add the commit for Macro in the PcdLib.h reference to the Spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6664 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/PeiPcdLib/PeiPcdLib.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'MdePkg/Library/PeiPcdLib') 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; } -- cgit v1.2.3