]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/EblExternCmd/EntryPointGlue.c
EmbeddedPkg: Fix mispellings
[mirror_edk2.git] / EmbeddedPkg / EblExternCmd / EntryPointGlue.c
index dd6cbed9ecbb64be44353b8b372d541be71fa675..cffd844bd096614c7c934472fd798e15f4f20811 100644 (file)
@@ -17,7 +17,7 @@
 \r
 **/\r
 \r
-#define CMD_SEPERATOR     ';'\r
+#define CMD_SEPARATOR     ';'\r
 #define MAX_ARGS          32\r
 \r
 EFI_STATUS\r
@@ -35,7 +35,7 @@ EblMain (
 \r
 /**\r
   Parse the CmdLine and break it up into Argc (arg count) and Argv (array of\r
-  pointers to each argument). The Cmd buffer is altered and seperators are \r
+  pointers to each argument). The Cmd buffer is altered and separators are\r
   converted to string terminators. This allows Argv to point into CmdLine.\r
   A CmdLine can support multiple commands. The next command in the command line\r
   is returned if it exists.\r
@@ -67,18 +67,18 @@ ParseArguments (
     return;\r
   }\r
 \r
-  // Walk a single command line. A CMD_SEPERATOR allows mult commands on a single line\r
+  // Walk a single command line. A CMD_SEPARATOR allows multiple commands on a single line\r
   InQuote       = FALSE;\r
   LookingForArg = TRUE;\r
-  for (Char = CmdLine, Arg = 0, Index = 0; *Char != '\0' && *Char != CMD_SEPERATOR; Char++, Index++) {\r
-    // Perform any text coversion here\r
+  for (Char = CmdLine, Arg = 0, Index = 0; *Char != '\0' && *Char != CMD_SEPARATOR; Char++, Index++) {\r
+    // Perform any text conversion here\r
     if (*Char == '\t') {\r
       // TAB to space\r
       *Char = ' ';\r
     }\r
 \r
     if (LookingForArg) {\r
-      // Look for the beging of an Argv[] entry\r
+      // Look for the beginning of an Argv[] entry\r
       if (*Char == '"') {\r
         Argv[Arg++] = ++Char;\r
         LookingForArg = FALSE;\r
@@ -103,8 +103,8 @@ ParseArguments (
 \r
   *Argc = Arg;\r
 \r
-  if (*Char == CMD_SEPERATOR) {\r
-    // Replace the command delimeter with null\r
+  if (*Char == CMD_SEPARATOR) {\r
+    // Replace the command delimiter with null\r
     *Char = '\0';\r
   }\r
 \r
@@ -116,14 +116,14 @@ ParseArguments (
 \r
 /**\r
   Embedded Boot Loader (EBL) - A simple EFI command line application for embedded \r
-  devices. PcdEmbeddedAutomaticBootCommand is a complied in commnad line that\r
-  gets executed automatically. The ; seperator allows multiple commands \r
+  devices. PcdEmbeddedAutomaticBootCommand is a complied in command line that\r
+  gets executed automatically. The ; separator allows multiple commands\r
   for each command line.\r
 \r
   @param  ImageHandle   EFI ImageHandle for this application.\r
   @param  SystemTable   EFI system table\r
 \r
-  @return EFI status of the applicaiton\r
+  @return EFI status of the application\r
 \r
 **/\r
 EFI_STATUS\r