]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg/DynamicCommand: Fix various typos
authorAntoine Coeur <coeur@gmx.fr>
Fri, 7 Feb 2020 01:08:21 +0000 (02:08 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Feb 2020 22:30:07 +0000 (22:30 +0000)
Fix various typos in comments and documentation.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-69-philmd@redhat.com>

ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c
ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h
ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.c
ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.c
ShellPkg/DynamicCommand/DpDynamicCommand/DpTrace.c
ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.c
ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.h
ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.c
ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.c

index 4ec4c18348bd97f6fb2a04bf519b37cabfd82693..f7f3676bc91ae51bc8bd3fc89fe4cac1f2dd6dd7 100644 (file)
@@ -154,7 +154,7 @@ GetHandleFormModuleGuid (
     *Handle = NULL;\r
   }\r
   //\r
-  // Try to get the Handle form the caached array.\r
+  // Try to get the Handle from the cached array.\r
   //\r
   for (Index = 0; Index < mCachePairCount; Index++) {\r
     if (CompareGuid (ModuleGuid, &mCacheHandleGuidTable[Index].ModuleGuid)) {\r
@@ -918,7 +918,7 @@ Done:
 \r
 \r
 /**\r
-  Retrive HII package list from ImageHandle and publish to HII database.\r
+  Retrieve HII package list from ImageHandle and publish to HII database.\r
 \r
   @param ImageHandle            The image handle of the process.\r
 \r
index e446cccde923b705562f8dae18adc67c9547bcae..84fe0b502f46157896535a2f393ccc8aba3588a8 100644 (file)
@@ -127,7 +127,7 @@ RunDp (
   );\r
 \r
 /**\r
-  Retrive HII package list from ImageHandle and publish to HII database.\r
+  Retrieve HII package list from ImageHandle and publish to HII database.\r
 \r
   @param ImageHandle            The image handle of the process.\r
 \r
index a7cecdfe0ade5bbfe819920d001ea3a7c7dc3902..b4b242a4115872459652bc545a94d603bbbabfe7 100644 (file)
@@ -24,7 +24,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringHelpTokenId = STRING_TOKEN (S
   @param ImageHandle            The image handle of the process.\r
   @param SystemTable            The EFI System Table pointer.\r
 \r
-  @retval EFI_SUCCESS           Tftp command is executed sucessfully.\r
+  @retval EFI_SUCCESS           Tftp command is executed successfully.\r
   @retval EFI_ABORTED           HII package was failed to initialize.\r
   @retval others                Other errors when executing tftp command.\r
 **/\r
index d7dd85666c50588f2380eb20eca8efed061f5b30..50fcc6e74616ea0edf8e034eb6fb2a527444d887 100644 (file)
@@ -19,7 +19,7 @@
   @param[in] Shell                  The instance of the shell protocol used in the context\r
                                     of processing this command.\r
 \r
-  @return EFI_SUCCESS               the operation was sucessful\r
+  @return EFI_SUCCESS               the operation was successful\r
   @return other                     the operation failed.\r
 **/\r
 SHELL_STATUS\r
@@ -70,7 +70,7 @@ EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL mDpDynamicCommand = {
   @param ImageHandle            The image handle of the process.\r
   @param SystemTable            The EFI System Table pointer.\r
 \r
-  @retval EFI_SUCCESS           Tftp command is executed sucessfully.\r
+  @retval EFI_SUCCESS           Tftp command is executed successfully.\r
   @retval EFI_ABORTED           HII package was failed to initialize.\r
   @retval others                Other errors when executing tftp command.\r
 **/\r
index f64c5ccf58f9bbd5a6fcac53f6b48d4fc396becc..1a247d4bd492c52f5a3614afc976600fc41204c3 100644 (file)
@@ -85,7 +85,7 @@ GetPerformanceMeasurementRecord (
   @post The SummaryData and CumData structures contain statistics for the\r
         current performance logs.\r
 \r
-  @param[in, out] CustomCumulativeData  A pointer to the cumtom cumulative data.\r
+  @param[in, out] CustomCumulativeData  A pointer to the custom cumulative data.\r
 \r
 **/\r
 VOID\r
@@ -830,7 +830,7 @@ ProcessGlobal(
      - Update the instance count and the total, minimum, and maximum durations.\r
   Finally, print the gathered cumulative statistics.\r
 \r
-  @param[in]    CustomCumulativeData  A pointer to the cumtom cumulative data.\r
+  @param[in]    CustomCumulativeData  A pointer to the custom cumulative data.\r
 \r
 **/\r
 VOID\r
index f28da9af723c1c6d0e20451e6f9f6d17a3a274c4..4e296c495b2ddd068bbe6aa102b69d1151dd89a9 100644 (file)
@@ -15,7 +15,7 @@ EFI_HII_HANDLE   mTftpHiiHandle;
 \r
 /*\r
    Constant strings and definitions related to the message indicating the amount of\r
-   progress in the dowloading of a TFTP file.\r
+   progress in the downloading of a TFTP file.\r
 */\r
 \r
 // Frame for the progression slider\r
@@ -48,7 +48,7 @@ CONST CHAR16         *mLocalFilePath;
   @param[out] Value     UINT16 value\r
 \r
   @return     TRUE      The value was returned.\r
-  @return     FALSE     A parsing error occured.\r
+  @return     FALSE     A parsing error occurred.\r
 **/\r
 STATIC\r
 BOOLEAN\r
@@ -585,7 +585,7 @@ RunTftp (
   @param[out] Value     UINT16 value\r
 \r
   @return     TRUE      The value was returned.\r
-  @return     FALSE     A parsing error occured.\r
+  @return     FALSE     A parsing error occurred.\r
 **/\r
 STATIC\r
 BOOLEAN\r
@@ -1081,7 +1081,7 @@ CheckPacket (
 }\r
 \r
 /**\r
-  Retrive HII package list from ImageHandle and publish to HII database.\r
+  Retrieve HII package list from ImageHandle and publish to HII database.\r
 \r
   @param ImageHandle            The image handle of the process.\r
 \r
index 4cd7784368133f3515bf223e4d539d6d36e08058..c46a0d5b0c3bb5d4c1df242e1c6b4fbecfc3a59f 100644 (file)
@@ -56,7 +56,7 @@ RunTftp (
   );\r
 \r
 /**\r
-  Retrive HII package list from ImageHandle and publish to HII database.\r
+  Retrieve HII package list from ImageHandle and publish to HII database.\r
 \r
   @param ImageHandle            The image handle of the process.\r
 \r
index 34466eda4b8795ef7417da7a7fd1ef427ced0956..0972454c286353d98c5e4dbeca95b2d9bcf87683 100644 (file)
@@ -25,7 +25,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringHelpTokenId = STRING_TOKEN (S
   @param ImageHandle            The image handle of the process.\r
   @param SystemTable            The EFI System Table pointer.\r
 \r
-  @retval EFI_SUCCESS           Tftp command is executed sucessfully.\r
+  @retval EFI_SUCCESS           Tftp command is executed successfully.\r
   @retval EFI_ABORTED           HII package was failed to initialize.\r
   @retval others                Other errors when executing tftp command.\r
 **/\r
index 4022e0ec788688d149734a42422cb35355da99d5..8e5df7b2d1605383a08f9c5e530c496e471b161b 100644 (file)
@@ -20,7 +20,7 @@
   @param[in] Shell                  The instance of the shell protocol used in the context\r
                                     of processing this command.\r
 \r
-  @return EFI_SUCCESS               the operation was sucessful\r
+  @return EFI_SUCCESS               the operation was successful\r
   @return other                     the operation failed.\r
 **/\r
 SHELL_STATUS\r
@@ -71,7 +71,7 @@ EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL mTftpDynamicCommand = {
   @param ImageHandle            The image handle of the process.\r
   @param SystemTable            The EFI System Table pointer.\r
 \r
-  @retval EFI_SUCCESS           Tftp command is executed sucessfully.\r
+  @retval EFI_SUCCESS           Tftp command is executed successfully.\r
   @retval EFI_ABORTED           HII package was failed to initialize.\r
   @retval others                Other errors when executing tftp command.\r
 **/\r