]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Pcd.h
Reviewed the code comments in the Include/Protocol directory for typos, grammar issue...
[mirror_edk2.git] / MdePkg / Include / Protocol / Pcd.h
index 3cf1049556926eeb0723628c4d30c6b24bbcb284..9765206d0b9d206bf040124cc765e59ef529d5f1 100644 (file)
@@ -74,9 +74,9 @@ UINT8
 \r
 \r
 /**\r
-  Retrieves an 16-bit value for a given PCD token.\r
+  Retrieves a 16-bit value for a given PCD token.\r
 \r
-  Retrieves the current 16-bits value for a PCD token number.  \r
+  Retrieves the current 16-bit value for a PCD token number.  \r
   If the TokenNumber is invalid, the results are unpredictable.\r
   \r
   @param[in]  TokenNumber The PCD token number. \r
@@ -93,9 +93,9 @@ UINT16
 \r
 \r
 /**\r
-  Retrieves an 32-bit value for a given PCD token.\r
+  Retrieves a 32-bit value for a given PCD token.\r
 \r
-  Retrieves the current 32-bits value for a PCD token number.  \r
+  Retrieves the current 32-bit value for a PCD token number.  \r
   If the TokenNumber is invalid, the results are unpredictable.\r
   \r
   @param[in]  TokenNumber The PCD token number. \r
@@ -112,9 +112,9 @@ UINT32
 \r
 \r
 /**\r
-  Retrieves an 64-bit value for a given PCD token.\r
+  Retrieves a 64-bit value for a given PCD token.\r
 \r
-  Retrieves the current 64-bits value for a PCD token number.  \r
+  Retrieves the current 64-bit value for a PCD token number.  \r
   If the TokenNumber is invalid, the results are unpredictable.\r
   \r
   @param[in]  TokenNumber The PCD token number. \r
@@ -215,7 +215,7 @@ UINT8
 \r
 \r
 /**\r
-  Retrieves an 16-bit value for a given PCD token.\r
+  Retrieves a 16-bit value for a given PCD token.\r
 \r
   Retrieves the 16-bit value of a particular PCD token.  \r
   If the TokenNumber is invalid or the token space\r
@@ -238,7 +238,7 @@ UINT16
 \r
 \r
 /**\r
-  Retrieves an 32-bit value for a given PCD token.\r
+  Retrieves a 32-bit value for a given PCD token.\r
 \r
   Retrieves the 32-bit value of a particular PCD token.  \r
   If the TokenNumber is invalid or the token space\r
@@ -294,7 +294,7 @@ UINT64
   @param[in]  Guid        The token space for the token number.\r
   @param[in]  TokenNumber The PCD token number. \r
 \r
-  @return The pointer to the buffer to be retrived.\r
+  @return The pointer to the buffer to be retrieved.\r
   \r
 **/\r
 typedef\r
@@ -307,7 +307,7 @@ VOID *
 \r
 \r
 /**\r
-  Retrieves an Boolean value for a given PCD token.\r
+  Retrieves a Boolean value for a given PCD token.\r
 \r
   Retrieves the Boolean value of a particular PCD token.  \r
   If the TokenNumber is invalid or the token space\r
@@ -377,7 +377,7 @@ EFI_STATUS
 \r
 \r
 /**\r
-  Sets an 16-bit value for a given PCD token.\r
+  Sets a 16-bit value for a given PCD token.\r
 \r
   When the PCD service sets a value, it will check to ensure that the \r
   size of the value being set is compatible with the Token's existing definition.  \r
@@ -403,7 +403,7 @@ EFI_STATUS
 \r
 \r
 /**\r
-  Sets an 32-bit value for a given PCD token.\r
+  Sets a 32-bit value for a given PCD token.\r
 \r
   When the PCD service sets a value, it will check to ensure that the \r
   size of the value being set is compatible with the Token's existing definition.  \r
@@ -429,7 +429,7 @@ EFI_STATUS
 \r
 \r
 /**\r
-  Sets an 64-bit value for a given PCD token.\r
+  Sets a 64-bit value for a given PCD token.\r
 \r
   When the PCD service sets a value, it will check to ensure that the \r
   size of the value being set is compatible with the Token's existing definition.  \r
@@ -486,7 +486,7 @@ EFI_STATUS
 \r
 \r
 /**\r
-  Sets an Boolean value for a given PCD token.\r
+  Sets a Boolean value for a given PCD token.\r
 \r
   When the PCD service sets a value, it will check to ensure that the \r
   size of the value being set is compatible with the Token's existing definition.  \r
@@ -568,7 +568,7 @@ EFI_STATUS
 \r
 \r
 /**\r
-  Sets an 32-bit value for a given PCD token.\r
+  Sets a 32-bit value for a given PCD token.\r
 \r
   When the PCD service sets a value, it will check to ensure that the \r
   size of the value being set is compatible with the Token's existing definition.  \r
@@ -596,7 +596,7 @@ EFI_STATUS
 \r
 \r
 /**\r
-  Sets an 64-bit value for a given PCD token.\r
+  Sets a 64-bit value for a given PCD token.\r
 \r
   When the PCD service sets a value, it will check to ensure that the \r
   size of the value being set is compatible with the Token's existing definition.  \r
@@ -657,7 +657,7 @@ EFI_STATUS
 \r
 \r
 /**\r
-  Sets an Boolean value for a given PCD token.\r
+  Sets a Boolean value for a given PCD token.\r
 \r
   When the PCD service sets a value, it will check to ensure that the \r
   size of the value being set is compatible with the Token's existing definition.  \r
@@ -690,8 +690,8 @@ EFI_STATUS
   This notification function serves two purposes. \r
   Firstly, it notifies the module which did the registration that the value \r
   of this PCD token has been set. Secondly, it provides a mechanism for the \r
-  module which did the registration to intercept the set operation and override \r
-  the value been set if necessary. After the invocation of the callback function, \r
+  module that did the registration to intercept the set operation and override \r
+  the value that has been set, if necessary. After the invocation of the callback function, \r
   TokenData will be used by PCD service DXE driver to modify the internal data in \r
   PCD database.\r
 \r
@@ -775,7 +775,7 @@ EFI_STATUS
 \r
 \r
   @param[in]      Guid    The 128-bit unique value that designates the namespace from which to retrieve the next token. \r
-                          This is an optional parameter that may be NULL.  If this parameter is NULL, then a request is \r
+                          This is an optional parameter that may be NULL. If this parameter is NULL, then a request is \r
                           being made to retrieve tokens from the default token space.\r
   @param[in,out]  TokenNumber \r
                           A pointer to the PCD token number to use to find the subsequent token number.  \r
@@ -798,14 +798,14 @@ EFI_STATUS
 /**\r
   Retrieves the next valid PCD token namespace for a given namespace.\r
 \r
-  @param[in, out]  Guid An indirect pointer to EFI_GUID.  On input it designates \r
+  @param[in, out]  Guid An indirect pointer to EFI_GUID. On input it designates \r
                         a known token namespace from which the search will start. On output, \r
                         it designates the next valid token namespace on the platform. If the input \r
                         token namespace does not exist on the platform, an error is returned and \r
                         the value of *Guid is undefined. If *Guid is NULL, then the GUID of the \r
                         first token space of the current platform is assigned to *Guid the function \r
-                        return EFI_SUCCESS. If  *Guid is NULL  and there is no namespace exist in \r
-                        the platform other than the default (NULL) tokennamespace, *Guid is unchanged \r
+                        return EFI_SUCCESS. If *Guid is NULL  and there is no namespace exist in \r
+                        the platform other than the default (NULL) token namespace, *Guid is unchanged \r
                         and the function return EFI_SUCCESS. If this input token namespace is the last \r
                         namespace on the platform, *Guid will be assigned to NULL and the function return \r
                         EFI_SUCCESS. \r