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
This commit is contained in:
gikidy 2008-11-21 07:07:12 +00:00
parent e934a7413b
commit 64735d2414
4 changed files with 790 additions and 47 deletions

File diff suppressed because it is too large Load Diff

View File

@ -481,9 +481,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
)
{
ASSERT (FALSE);

View File

@ -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;
}

View File

@ -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;
}