summaryrefslogtreecommitdiff
path: root/MdePkg/Library/PeiPcdLib/PeiPcdLib.c
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 07:07:12 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 07:07:12 +0000
commit64735d2414da5ce4f6eb82f3a51e98a96267da52 (patch)
tree49f2a41c7e8d1b9798ea0d4972ab5a8096ccae19 /MdePkg/Library/PeiPcdLib/PeiPcdLib.c
parente934a7413b97ba9eb472becbc915d386172f521f (diff)
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
Diffstat (limited to 'MdePkg/Library/PeiPcdLib/PeiPcdLib.c')
-rw-r--r--MdePkg/Library/PeiPcdLib/PeiPcdLib.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/MdePkg/Library/PeiPcdLib/PeiPcdLib.c b/MdePkg/Library/PeiPcdLib/PeiPcdLib.c
index f1630bf60..2766817b4 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;
}