]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Spec checked
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 13 Feb 2009 06:28:15 +0000 (06:28 +0000)
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 13 Feb 2009 06:28:15 +0000 (06:28 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7521 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BasePcdLibNull/PcdLib.c
MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c
MdePkg/Library/PeiPcdLib/PeiPcdLib.c
MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c
MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c

index 6ad91b8cdbae327005ade294e77cc45c21762529..3b3e7f2c3c77d75620bf953f7705a31d017f9316 100644 (file)
@@ -847,18 +847,12 @@ LibPcdGetNextToken (
 /**\r
   Used to retrieve the list of available PCD token space GUIDs.\r
   \r
-  Retrieves the next PCD token space from a token space specified by Guid.\r
-  Guid of NULL is reserved to mark the default local token namespace on the current\r
-  platform. If Guid is NULL, then the GUID of the first non-local token space of the \r
-  current platform is returned. If Guid is the last non-local token space, \r
-  then NULL is returned. \r
-\r
-  If Guid is not NULL and is not a valid token space in the current platform, then ASSERT().\r
-\r
-\r
+  Returns the PCD token space GUID that follows TokenSpaceGuid in the list of token spaces\r
+  in the platform.\r
+  If TokenSpaceGuid is NULL, then a pointer to the first PCD token spaces returned.\r
+  If TokenSpaceGuid is the last PCD token space GUID in the list, then NULL is returned.\r
   \r
-  @param[in]  Guid  Pointer to a 128-bit unique value that designates from which namespace \r
-                    to start the search.\r
+  @param  TokenSpaceGuid  Pointer to the a PCD token space GUID\r
 \r
   @return The next valid token namespace.\r
 \r
index 9f414d8e390cf605ea46f004ac40e3d7621bccc1..696f7bbf47773341bca2254167d3073543aa8f69 100644 (file)
@@ -183,7 +183,8 @@ DxeRuntimePciExpressLibDestructor (
   This internal functions retrieves PCI Express Base Address via a PCD entry\r
   PcdPciExpressBaseAddress.\r
   \r
-  @return The base address of PCI Express.\r
+  @param  Address  Address that encodes the PCI Bus, Device, Function and Register.\r
+  @return          The base address of PCI Express.\r
 \r
 **/\r
 UINTN\r
index 57cf646f6e58aa0f3439a5546cde8e79dde7a5f0..9a5587521c4e2fc77806f2371f53b62c0c9d97a9 100644 (file)
@@ -954,18 +954,12 @@ LibPcdGetNextToken (
 /**\r
   Used to retrieve the list of available PCD token space GUIDs.\r
   \r
-  Retrieves the next PCD token space from a token space specified by Guid.\r
-  Guid of NULL is reserved to mark the default local token namespace on the current\r
-  platform. If Guid is NULL, then the GUID of the first non-local token space of the \r
-  current platform is returned. If Guid is the last non-local token space, \r
-  then NULL is returned. \r
-\r
-  If Guid is not NULL and is not a valid token space in the current platform, then ASSERT().\r
-\r
-\r
+  Returns the PCD token space GUID that follows TokenSpaceGuid in the list of token spaces\r
+  in the platform.\r
+  If TokenSpaceGuid is NULL, then a pointer to the first PCD token spaces returned.\r
+  If TokenSpaceGuid is the last PCD token space GUID in the list, then NULL is returned.\r
   \r
-  @param[in]  Guid  Pointer to a 128-bit unique value that designates from which namespace \r
-                    to start the search.\r
+  @param  TokenSpaceGuid  Pointer to the a PCD token space GUID\r
 \r
   @return The next valid token namespace.\r
 \r
index b2602e2a584f4577593bc58dcb06287926bc51ef..15b16a237adabb3323da54f06ff95955abd4a79f 100644 (file)
@@ -222,12 +222,12 @@ IsDevicePathEndInstance (
 UINT16\r
 SetDevicePathNodeLength (\r
   IN OUT VOID  *Node,\r
-  IN UINTN     NodeLength\r
+  IN UINTN     Length\r
   )\r
 {\r
   ASSERT (Node != NULL);\r
-  ASSERT (NodeLength < 0x10000);\r
-  return WriteUnaligned16 ((UINT16 *)&((EFI_DEVICE_PATH_PROTOCOL *)(Node))->Length[0], (UINT16)(NodeLength));\r
+  ASSERT (Length < 0x10000);\r
+  return WriteUnaligned16 ((UINT16 *)&((EFI_DEVICE_PATH_PROTOCOL *)(Node))->Length[0], (UINT16)(Length));\r
 }\r
 \r
 /**\r
index 8f2488a3b2d8eb03a3d6426c80e8783a363fe25c..5dd0998762da75a3e9db8c208de453b270428e12 100644 (file)
@@ -251,12 +251,12 @@ IsDevicePathEndInstance (
 UINT16\r
 SetDevicePathNodeLength (\r
   IN OUT VOID  *Node,\r
-  IN UINTN     NodeLength\r
+  IN UINTN     Length\r
   )\r
 {\r
   ASSERT (Node != NULL);\r
-  ASSERT (NodeLength < 0x10000);\r
-  return WriteUnaligned16 ((UINT16 *)&((EFI_DEVICE_PATH_PROTOCOL *)(Node))->Length[0], (UINT16)(NodeLength));\r
+  ASSERT (Length < 0x10000);\r
+  return WriteUnaligned16 ((UINT16 *)&((EFI_DEVICE_PATH_PROTOCOL *)(Node))->Length[0], (UINT16)(Length));\r
 }\r
 \r
 /**\r