]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BasePcdLibNull/PcdLib.c
Synchronize function comment in h file
[mirror_edk2.git] / MdePkg / Library / BasePcdLibNull / PcdLib.c
index 37a151d25cff7edcc1aec048f97eaad5749ac390..168803426358d34bdcf97e8df41c0f5ee3c60d5c 100644 (file)
@@ -778,8 +778,6 @@ LibPcdGetNextToken (
   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
   \r
   @param[in]  Guid  Pointer to a 128-bit unique value that designates from which namespace \r
                     to start the search.\r
@@ -799,25 +797,27 @@ LibPcdGetNextTokenSpace (
 }\r
 \r
 \r
-\r
 /**\r
+  Sets a value of a patchable PCD entry that is type pointer.\r
+  \r
   Sets the PCD entry specified by PatchVariable to the value specified by Buffer \r
-  and SizeOfValue.  Buffer is returned.  If SizeOfValue is greater than \r
-  MaximumDatumSize, then set SizeOfValue to MaximumDatumSize and return \r
+  and SizeOfBuffer.  Buffer is returned.  If SizeOfBuffer is greater than \r
+  MaximumDatumSize, then set SizeOfBuffer to MaximumDatumSize and return \r
   NULL to indicate that the set operation was not actually performed.  \r
-  If SizeOfValue is set to MAX_ADDRESS, then SizeOfValue must be set to \r
+  If SizeOfBuffer is set to MAX_ADDRESS, then SizeOfBuffer must be set to \r
   MaximumDatumSize and NULL must be returned.\r
   \r
   If PatchVariable is NULL, then ASSERT().\r
-  If SizeOfValue is NULL, then ASSERT().\r
-  If SizeOfValue > 0 and Buffer is NULL, then ASSERT().\r
+  If SizeOfBuffer is NULL, then ASSERT().\r
+  If SizeOfBuffer > 0 and Buffer is NULL, then ASSERT().\r
 \r
   @param[in] PatchVariable      A pointer to the global variable in a module that is \r
                                 the target of the set operation.\r
   @param[in] MaximumDatumSize   The maximum size allowed for the PCD entry specified by PatchVariable.\r
   @param[in, out] SizeOfBuffer  A pointer to the size, in bytes, of Buffer.\r
   @param[in] Buffer             A pointer to the buffer to used to set the target variable.\r
-  @return Return the pinter to the buffer been set.\r
+  \r
+  @return Return the pointer to the buffer been set.\r
 \r
 **/\r
 VOID *\r