/** @file\r
- Provides application point extension for "C" style main funciton.\r
+ Provides application point extension for "C" style main function.\r
\r
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
Provides interface to shell internal functions for shell commands.\r
\r
This library is for use ONLY by shell commands linked into the shell application.\r
- This library will not funciton if it is used for UEFI Shell 2.0 Applications.\r
+ This library will not function if it is used for UEFI Shell 2.0 Applications.\r
\r
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
@param[in] ParentImageHandle Handle of the image executing this operation.\r
@param[in] CommandLine The string command line to execute.\r
@param[in] DebugOutput TRUE indicates that errors should be printed directly.\r
- FALSE supresses error messages.\r
+ FALSE suppresses error messages.\r
\r
@retval EFI_SUCCESS The command line executed and completed.\r
@retval EFI_ABORTED The operation aborted.\r
/** @file\r
- Provides application point extension for "C" style main funciton\r
+ Provides application point extension for "C" style main function\r
\r
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
\r
@param[in] TheHandle The handles to show info on.\r
@param[in] Language Language string per UEFI specification.\r
- @param[in] Seperator Separator string between information blocks.\r
+ @param[in] Separator Separator string between information blocks.\r
@param[in] Verbose TRUE for extra info, FALSE otherwise.\r
@param[in] ExtraInfo TRUE for extra info, FALSE otherwise.\r
\r
GetProtocolInfoString(\r
IN CONST EFI_HANDLE TheHandle,\r
IN CONST CHAR8 *Language,\r
- IN CONST CHAR16 *Seperator,\r
+ IN CONST CHAR16 *Separator,\r
IN CONST BOOLEAN Verbose,\r
IN CONST BOOLEAN ExtraInfo\r
)\r
if (Temp != NULL) {\r
ASSERT((RetVal == NULL && Size == 0) || (RetVal != NULL));\r
if (Size != 0) {\r
- StrnCatGrow(&RetVal, &Size, Seperator, 0);\r
+ StrnCatGrow(&RetVal, &Size, Separator, 0);\r
}\r
StrnCatGrow(&RetVal, &Size, L"%H", 0);\r
StrnCatGrow(&RetVal, &Size, Temp, 0);\r
StrnCatGrow(&RetVal, &Size, Temp, 0);\r
StrnCatGrow(&RetVal, &Size, L")\r\n", 0);\r
} else {\r
- StrnCatGrow(&RetVal, &Size, Seperator, 0);\r
+ StrnCatGrow(&RetVal, &Size, Separator, 0);\r
StrnCatGrow(&RetVal, &Size, Temp, 0);\r
}\r
FreePool(Temp);\r
}\r
\r
ASSERT((RetVal == NULL && Size == 0) || (RetVal != NULL));\r
- StrnCatGrow(&RetVal, &Size, Seperator, 0);\r
+ StrnCatGrow(&RetVal, &Size, Separator, 0);\r
return (RetVal);\r
}\r
\r
ShellCommandRegisterCommandName(L"vol", ShellCommandRunVol , ShellCommandGetManFileNameLevel2, 2, L"", TRUE, gShellLevel2HiiHandle, STRING_TOKEN(STR_GET_HELP_VOL) );\r
\r
//\r
- // support for permenant (built in) aliases\r
+ // support for permanent (built in) aliases\r
//\r
ShellCommandRegisterAlias(L"rm", L"del");\r
ShellCommandRegisterAlias(L"ls", L"dir");\r
}\r
\r
//\r
- // Parse the paramter of count number.\r
+ // Parse the parameter of count number.\r
//\r
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");\r
if (ValueStr != NULL) {\r
SendNumber = DEFAULT_SEND_COUNT;\r
}\r
//\r
- // Parse the paramter of buffer size.\r
+ // Parse the parameter of buffer size.\r
//\r
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");\r
if (ValueStr != NULL) {\r
ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));\r
\r
//\r
- // Parse the paramter of source ip address.\r
+ // Parse the parameter of source ip address.\r
//\r
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");\r
if (ValueStr == NULL) {\r
}\r
}\r
//\r
- // Parse the paramter of destination ip address.\r
+ // Parse the parameter of destination ip address.\r
//\r
NonOptionCount = ShellCommandLineGetCount(ParamPackage);\r
if (NonOptionCount < 2) {\r
BufferSize = 16;\r
\r
//\r
- // Parse the paramter of count number.\r
+ // Parse the parameter of count number.\r
//\r
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-n");\r
ValueStrPtr = ValueStr;\r
}\r
}\r
//\r
- // Parse the paramter of buffer size.\r
+ // Parse the parameter of buffer size.\r
//\r
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-l");\r
ValueStrPtr = ValueStr;\r
ZeroMem (&DstAddress, sizeof (EFI_IPv6_ADDRESS));\r
\r
//\r
- // Parse the paramter of source ip address.\r
+ // Parse the parameter of source ip address.\r
//\r
ValueStr = ShellCommandLineGetValue (ParamPackage, L"-s");\r
ValueStrPtr = ValueStr;\r
}\r
}\r
//\r
- // Parse the paramter of destination ip address.\r
+ // Parse the parameter of destination ip address.\r
//\r
NonOptionCount = ShellCommandLineGetCount(ParamPackage);\r
ValueStr = ShellCommandLineGetRawValue (ParamPackage, (UINT32)(NonOptionCount-1));\r