Spec checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7521 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
89c18a1e9e
commit
8f0dd97eab
|
@ -847,18 +847,12 @@ LibPcdGetNextToken (
|
||||||
/**
|
/**
|
||||||
Used to retrieve the list of available PCD token space GUIDs.
|
Used to retrieve the list of available PCD token space GUIDs.
|
||||||
|
|
||||||
Retrieves the next PCD token space from a token space specified by Guid.
|
Returns the PCD token space GUID that follows TokenSpaceGuid in the list of token spaces
|
||||||
Guid of NULL is reserved to mark the default local token namespace on the current
|
in the platform.
|
||||||
platform. If Guid is NULL, then the GUID of the first non-local token space of the
|
If TokenSpaceGuid is NULL, then a pointer to the first PCD token spaces returned.
|
||||||
current platform is returned. If Guid is the last non-local token space,
|
If TokenSpaceGuid is the last PCD token space GUID in the list, then NULL is returned.
|
||||||
then NULL is returned.
|
|
||||||
|
|
||||||
If Guid is not NULL and is not a valid token space in the current platform, then ASSERT().
|
@param TokenSpaceGuid Pointer to the a PCD token space GUID
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@param[in] Guid Pointer to a 128-bit unique value that designates from which namespace
|
|
||||||
to start the search.
|
|
||||||
|
|
||||||
@return The next valid token namespace.
|
@return The next valid token namespace.
|
||||||
|
|
||||||
|
|
|
@ -183,7 +183,8 @@ DxeRuntimePciExpressLibDestructor (
|
||||||
This internal functions retrieves PCI Express Base Address via a PCD entry
|
This internal functions retrieves PCI Express Base Address via a PCD entry
|
||||||
PcdPciExpressBaseAddress.
|
PcdPciExpressBaseAddress.
|
||||||
|
|
||||||
@return The base address of PCI Express.
|
@param Address Address that encodes the PCI Bus, Device, Function and Register.
|
||||||
|
@return The base address of PCI Express.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
|
|
|
@ -954,18 +954,12 @@ LibPcdGetNextToken (
|
||||||
/**
|
/**
|
||||||
Used to retrieve the list of available PCD token space GUIDs.
|
Used to retrieve the list of available PCD token space GUIDs.
|
||||||
|
|
||||||
Retrieves the next PCD token space from a token space specified by Guid.
|
Returns the PCD token space GUID that follows TokenSpaceGuid in the list of token spaces
|
||||||
Guid of NULL is reserved to mark the default local token namespace on the current
|
in the platform.
|
||||||
platform. If Guid is NULL, then the GUID of the first non-local token space of the
|
If TokenSpaceGuid is NULL, then a pointer to the first PCD token spaces returned.
|
||||||
current platform is returned. If Guid is the last non-local token space,
|
If TokenSpaceGuid is the last PCD token space GUID in the list, then NULL is returned.
|
||||||
then NULL is returned.
|
|
||||||
|
|
||||||
If Guid is not NULL and is not a valid token space in the current platform, then ASSERT().
|
@param TokenSpaceGuid Pointer to the a PCD token space GUID
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@param[in] Guid Pointer to a 128-bit unique value that designates from which namespace
|
|
||||||
to start the search.
|
|
||||||
|
|
||||||
@return The next valid token namespace.
|
@return The next valid token namespace.
|
||||||
|
|
||||||
|
|
|
@ -222,12 +222,12 @@ IsDevicePathEndInstance (
|
||||||
UINT16
|
UINT16
|
||||||
SetDevicePathNodeLength (
|
SetDevicePathNodeLength (
|
||||||
IN OUT VOID *Node,
|
IN OUT VOID *Node,
|
||||||
IN UINTN NodeLength
|
IN UINTN Length
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
ASSERT (Node != NULL);
|
ASSERT (Node != NULL);
|
||||||
ASSERT (NodeLength < 0x10000);
|
ASSERT (Length < 0x10000);
|
||||||
return WriteUnaligned16 ((UINT16 *)&((EFI_DEVICE_PATH_PROTOCOL *)(Node))->Length[0], (UINT16)(NodeLength));
|
return WriteUnaligned16 ((UINT16 *)&((EFI_DEVICE_PATH_PROTOCOL *)(Node))->Length[0], (UINT16)(Length));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -251,12 +251,12 @@ IsDevicePathEndInstance (
|
||||||
UINT16
|
UINT16
|
||||||
SetDevicePathNodeLength (
|
SetDevicePathNodeLength (
|
||||||
IN OUT VOID *Node,
|
IN OUT VOID *Node,
|
||||||
IN UINTN NodeLength
|
IN UINTN Length
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
ASSERT (Node != NULL);
|
ASSERT (Node != NULL);
|
||||||
ASSERT (NodeLength < 0x10000);
|
ASSERT (Length < 0x10000);
|
||||||
return WriteUnaligned16 ((UINT16 *)&((EFI_DEVICE_PATH_PROTOCOL *)(Node))->Length[0], (UINT16)(NodeLength));
|
return WriteUnaligned16 ((UINT16 *)&((EFI_DEVICE_PATH_PROTOCOL *)(Node))->Length[0], (UINT16)(Length));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue