]> git.proxmox.com Git - mirror_edk2.git/commitdiff
EmbeddedPkg: Fix mispellings
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 8 Aug 2011 18:29:14 +0000 (18:29 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 8 Aug 2011 18:29:14 +0000 (18:29 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12101 6f19259b-4bc3-4df7-8a09-765794883524

21 files changed:
EmbeddedPkg/Ebl/CmdTemplate.c
EmbeddedPkg/Ebl/Command.c
EmbeddedPkg/Ebl/Dir.c
EmbeddedPkg/Ebl/Ebl.h
EmbeddedPkg/Ebl/EfiDevice.c
EmbeddedPkg/Ebl/Hob.c
EmbeddedPkg/Ebl/HwDebug.c
EmbeddedPkg/Ebl/HwIoDebug.c
EmbeddedPkg/Ebl/Main.c
EmbeddedPkg/Ebl/Script.c
EmbeddedPkg/EblExternCmd/EntryPointGlue.c
EmbeddedPkg/EblExternCmd/Main.c
EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.c
EmbeddedPkg/Include/Library/EblAddExternalCommandLib.h
EmbeddedPkg/Include/Library/EblCmdLib.h
EmbeddedPkg/Include/Library/EfiFileLib.h
EmbeddedPkg/Include/Protocol/EblAddCommand.h
EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.c
EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c
EmbeddedPkg/MetronomeDxe/Metronome.c
EmbeddedPkg/SerialDxe/SerialIo.c

index 328fda359b7f16a3d3bee49cfd2b1186152dd063..e19d63a8b09c80e0e29e0c988430bbb76610cde0 100644 (file)
@@ -26,7 +26,7 @@
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -53,7 +53,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED const EBL_COMMAND_TABLE mCmd%CommandName%Template[
 \r
 \r
 /**\r
-  Initialize the commands in this in this file\r
+  Initialize the commands in this file\r
 **/\r
 VOID\r
 EblInitialize%CommandName%Cmd (\r
index 73122e68a36f7633d56ad107ead500f1eaefa4fd..78ddcd19367e20a57e2310a914fc981424ceb846 100644 (file)
@@ -46,7 +46,7 @@ AsciiToUpper (
 \r
 \r
 /**\r
-  Case insensitve comparison of two Null-terminated Unicode strings with maximum\r
+  Case insensitive comparison of two Null-terminated Unicode strings with maximum\r
   lengths, and returns the difference between the first mismatched Unicode\r
   characters.\r
   This function compares the Null-terminated Unicode string FirstString to the\r
@@ -94,9 +94,9 @@ AsciiStrniCmp (
 /**\r
   Add a command to the mCmdTable. If there is no free space in the command \r
   table ASSERT. The mCmdTable is maintained in alphabetical order and the \r
-  new entry is inserted into its sorted possition.\r
+  new entry is inserted into its sorted position.\r
 \r
-  @param  Entry   Commnad Entry to add to the CmdTable\r
+  @param  Entry   Command Entry to add to the CmdTable\r
 \r
 **/\r
 VOID\r
@@ -139,7 +139,7 @@ EblAddCommand (
   array of commands.\r
 \r
   @param  EntryArray   Pointer to array of command entries\r
-  @param  ArrayCount   Number of commnad entries to add\r
+  @param  ArrayCount   Number of command entries to add\r
 \r
 **/\r
 VOID\r
@@ -168,8 +168,8 @@ EBL_ADD_COMMAND_PROTOCOL gEblAddCommand = {
 \r
 /**\r
   Return the best matching command for the passed in command name. The match \r
-  does not have to be exact, it just needs to be unqiue. This enables commands\r
-  to be shortend to the smallest set of starting characters that is unique.\r
+  does not have to be exact, it just needs to be unique. This enables commands\r
+  to be shortened to the smallest set of starting characters that is unique.\r
 \r
   @param  CommandName   Name of command to search for\r
 \r
@@ -250,7 +250,7 @@ CountNewLines (
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -300,14 +300,14 @@ EblHelpCmd (
 \r
 \r
 /**\r
-  Exit the EBL. If the commnad processor sees EFI_ABORTED return status it will\r
+  Exit the EBL. If the command processor sees EFI_ABORTED return status it will\r
   exit the EBL.\r
 \r
   Argv[0] - "exit"\r
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_ABORTED\r
 \r
@@ -388,7 +388,7 @@ EblExitCmd (
   This AsciiPrint has to match the AsciiPrint in \r
   EblPauseCmd. \r
 \r
-  @param  ElaspedTime   Current timout value remaining\r
+  @param  ElaspedTime   Current timeout value remaining\r
 \r
 **/\r
 VOID\r
@@ -411,10 +411,10 @@ EblPauseCallback (
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS  Timeout expired with no input\r
-  @return EFI_TIMEOUT  Stop procesing other commands on the same command line\r
+  @return EFI_TIMEOUT  Stop processing other commands on the same command line\r
 \r
 **/\r
 EFI_STATUS\r
@@ -433,8 +433,8 @@ EblPauseCmd (
   Status = EblGetCharKey (&Key, Delay, EblPauseCallback);\r
   AsciiPrint ("\n");\r
 \r
-  // If we timeout then the pause succeded thus return success\r
-  // If we get a key return timout to stop other commnad on this cmd line\r
+  // If we timeout then the pause succeeded thus return success\r
+  // If we get a key return timeout to stop other command on this cmd line\r
   return (Status == EFI_SUCCESS) ? EFI_TIMEOUT : EFI_SUCCESS;;\r
 }\r
 \r
@@ -446,7 +446,7 @@ EblPauseCmd (
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -472,7 +472,7 @@ EblBreakPointCmd (
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -512,7 +512,7 @@ EblResetCmd (
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -693,7 +693,7 @@ OutputData (
   \r
   Example hexdump.4 returns a width of 4.\r
 \r
-  @param  Argv   Argv[0] is the comamnd name\r
+  @param  Argv   Argv[0] is the command name\r
 \r
   @return Width of command\r
 \r
@@ -735,7 +735,7 @@ WidthFromCommandName (
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
index 3bd072d584d801074012e42ea705ff493564dd01..5e28ecf61a0bbd3a28b4ce371a2bded406669006 100644 (file)
@@ -51,12 +51,12 @@ GLOBAL_REMOVE_IF_UNREFERENCED   CHAR8 *gFvFileType[] = {
   dir fs1:\efi *.efi; perform a dir on fs1: device in the efi directory but \r
                       only print out files that contain the string *.efi\r
   dir fv1:\         ; perform a dir on fv1: device in the efi directory \r
-                    NOTE: fv devices do not contian subdirs \r
+                    NOTE: fv devices do not contain subdirs\r
   dir fv1:\ * PEIM  ; will match all files of type PEIM\r
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -301,7 +301,7 @@ Done:
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
index 5c322e5e9735c85e6089047690e0d2c822bdd29e..03b4ba29fb4b1727d9c1af06a0ad4412aaf02e10 100644 (file)
@@ -1,5 +1,5 @@
 /** @file
-  Include flie for basic command line parser for EBL (Embedded Boot Loader)
+  Include file for basic command line parser for EBL (Embedded Boot Loader)
 
   Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
   Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
 //
 // Prompt for the command line
 //
-#define CMD_SEPERATOR   ';'
-#define EBL_MAX_COMMAND_COUNT   0x100
-#define MAX_CMD_HISTORY         16
-#define MAX_CMD_LINE            256
-#define MAX_ARGS                32
+#define CMD_SEPARATOR             ';'
+#define EBL_MAX_COMMAND_COUNT     0x100
+#define MAX_CMD_HISTORY           16
+#define MAX_CMD_LINE              256
+#define MAX_ARGS                  32
 
-#define EBL_CR                  0x0a
-#define EBL_LF                  0x0d
+#define EBL_CR                    0x0a
+#define EBL_LF                    0x0d
 
 #define EFI_SET_TIMER_TO_SECOND   10000000
 
@@ -73,7 +73,7 @@
 
 EBL_COMMAND_TABLE *
 EblGetCommand (
-  IN CHAR8    *CommandName
+  IN CHAR8                        *CommandName
   );
 
 
@@ -88,8 +88,8 @@ EblPathToDevice (
 
 BOOLEAN
 EblAnyKeyToContinueQtoQuit (
-  IN  UINTN   *CurrentRow,
-  IN  BOOLEAN PrefixNewline
+  IN  UINTN                       *CurrentRow,
+  IN  BOOLEAN                     PrefixNewline
   );
 
 VOID
@@ -109,7 +109,7 @@ EblShutdownExternalCmdTable (
 
 VOID
 EblSetTextColor (
-  UINTN   Attribute
+  UINTN                           Attribute
   );
 
 
@@ -124,9 +124,9 @@ EblGetCharKey (
 INTN
 EFIAPI
 AsciiStrniCmp (
-  IN      CONST CHAR8               *FirstString,
-  IN      CONST CHAR8               *SecondString,
-  IN      UINTN                     Length
+  IN      CONST CHAR8             *FirstString,
+  IN      CONST CHAR8             *SecondString,
+  IN      UINTN                   Length
   );
 
 
@@ -172,36 +172,36 @@ EblInitializeVariableCmds (
 
 CHAR8 *
 ParseArguments (
-  IN  CHAR8  *CmdLine,
-  OUT UINTN  *Argc,
-  OUT CHAR8  **Argv
+  IN  CHAR8                       *CmdLine,
+  OUT UINTN                       *Argc,
+  OUT CHAR8                       **Argv
   );
 
 EFI_STATUS
 ProcessCmdLine (
-  IN CHAR8      *CmdLine,
-  IN UINTN      MaxCmdLineSize
+  IN CHAR8                        *CmdLine,
+  IN UINTN                        MaxCmdLineSize
   );
 
 EFI_STATUS
 OutputData (
-  IN UINT8  *Address,
-  IN UINTN  Length,
-  IN UINTN  Width,
-  IN UINTN  Offset
+  IN UINT8                        *Address,
+  IN UINTN                        Length,
+  IN UINTN                         Width,
+  IN UINTN                        Offset
   );
   
 UINTN
 WidthFromCommandName (
-  IN CHAR8  *Argv,
-  IN UINTN  Default
+  IN CHAR8                        *Argv,
+  IN UINTN                        Default
   );
 
 
-extern UINTN    gScreenColumns;
-extern UINTN    gScreenRows;
-extern BOOLEAN  gPageBreak;
-extern CHAR8    *gMemMapType[];
+extern UINTN                      gScreenColumns;
+extern UINTN                      gScreenRows;
+extern BOOLEAN                    gPageBreak;
+extern CHAR8                      *gMemMapType[];
 
 #endif
 
index dafe0c9a05935b1a4eedfd0039e00e2bd0645e36..dfdbc3fe789a69c1185ca16544c3bef9f9ef24aa 100644 (file)
@@ -196,7 +196,7 @@ EblPrintLoadFileInfo (
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -279,7 +279,7 @@ EblDeviceCmd (
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -353,7 +353,7 @@ EblStartCmd (
 \r
 /**\r
   Load a Firmware Volume (FV) into memory from a device. This causes drivers in\r
-  the FV to be dispatched if the dependancies of the drivers are met.\r
+  the FV to be dispatched if the dependencies of the drivers are met.\r
   \r
   Argv[0] - "loadfv"\r
   Argv[1] - device name and path\r
@@ -364,7 +364,7 @@ EblStartCmd (
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -414,13 +414,13 @@ EblLoadFvCmd (
 /**\r
   Perform an EFI connect to connect devices that follow the EFI driver model. \r
   If it is a PI system also call the dispatcher in case a new FV was made\r
-  availible by one of the connect EFI drivers (this is not a common case).\r
+  available by one of the connect EFI drivers (this is not a common case).\r
   \r
   Argv[0] - "connect"\r
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -542,7 +542,7 @@ CHAR8 *gMemMapType[] = {
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -628,7 +628,7 @@ EblMemMapCmd (
 \r
 \r
 /**\r
-  Load a file into memory and optionally jump to it. A load addres can be \r
+  Load a file into memory and optionally jump to it. A load address can be\r
   specified or automatically allocated. A quoted command line can optionally\r
   be passed into the image. \r
 \r
@@ -644,14 +644,14 @@ EblMemMapCmd (
     in "EblCmdX Arg2 Arg3 Arg4" as the arguments.\r
 \r
   go fv0:\EblCmdX  *  0x10 "EblCmdX Arg2 Arg3 Arg4"; - load EblCmdX from FS0 \r
-    to location allocated by this comamnd and call the entry point at offset 0x10 \r
+    to location allocated by this command and call the entry point at offset 0x10\r
     passing in "EblCmdX Arg2 Arg3 Arg4" as the arguments.\r
 \r
   go fv1:\EblCmdX  0x10000; Load EblCmdX to address 0x10000 and return\r
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -687,7 +687,7 @@ EblGoCmd (
     // * Means allocate the buffer\r
     Status = EfiReadAllocatePool (File, &Address, &Size);\r
     \r
-    // EntryPoint is relatvie to the start of the image \r
+    // EntryPoint is relative to the start of the image\r
     EntryPoint = (EBL_COMMMAND)((UINTN)EntryPoint + (UINTN)Address);\r
 \r
   } else {\r
index b2c042de220d9ce4d20faca822ebb6800c064344..b8c1c52752e1658b112f3ee5a8dc16361938ad21 100644 (file)
@@ -103,14 +103,14 @@ GLOBAL_REMOVE_IF_UNREFERENCED char *mHobResourceType[] = {
 \r
 \r
 /**\r
-  Dump out the HOBs in the system. HOBs are defined in the PI specificaiton\r
+  Dump out the HOBs in the system. HOBs are defined in the PI specification\r
   and they are used to hand off information from PEI to DXE.\r
 \r
   Argv[0] - "hob"\r
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
index b14d494d5de9d16316639a92904bc24cf9257973..2ecf9d6d31291066608d87b849e11cf9e2928029 100644 (file)
@@ -71,7 +71,7 @@ EblMdCmd (
 /**\r
   Fill Memory with data\r
 \r
-  Argv[0] - "mfill"[.#] # is optiona width 1, 2, 4, or 8. Default 4\r
+  Argv[0] - "mfill"[.#] # is optional width 1, 2, 4, or 8. Default 4\r
   Argv[1] - Hex Address to fill\r
   Argv[2] - Data to write (0x00 is default)\r
   Argv[3] - Number of units to dump.\r
@@ -83,7 +83,7 @@ EblMdCmd (
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -163,7 +163,7 @@ CHAR8 *gPciSerialClassCodes[] = {
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -255,7 +255,7 @@ EblPciCmd (
         Pci->GetLocation (Pci, &Seg, &Bus, &Dev, &Func);\r
         if ((Bus == BusArg) && (Dev == DevArg) && (Func == FuncArg)) {\r
           // Only print Segment if it is non zero. If you only have one PCI segment it is \r
-          // redundent to print it out\r
+          // redundant to print it out\r
           if (Seg != 0) {\r
             AsciiPrint ("Seg:%d ", Seg);\r
           }\r
index a858ff31afc4a91d5c4abcd2648098cbddafbc25..13f4d643f729ec91989c25f62f3469b6cce5f60d 100644 (file)
@@ -12,7 +12,7 @@
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
-  Commands useful for debugging hardware. IO commands seperated out as not all\r
+  Commands useful for debugging hardware. IO commands separated out as not all\r
   processor architectures support the IO command.\r
 \r
 **/\r
@@ -24,7 +24,7 @@
 /**\r
   Read from IO space\r
 \r
-  Argv[0] - "ioread"[.#] # is optiona width 1, 2, or 4. Default 1\r
+  Argv[0] - "ioread"[.#] # is optional width 1, 2, or 4. Default 1\r
   Argv[1] - Hex IO address\r
 \r
   ior.4 0x3f8  ;Do a 32-bit IO Read from 0x3f8\r
@@ -32,7 +32,7 @@
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
@@ -73,7 +73,7 @@ EblIoReadCmd (
 /**\r
   Write to IO space\r
 \r
-  Argv[0] - "iowrite"[.#] # is optiona width 1, 2, or 4. Default 1\r
+  Argv[0] - "iowrite"[.#] # is optional width 1, 2, or 4. Default 1\r
   Argv[1] - Hex IO address\r
   Argv[2] - Hex data to write\r
 \r
@@ -82,7 +82,7 @@ EblIoReadCmd (
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
index 3d618419e673dde48026be071cd1f2aca69fe876..e4879bcf977aa541c244eb58b1a31d14647623e5 100644 (file)
@@ -151,7 +151,7 @@ Exit:
 \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
@@ -179,11 +179,11 @@ ParseArguments (
     return NULL;\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; *Char != '\0'; Char++) {\r
-    if (!InQuote && *Char == CMD_SEPERATOR) {\r
+    if (!InQuote && *Char == CMD_SEPARATOR) {\r
       break;\r
     }\r
 \r
@@ -194,7 +194,7 @@ ParseArguments (
     }\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
@@ -219,8 +219,8 @@ ParseArguments (
 \r
   *Argc = Arg;\r
 \r
-  if (*Char == CMD_SEPERATOR) {\r
-    // Replace the command delimeter with null and return pointer to next command line\r
+  if (*Char == CMD_SEPARATOR) {\r
+    // Replace the command delimiter with null and return pointer to next command line\r
     *Char = '\0';\r
     return ++Char;\r
   }\r
@@ -231,7 +231,7 @@ ParseArguments (
 \r
 /**\r
   Return a keypress or optionally timeout if a timeout value was passed in.\r
-  An optional callback funciton is called evey second when waiting for a\r
+  An optional callback function is called every second when waiting for a\r
   timeout.\r
 \r
   @param  Key           EFI Key information returned\r
@@ -370,10 +370,10 @@ EblSetTextColor (
 \r
 \r
 /**\r
-  Collect the keyboard input for a cmd line. Carage Return, New Line, or ESC\r
+  Collect the keyboard input for a cmd line. Carriage Return, New Line, or ESC\r
   terminates the command line. You can edit the command line via left arrow,\r
   delete and backspace and they all back up and erase the command line. \r
-  No edit of commnad line is possible without deletion at this time!\r
+  No edit of command line is possible without deletion at this time!\r
   The up arrow and down arrow fill Cmd with information from the history \r
   buffer.\r
 \r
@@ -516,7 +516,7 @@ EblPrompt (
 \r
 \r
 /**\r
-  Parse a command line and execute the commands. The ; seperator allows \r
+  Parse a command line and execute the commands. The ; separator allows\r
   multiple commands for each command line. Stop processing if one of the\r
   commands returns an error.\r
 \r
@@ -538,7 +538,7 @@ ProcessCmdLine (
   UINTN               Argc;\r
   CHAR8               *Argv[MAX_ARGS];\r
 \r
-  // Parse the command line. The loop processes commands seperated by ;\r
+  // Parse the command line. The loop processes commands separated by ;\r
   for (Ptr = CmdLine, Status = EFI_SUCCESS; Ptr != NULL;) {\r
     Ptr = ParseArguments (Ptr, &Argc, Argv);\r
     if (Argc != 0) {\r
@@ -550,7 +550,7 @@ ProcessCmdLine (
           // exit command so lets exit\r
           break;\r
         } else if (Status == EFI_TIMEOUT) {\r
-          // pause command got imput so don't process any more cmd on this cmd line\r
+          // pause command got input so don't process any more cmd on this cmd line\r
           break;\r
         } else if (EFI_ERROR (Status)) {\r
           AsciiPrint ("%a returned %r error\n", Cmd->Name, Status);\r
@@ -568,14 +568,14 @@ ProcessCmdLine (
 \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
@@ -592,7 +592,7 @@ EdkBootLoaderEntry (
   UINTN       CommandLineVariableSize = 0;\r
   EFI_GUID    VendorGuid;\r
 \r
-  // Initialize tables of commnads\r
+  // Initialize tables of commands\r
   EblInitializeCmdTable ();\r
   EblInitializeDeviceCmd ();\r
   EblInitializemdHwDebugCmds ();\r
@@ -605,7 +605,7 @@ EdkBootLoaderEntry (
   EblInitializeVariableCmds ();\r
   \r
   if (gST->ConOut == NULL) {\r
-    DEBUG((EFI_D_ERROR,"Errot: No Console Output\n"));\r
+    DEBUG((EFI_D_ERROR,"Error: No Console Output\n"));\r
     return EFI_NOT_READY;\r
   }\r
 \r
@@ -627,7 +627,7 @@ EdkBootLoaderEntry (
 \r
   EblPrintStartupBanner ();\r
  \r
-  // Parse command line and handle commands seperated by ;\r
+  // Parse command line and handle commands separated by ;\r
   // The loop prints the prompt gets user input and saves history\r
   \r
   // Look for a variable with a default command line, otherwise use the Pcd\r
index 123ebf388c2dbaccf991ce8db8a807ed2f9e1764..7c2d58b0a454cba5a28e999cf2436be9cb41e14b 100644 (file)
@@ -26,7 +26,7 @@
   supported:\r
     LF   : Unix, Mac OS X*, BeOS\r
     CR+LF: MS-DOS*, Microsoft Windows*\r
-    CR   : Commodore, Apple II, and realy Mac OS\r
+    CR   : Commodore, Apple II, and really Mac OS\r
     LF+CR: for simplicity and completeness \r
 \r
   Argv[0] - "script"\r
@@ -36,7 +36,7 @@
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
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
index 9a3dcce74cfdb9ad9ee460cd96bb88e08eb8ff28..9f38c5de58bfb85ee0870a0540724ecc51c510ff 100644 (file)
@@ -29,7 +29,7 @@
 \r
   @param  Argc   Number of command arguments in Argv\r
   @param  Argv   Array of strings that represent the parsed command line. \r
-                 Argv[0] is the comamnd name\r
+                 Argv[0] is the command name\r
 \r
   @return EFI_SUCCESS\r
 \r
index 21397dcebcf078ea6c113554ead9f2475d361b56..7348fa60e61c9a5fb8897edefde4a3e90e6eb1d3 100644 (file)
@@ -72,7 +72,7 @@ MonotonicCounterDriverInitialize (
   gBS->GetNextMonotonicCount     = GetNextMonotonicCount;\r
   gRT->GetNextHighMonotonicCount = GetNextHighMonotonicCount;\r
 \r
-  // Install the Monotonic Counter Architctural Protocol onto a new handle\r
+  // Install the Monotonic Counter Architectural Protocol onto a new handle\r
   Status = gBS->InstallMultipleProtocolInterfaces (\r
                   &Handle,\r
                   &gEfiMonotonicCounterArchProtocolGuid,    NULL,\r
index 1a6d856d9895d72a40195989ae1c97c3843bf8ed..c00d04f4d48115440637db9fe19cc07b758b5944 100644 (file)
@@ -1,5 +1,5 @@
 /** @file
-  Include flie for basic command line parser for EBL (Embedded Boot Loader)
+  Include file for basic command line parser for EBL (Embedded Boot Loader)
 
   Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
   Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
@@ -32,7 +32,7 @@ EblAddExternalCommands (
 
   Return a keypress or optionally timeout if a timeout value was passed in.
 
-  An optional callback funciton is called evey second when waiting for a
+  An optional callback function is called every second when waiting for a
 
   timeout.
 
index e891d99d95d88b7389c6492c677f9fbcc973bad7..8974463c8c97559063d30b2c7d826ff98c1806c2 100644 (file)
@@ -1,5 +1,5 @@
 /** @file
-  Include flie for basic command line parser for EBL (Embedded Boot Loader)
+  Include file for basic command line parser for EBL (Embedded Boot Loader)
 
   Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
   Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
index 9ec5246358f3eeef998412f8f9c3ec9a27aa144e..033375cea04011bc85e1a4edc1c768e0321eeaa3 100644 (file)
@@ -118,12 +118,12 @@ typedef enum {
 \r
 /**\r
   Open a device named by PathName. The PathName includes a device name and \r
-  path seperated by a :. See file header for more details on the PathName \r
+  path separated by a :. See file header for more details on the PathName\r
   syntax. There is no checking to prevent a file from being opened more than\r
   one type. \r
 \r
   SectionType is only used to open an FV. Each file in an FV contains multiple\r
-  secitons and only the SectionType section is opened. \r
+  sections and only the SectionType section is opened.\r
 \r
   For any file that is opened with EfiOpen() must be closed with EfiClose().\r
 \r
@@ -199,7 +199,7 @@ EfiTell (
 \r
 \r
 /**\r
-  Seek to the Offset locaiton in the file. LoadFile and FV device types do\r
+  Seek to the Offset location in the file. LoadFile and FV device types do\r
   not support EfiSeek(). It is not possible to grow the file size using \r
   EfiSeek().\r
   \r
@@ -214,7 +214,7 @@ EfiTell (
 \r
 \r
   @return EFI_INVALID_PARAMETER  Stream is not an Open File\r
-  @return EFI_UNSUPPORTED        LoadFile and FV doe not support Seek\r
+  @return EFI_UNSUPPORTED        LoadFile and FV does not support Seek\r
   @return EFI_NOT_FOUND          Seek past the end of the file.\r
   @return EFI_SUCCESS            Steam closed\r
 \r
@@ -228,7 +228,7 @@ EfiSeek (
 \r
 \r
 /**\r
-  Read BufferSize bytes from the current locaiton in the file. For load file\r
+  Read BufferSize bytes from the current location in the file. For load file\r
   and FV case you must read the entire file. \r
 \r
   @param  Stream      Open File Handle\r
@@ -255,7 +255,7 @@ EfiRead (
   Read the entire file into a buffer. This routine allocates the buffer and\r
   returns it to the user full of the read data. \r
 \r
-  This is very useful for load flie where it's hard to know how big the buffer\r
+  This is very useful for load file where it's hard to know how big the buffer\r
   must be.\r
 \r
   @param  Stream      Open File Handle\r
@@ -316,7 +316,7 @@ EfiGetDeviceCounts (
   \r
 \r
 /**\r
-  Set the Curent Working Directory (CWD). If a call is made to EfiOpen () and \r
+  Set the Current Working Directory (CWD). If a call is made to EfiOpen () and\r
   the path does not contain a device name, The CWD is prepended to the path.\r
   \r
   @param  Cwd     Current Working Directory to set\r
@@ -332,7 +332,7 @@ EfiSetCwd (
   );  \r
 \r
 /**\r
-  Set the Curent Working Directory (CWD). If a call is made to EfiOpen () and \r
+  Set the Current Working Directory (CWD). If a call is made to EfiOpen () and\r
   the path does not contain a device name, The CWD is prepended to the path.\r
   \r
   @param  Cwd     Current Working Directory \r
index 55df1bd5f121d58589b806410343e819a418a481..1ce5a8f3bfc26715c5666553057744022a5b15d5 100644 (file)
@@ -62,7 +62,7 @@ VOID
 \r
   @param EntryArray     Pointer EBL_COMMAND_TABLE of the commands that are being added\r
 \r
-  @param ArrayCount     Nuber of commands in the EntryArray.\r
+  @param ArrayCount     Number of commands in the EntryArray.\r
 \r
 **/\r
 typedef\r
@@ -81,7 +81,7 @@ VOID
 \r
 /**\r
   Return a keypress or optionally timeout if a timeout value was passed in.\r
-  An optional callback funciton is called evey second when waiting for a\r
+  An optional callback function is called every second when waiting for a\r
   timeout.\r
 \r
   @param  Key           EFI Key information returned\r
index ee6f559e09ac44a9fa3cde1c248b3e66f45d4370..90ae8d44d5ef720fe6ad43646bd307e380e13160 100644 (file)
@@ -31,7 +31,7 @@ EBL_ADD_COMMAND_PROTOCOL      *gEblExternalCommand = NULL;
 \r
 /**\r
   Return a keypress or optionally timeout if a timeout value was passed in.\r
-  An optional callback funciton is called evey second when waiting for a\r
+  An optional callback function is called every second when waiting for a\r
   timeout.\r
 \r
   @param  Key           EFI Key information returned\r
index c93304d53738ff50740e6cec31e9885759872be0..5e0f9ca1172b134ba7ce6cb36d85912225aa9dd5 100644 (file)
@@ -17,7 +17,7 @@ is in the form of DevType:Path. Current DevType is required as there is no
 current mounted device concept of current working directory concept implement
 by this library.
 
-Device names are case insensative and only check the leading characters for 
+Device names are case insensitive and only check the leading characters for
 unique matches. Thus the following are all the same:
 LoadFile0:
 l0:
@@ -168,7 +168,7 @@ EblUpdateDeviceLists (
   }
 
   if (&mFsInfo[0] != NULL) {
-    // Need to Free the mFsInfo prior to reclaculating mFsCount so don't move this code
+    // Need to Free the mFsInfo prior to recalculating mFsCount so don't move this code
     for (Index = 0; Index < mFsCount; Index++) {
       if (mFsInfo[Index] != NULL) {
         FreePool (mFsInfo[Index]);
@@ -635,12 +635,12 @@ EblFvFileDevicePath (
 
 /**
 Open a device named by PathName. The PathName includes a device name and 
-path seperated by a :. See file header for more details on the PathName 
+path separated by a :. See file header for more details on the PathName
 syntax. There is no checking to prevent a file from being opened more than
 one type. 
 
 SectionType is only used to open an FV. Each file in an FV contains multiple
-secitons and only the SectionType section is opened. 
+sections and only the SectionType section is opened.
 
 For any file that is opened with EfiOpen() must be closed with EfiClose().
 
@@ -704,7 +704,7 @@ EfiOpen (
         return NULL;
       }
 
-      // We could add a current working diretory concept 
+      // We could add a current working directory concept
       CwdPlusPathName = AllocatePool (AsciiStrSize (gCwd) + AsciiStrSize (PathName));
       if (CwdPlusPathName == NULL) {
         return NULL;
@@ -731,7 +731,7 @@ EfiOpen (
 
       AsciiStrCat (CwdPlusPathName, PathName);
       if (AsciiStrStr (CwdPlusPathName, ":") == NULL) {
-        // Extra error check to make sure we don't recusre and blow stack
+        // Extra error check to make sure we don't recurse and blow stack
         return NULL;
       }
 
@@ -1175,7 +1175,7 @@ EfiTell (
 
 
 /**
-Seek to the Offset locaiton in the file. LoadFile and FV device types do
+Seek to the Offset location in the file. LoadFile and FV device types do
 not support EfiSeek(). It is not possible to grow the file size using 
 EfiSeek().
 
@@ -1190,7 +1190,7 @@ EfiSeekEnd    : Only supported if Offset is zero to seek to end of file.
 
 
 @return EFI_INVALID_PARAMETER  Stream is not an Open File
-@return EFI_UNSUPPORTED        LoadFile and FV doe not support Seek
+@return EFI_UNSUPPORTED        LoadFile and FV do not support Seek
 @return EFI_NOT_FOUND          Seek past the end of the file.
 @return EFI_SUCCESS            Steam closed
 
@@ -1300,7 +1300,7 @@ CacheTftpFile (
 }
 
 /**
-Read BufferSize bytes from the current locaiton in the file. For load file,
+Read BufferSize bytes from the current location in the file. For load file,
 FV, and TFTP case you must read the entire file. 
 
 @param  Stream      Open File Handle
@@ -1431,7 +1431,7 @@ EfiRead (
 Read the entire file into a buffer. This routine allocates the buffer and
 returns it to the user full of the read data. 
 
-This is very useful for load flie where it's hard to know how big the buffer
+This is very useful for load file where it's hard to know how big the buffer
 must be.
 
 @param  Stream      Open File Handle
@@ -1669,7 +1669,7 @@ ExpandPath (
 
 
 /**
-Set the Curent Working Directory (CWD). If a call is made to EfiOpen () and 
+Set the Current Working Directory (CWD). If a call is made to EfiOpen () and
 the path does not contain a device name, The CWD is prepended to the path.
 
 @param  Cwd     Current Working Directory to set
@@ -1751,11 +1751,11 @@ EfiSetCwd (
 
 
 /**
-Set the Curent Working Directory (CWD). If a call is made to EfiOpen () and 
+Set the Current Working Directory (CWD). If a call is made to EfiOpen () and
 the path does not contain a device name, The CWD is prepended to the path.
 The CWD buffer is only valid until a new call is made to EfiSetCwd(). After
 a call to EfiSetCwd() it is not legal to use the pointer returned by 
-this funciton.
+this function.
 
 @param  Cwd     Current Working Directory 
 
index f39ebc1c7815d449174b742ae974883e90e83951..f8b1fcb8d83f1324d02b2314f84b948d678b0db9 100644 (file)
@@ -65,7 +65,7 @@ WaitForTick (
 \r
 \r
 /**\r
-  Interface stucture for the Metronome Architectural Protocol.\r
+  Interface structure for the Metronome Architectural Protocol.\r
 \r
   @par Protocol Description:\r
   This protocol provides access to a known time source in the platform to the\r
index fe0b1711a8a7aa772dc8b88241202a7d34e0d5c3..59d904c192a583f1cd4fe2e72cb0e4bcfb2b5bb0 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Serial IO Abstraction for GDB stub. This allows an EFI consoles that shows up on the system \r
-  running GDB. One consle for error information and another console for user input/output.\r
+  running GDB. One console for error information and another console for user input/output.\r
   \r
-  Basic packet format is $packet-data#checksum. So every comand has 4 bytes of overhead: $, \r
+  Basic packet format is $packet-data#checksum. So every command has 4 bytes of overhead: $,\r
   #, 0, 0. The 0 and 0 are the ascii characters for the checksum. \r
   \r
 \r
@@ -48,15 +48,15 @@ SerialReset (
 \r
 \r
 /**\r
-  Sets the baud rate, receive FIFO depth, transmit/receice time out, parity, \r
+  Sets the baud rate, receive FIFO depth, transmit/receive time out, parity,\r
   data buts, and stop bits on a serial device.\r
 \r
   @param  This             Protocol instance pointer.\r
   @param  BaudRate         The requested baud rate. A BaudRate value of 0 will use the the\r
                            device's default interface speed.\r
-  @param  ReveiveFifoDepth The requested depth of the FIFO on the receive side of the\r
+  @param  ReceiveFifoDepth The requested depth of the FIFO on the receive side of the\r
                            serial interface. A ReceiveFifoDepth value of 0 will use\r
-                           the device's dfault FIFO depth.\r
+                           the device's default FIFO depth.\r
   @param  Timeout          The requested time out for a single character in microseconds.\r
                            This timeout applies to both the transmit and receive side of the\r
                            interface. A Timeout value of 0 will use the device's default time\r
@@ -64,7 +64,7 @@ SerialReset (
   @param  Parity           The type of parity to use on this serial device. A Parity value of\r
                            DefaultParity will use the device's default parity value.\r
   @param  DataBits         The number of data bits to use on the serial device. A DataBits\r
-                           vaule of 0 will use the device's default data bit setting.\r
+                           value of 0 will use the device's default data bit setting.\r
   @param  StopBits         The number of stop bits to use on this serial device. A StopBits\r
                            value of DefaultStopBits will use the device's default number of\r
                            stop bits.\r
@@ -112,7 +112,7 @@ SerialSetControl (
 \r
 \r
 /**\r
-  Retrieves the status of thecontrol bits on a serial device\r
+  Retrieves the status of the control bits on a serial device\r
 \r
   @param  This              Protocol instance pointer.\r
   @param  Control           A pointer to return the current Control signals from the serial device.\r
@@ -205,13 +205,13 @@ SerialRead (
 EFI_HANDLE  gHandle = NULL;\r
 \r
 // \r
-// Template used to initailize the GDB Serial IO protocols\r
+// Template used to initialize the GDB Serial IO protocols\r
 //\r
 EFI_SERIAL_IO_MODE gSerialIoMode = {\r
   0,                                          // ControlMask\r
   0,                                          // Timeout\r
   FixedPcdGet64 (PcdUartDefaultBaudRate),     // BaudRate\r
-  1,                                          // RceiveFifoDepth\r
+  1,                                          // ReceiveFifoDepth\r
   FixedPcdGet8 (PcdUartDefaultDataBits),      // DataBits\r
   FixedPcdGet8 (PcdUartDefaultParity),        // Parity\r
   FixedPcdGet8 (PcdUartDefaultStopBits)       // StopBits\r