summaryrefslogtreecommitdiff
path: root/MdePkg/Library/DxePcdLib
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/DxePcdLib
parente934a7413b97ba9eb472becbc915d386172f521f (diff)
downloadedk2-platforms-64735d2414da5ce4f6eb82f3a51e98a96267da52.tar.xz
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/DxePcdLib')
-rw-r--r--MdePkg/Library/DxePcdLib/DxePcdLib.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/MdePkg/Library/DxePcdLib/DxePcdLib.c b/MdePkg/Library/DxePcdLib/DxePcdLib.c
index 987a2e9165..4f552ebb0b 100644
--- a/MdePkg/Library/DxePcdLib/DxePcdLib.c
+++ b/MdePkg/Library/DxePcdLib/DxePcdLib.c
@@ -527,9 +527,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;
@@ -905,6 +905,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
@@ -923,16 +925,16 @@ LibPcdGetNextToken (
GUID *
EFIAPI
LibPcdGetNextTokenSpace (
- IN CONST GUID *Guid
+ IN CONST GUID *TokenSpaceGuid
)
{
EFI_STATUS Status;
- Status = mPcd->GetNextTokenSpace (&Guid);
+ Status = mPcd->GetNextTokenSpace (&TokenSpaceGuid);
ASSERT_EFI_ERROR (Status);
- return (GUID *) Guid;
+ return (GUID *) TokenSpaceGuid;
}