]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/Include: Fix typos in comments
authorGary Lin <glin@suse.com>
Wed, 19 Oct 2016 07:01:24 +0000 (15:01 +0800)
committerFeng Tian <feng.tian@intel.com>
Thu, 27 Oct 2016 01:11:18 +0000 (09:11 +0800)
- opints -> points
- sucessfully -> successfully
- suported -> supported
- hexidecimal -> hexadecimal
- TURE -> TRUE
- servity -> severity
- Moudle -> Module
- contiue -> continue
- infomation -> information
- malformated -> malformatted
- Pepresentation -> Representation
- opeque -> opaque
- assocated -> associated
- Libary -> Library
- descrption -> description
- paramter -> parameter
- chracter -> character

Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Include/Library/CustomizedDisplayLib.h
MdeModulePkg/Include/Library/DebugAgentLib.h
MdeModulePkg/Include/Library/HiiLib.h
MdeModulePkg/Include/Library/NetLib.h
MdeModulePkg/Include/Ppi/AtaController.h

index 31e1091e8889e9c31fd89be54352f280aa2e69c2..1689e2c4f693211e59cd9d2ee37c0f5034b7363e 100644 (file)
@@ -202,7 +202,7 @@ PrintStringAtWithWidth (
   );\r
 \r
 /**\r
-  Prints a chracter to the default console, at\r
+  Prints a character to the default console, at\r
   the supplied cursor position, using L"%c" format.\r
 \r
   @param  Column     The cursor position to print the string at. When it is -1, use current Position.\r
index 01b06a73fb92fffc37158c59c77f00e9f74d59e7..63d1c8f180474a7e4622fe9777475e6779c92a50 100644 (file)
@@ -39,7 +39,7 @@ typedef struct {
 /**\r
   Caller provided function to be invoked at the end of InitializeDebugAgent().\r
 \r
-  Refer to the descrption for InitializeDebugAgent() for more details.\r
+  Refer to the description for InitializeDebugAgent() for more details.\r
 \r
   @param[in] Context    The first input parameter of InitializeDebugAgent().\r
 \r
@@ -61,7 +61,7 @@ VOID
   function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is\r
   responsible to invoke the passing-in function at the end of InitializeDebugAgent().\r
 \r
-  If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by\r
+  If the parameter Function is not NULL, Debug Agent Library instance will invoke it by\r
   passing in the Context to be its parameter.\r
 \r
   If Function() is NULL, Debug Agent Library instance will return after setup debug\r
index 4ad4cf133f207220289d2dddc3b85774194b8083..3d87677b2fb89b36fe0370d4bf882e19839509bd 100644 (file)
@@ -230,13 +230,13 @@ HiiGetHiiHandles (
   for freeing the allocated buffer using FreePool().\r
 \r
   @param Handle            The HII handle.\r
-  @param Buffer            On return, opints to a pointer which point to the buffer that contain the formset opcode.\r
+  @param Buffer            On return, points to a pointer which point to the buffer that contain the formset opcode.\r
   @param BufferSize        On return, points to the length of the buffer.\r
 \r
   @retval EFI_OUT_OF_RESOURCES   No enough memory resource is allocated.\r
   @retval EFI_NOT_FOUND          Can't find the package data for the input Handle.\r
   @retval EFI_INVALID_PARAMETER  The input parameters are not correct.\r
-  @retval EFI_SUCCESS            Get the formset opcode from the hii handle sucessfully.\r
+  @retval EFI_SUCCESS            Get the formset opcode from the hii handle successfully.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -259,9 +259,9 @@ HiiGetFormSetFromHiiHandle(
   @param[in]  HiiHandle  A handle that was previously registered in the HII Database.\r
 \r
   @retval NULL   HiiHandle is not registered in the HII database\r
-  @retval NULL   There are not enough resources available to retrieve the suported \r
+  @retval NULL   There are not enough resources available to retrieve the supported\r
                  languages.\r
-  @retval NULL   The list of suported languages could not be retrieved.\r
+  @retval NULL   The list of supported languages could not be retrieved.\r
   @retval Other  A pointer to the Null-terminated ASCII string of supported languages.\r
 \r
 **/\r
@@ -284,17 +284,17 @@ HiiGetSupportedLanguages (
 \r
   @param[in]  Guid          The pointer to an EFI_GUID that is the routing information\r
                             GUID.  Each of the 16 bytes in Guid is converted to \r
-                            a 2 Unicode character hexidecimal string.  This is \r
+                            a 2 Unicode character hexadecimal string.  This is\r
                             an optional parameter that may be NULL.\r
   @param[in]  Name          The pointer to a Null-terminated Unicode string that is \r
                             the routing information NAME.  This is an optional \r
                             parameter that may be NULL.  Each 16-bit Unicode \r
                             character in Name is converted to a 4 character Unicode \r
-                            hexidecimal string.                        \r
+                            hexadecimal string.\r
   @param[in]  DriverHandle  The driver handle that supports a Device Path Protocol\r
                             that is the routing information PATH.  Each byte of\r
                             the Device Path associated with DriverHandle is converted\r
-                            to a two (Unicode) character hexidecimal string.\r
+                            to a two (Unicode) character hexadecimal string.\r
 \r
   @retval NULL   DriverHandle does not support the Device Path Protocol.\r
   @retval NULL   DriverHandle does not support the Device Path Protocol.\r
@@ -322,7 +322,7 @@ HiiConstructConfigHdr (
                     entirety of the current HII database will be reset.\r
   @param DefaultId  Specifies the type of defaults to retrieve.\r
   \r
-  @retval TURE    The default value was set successfully.\r
+  @retval TRUE    The default value was set successfully.\r
   @retval FALSE   The default value was not found.\r
 **/\r
 BOOLEAN\r
index 87f393e2de045ff3020b80305294bded71f23e6a..c5c0fc212bd8191077c003a23e1d8df9505de2ac 100644 (file)
@@ -252,7 +252,7 @@ typedef struct {
 \r
 //\r
 // The debug level definition. This value is also used as the\r
-// syslog's servity level. Don't change it.\r
+// syslog's severity level. Don't change it.\r
 //\r
 #define NETDEBUG_LEVEL_TRACE   5\r
 #define NETDEBUG_LEVEL_WARNING 4\r
@@ -335,8 +335,8 @@ NetDebugASPrint (
   This function will locate a instance of SNP then send the message through it.\r
   Because it isn't open the SNP BY_DRIVER, apply caution when using it.\r
 \r
-  @param Level    The servity level of the message.\r
-  @param Module   The Moudle that generates the log.\r
+  @param Level    The severity level of the message.\r
+  @param Module   The Module that generates the log.\r
   @param File     The file that contains the log.\r
   @param Line     The exact line that contains the log.\r
   @param Message  The user message to log.\r
@@ -750,7 +750,7 @@ NetDestroyLinkList (
   @param[in]  ChildHandleBuffer  An array of child handles to be freed. May be NULL\r
                                  if NumberOfChildren is 0.\r
 \r
-  @retval TURE                   Found the input Handle in ChildHandleBuffer.\r
+  @retval TRUE                   Found the input Handle in ChildHandleBuffer.\r
   @retval FALSE                  Can't find the input Handle in ChildHandleBuffer.\r
 \r
 **/\r
@@ -1008,7 +1008,7 @@ EFI_STATUS
 /**\r
   Iterate through the netmap and call CallBack for each item.\r
 \r
-  It will contiue the traverse if CallBack returns EFI_SUCCESS, otherwise, break\r
+  It will continue the traverse if CallBack returns EFI_SUCCESS, otherwise, break\r
   from the loop. It returns the CallBack's last return value. This function is\r
   delete safe for the current item.\r
 \r
@@ -1308,7 +1308,7 @@ NetLibCreateIPv6DPathNode (
   needs to find its own private data that is related the IP's\r
   service binding instance that is installed on the UNDI/SNP handle.\r
   The controller is then either an MNP or an ARP child handle. Note that\r
-  IP opens these handles using BY_DRIVER. Use that infomation to get the\r
+  IP opens these handles using BY_DRIVER. Use that information to get the\r
   UNDI/SNP handle.\r
 \r
   @param[in]  Controller            The protocol handle to check.\r
@@ -1349,7 +1349,7 @@ NetLibDefaultUnload (
   @param[out]     Ip4Address     The pointer to the converted IPv4 address.\r
 \r
   @retval EFI_SUCCESS            Converted to an IPv4 address successfully.\r
-  @retval EFI_INVALID_PARAMETER  The string is malformated, or Ip4Address is NULL.\r
+  @retval EFI_INVALID_PARAMETER  The string is malformatted, or Ip4Address is NULL.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -1361,13 +1361,13 @@ NetLibAsciiStrToIp4 (
 \r
 /**\r
   Convert one Null-terminated ASCII string to EFI_IPv6_ADDRESS. The format of the\r
-  string is defined in RFC 4291 - Text Pepresentation of Addresses.\r
+  string is defined in RFC 4291 - Text Representation of Addresses.\r
 \r
   @param[in]      String         The pointer to the Ascii string.\r
   @param[out]     Ip6Address     The pointer to the converted IPv6 address.\r
 \r
   @retval EFI_SUCCESS            Converted to an IPv6 address successfully.\r
-  @retval EFI_INVALID_PARAMETER  The string is malformated, or Ip6Address is NULL.\r
+  @retval EFI_INVALID_PARAMETER  The string is malformatted, or Ip6Address is NULL.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -1384,7 +1384,7 @@ NetLibAsciiStrToIp6 (
   @param[out]     Ip4Address     The pointer to the converted IPv4 address.\r
 \r
   @retval EFI_SUCCESS            Converted to an IPv4 address successfully.\r
-  @retval EFI_INVALID_PARAMETER  The string is mal-formated or Ip4Address is NULL.\r
+  @retval EFI_INVALID_PARAMETER  The string is mal-formatted or Ip4Address is NULL.\r
   @retval EFI_OUT_OF_RESOURCES   Failed to perform the operation due to lack of resources.\r
 \r
 **/\r
@@ -1397,13 +1397,13 @@ NetLibStrToIp4 (
 \r
 /**\r
   Convert one Null-terminated Unicode string to EFI_IPv6_ADDRESS.  The format of\r
-  the string is defined in RFC 4291 - Text Pepresentation of Addresses.\r
+  the string is defined in RFC 4291 - Text Representation of Addresses.\r
 \r
   @param[in]      String         The pointer to the Ascii string.\r
   @param[out]     Ip6Address     The pointer to the converted IPv6 address.\r
 \r
   @retval EFI_SUCCESS            Converted to an IPv6 address successfully.\r
-  @retval EFI_INVALID_PARAMETER  The string is malformated or Ip6Address is NULL.\r
+  @retval EFI_INVALID_PARAMETER  The string is malformatted or Ip6Address is NULL.\r
   @retval EFI_OUT_OF_RESOURCES   Failed to perform the operation due to a lack of resources.\r
 \r
 **/\r
@@ -1416,7 +1416,7 @@ NetLibStrToIp6 (
 \r
 /**\r
   Convert one Null-terminated Unicode string to EFI_IPv6_ADDRESS and prefix length.\r
-  The format of the string is defined in RFC 4291 - Text Pepresentation of Addresses\r
+  The format of the string is defined in RFC 4291 - Text Representation of Addresses\r
   Prefixes: ipv6-address/prefix-length.\r
 \r
   @param[in]      String         The pointer to the Ascii string.\r
@@ -1424,7 +1424,7 @@ NetLibStrToIp6 (
   @param[out]     PrefixLength   The pointer to the converted prefix length.\r
 \r
   @retval EFI_SUCCESS            Converted to an  IPv6 address successfully.\r
-  @retval EFI_INVALID_PARAMETER  The string is malformated, or Ip6Address is NULL.\r
+  @retval EFI_INVALID_PARAMETER  The string is malformatted, or Ip6Address is NULL.\r
   @retval EFI_OUT_OF_RESOURCES   Failed to perform the operation due to a lack of resources.\r
 \r
 **/\r
@@ -1493,9 +1493,9 @@ typedef struct {
   UINT32              Signature;\r
   INTN                RefCnt;  // Reference count to share NET_VECTOR.\r
   NET_VECTOR_EXT_FREE Free;    // external function to free NET_VECTOR\r
-  VOID                *Arg;    // opeque argument to Free\r
+  VOID                *Arg;    // opaque argument to Free\r
   UINT32              Flag;    // Flags, NET_VECTOR_OWN_FIRST\r
-  UINT32              Len;     // Total length of the assocated BLOCKs\r
+  UINT32              Len;     // Total length of the associated BLOCKs\r
 \r
   UINT32              BlockNum;\r
   NET_BLOCK           Block[1];\r
index aa4ae56d04de1d42c8ade46b6579dd84b33582ce..2333bef6aa657f3eda4e53a3339fb27acc031ea5 100644 (file)
@@ -106,7 +106,7 @@ typedef struct {
   @param[in] PeiServices   The pointer to the PEI Services Table.\r
   @param[in] This          The pointer to this instance of the PEI_ATA_CONTROLLER_PPI.\r
   @param[in] ChannelMask   The bitmask that identifies the IDE and SATA channels to \r
-                           enable or disable. This paramter is optional. \r
+                           enable or disable. This parameter is optional.\r
 \r
   @retval EFI_SUCCESS        The IDE or SATA channels were enabled or disabled successfully.\r
   @retval EFI_DEVICE_ERROR   The IDE or SATA channels could not be enabled or disabled.\r