ShellPkg/Application: Fix various typos

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-68-philmd@redhat.com>
This commit is contained in:
Antoine Coeur
2020-02-07 02:08:20 +01:00
committed by mergify[bot]
parent ba562ca040
commit 6a5033ca3e
16 changed files with 106 additions and 106 deletions

View File

@ -43,14 +43,14 @@ IsVolatileEnv (
);
/**
Delete a Non-Violatile environment variable.
Delete a Non-Volatile environment variable.
This will use the Runtime Services call SetVariable to remove a non-violatile variable.
This will use the Runtime Services call SetVariable to remove a non-volatile variable.
@param EnvVarName The name of the environment variable in question
@retval EFI_SUCCESS The variable was deleted sucessfully
@retval other An error ocurred
@retval EFI_SUCCESS The variable was deleted successfully
@retval other An error occurred
@sa SetVariable
**/
#define SHELL_DELETE_ENVIRONMENT_VARIABLE(EnvVarName) \
@ -61,16 +61,16 @@ IsVolatileEnv (
NULL))
/**
Set a Non-Violatile environment variable.
Set a Non-Volatile environment variable.
This will use the Runtime Services call SetVariable to set a non-violatile variable.
This will use the Runtime Services call SetVariable to set a non-volatile variable.
@param EnvVarName The name of the environment variable in question
@param BufferSize UINTN size of Buffer
@param Buffer Pointer to value to set variable to
@retval EFI_SUCCESS The variable was changed sucessfully
@retval other An error ocurred
@retval EFI_SUCCESS The variable was changed successfully
@retval other An error occurred
@sa SetVariable
**/
#define SHELL_SET_ENVIRONMENT_VARIABLE_NV(EnvVarName,BufferSize,Buffer) \
@ -89,8 +89,8 @@ IsVolatileEnv (
@param BufferSize Pointer to the UINTN size of Buffer
@param Buffer Pointer buffer to get variable value into
@retval EFI_SUCCESS The variable's value was retrieved sucessfully
@retval other An error ocurred
@retval EFI_SUCCESS The variable's value was retrieved successfully
@retval other An error occurred
@sa SetVariable
**/
#define SHELL_GET_ENVIRONMENT_VARIABLE(EnvVarName,BufferSize,Buffer) \
@ -110,8 +110,8 @@ IsVolatileEnv (
@param BufferSize Pointer to the UINTN size of Buffer
@param Buffer Pointer buffer to get variable value into
@retval EFI_SUCCESS The variable's value was retrieved sucessfully
@retval other An error ocurred
@retval EFI_SUCCESS The variable's value was retrieved successfully
@retval other An error occurred
@sa SetVariable
**/
#define SHELL_GET_ENVIRONMENT_VARIABLE_AND_ATTRIBUTES(EnvVarName,Atts,BufferSize,Buffer) \
@ -122,16 +122,16 @@ IsVolatileEnv (
Buffer))
/**
Set a Violatile environment variable.
Set a Volatile environment variable.
This will use the Runtime Services call SetVariable to set a violatile variable.
This will use the Runtime Services call SetVariable to set a volatile variable.
@param EnvVarName The name of the environment variable in question
@param BufferSize UINTN size of Buffer
@param Buffer Pointer to value to set variable to
@retval EFI_SUCCESS The variable was changed sucessfully
@retval other An error ocurred
@retval EFI_SUCCESS The variable was changed successfully
@retval other An error occurred
@sa SetVariable
**/
#define SHELL_SET_ENVIRONMENT_VARIABLE_V(EnvVarName,BufferSize,Buffer) \
@ -147,7 +147,7 @@ IsVolatileEnv (
@param[in, out] List The pointer to pointer to LIST_ENTRY object for
storing this list.
@retval EFI_SUCCESS the list was created sucessfully.
@retval EFI_SUCCESS the list was created successfully.
**/
EFI_STATUS
GetEnvironmentVariableList(
@ -164,7 +164,7 @@ GetEnvironmentVariableList(
@param[in] List The pointer to LIST_ENTRY from
GetShellEnvVarList().
@retval EFI_SUCCESS The list was Set sucessfully.
@retval EFI_SUCCESS The list was Set successfully.
**/
EFI_STATUS
SetEnvironmentVariableList(