]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Ebl/Command.c
Update the license dates
[mirror_edk2.git] / EmbeddedPkg / Ebl / Command.c
index 9527cfea81a092dea5a49a9e5ee6f16a8d643347..78ddcd19367e20a57e2310a914fc981424ceb846 100644 (file)
@@ -1,10 +1,10 @@
 /** @file\r
   Basic commands and command processing infrastructure for EBL\r
 \r
-  Copyright (c) 2007, Intel Corporation<BR>\r
-  Portions copyright (c) 2008-2009, Apple Inc. All rights reserved.\r
+  Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
+  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
-  All rights reserved. This program and the accompanying materials\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -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