diff options
Diffstat (limited to 'MdePkg/Include/Protocol/Shell.h')
-rw-r--r-- | MdePkg/Include/Protocol/Shell.h | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/MdePkg/Include/Protocol/Shell.h b/MdePkg/Include/Protocol/Shell.h index c16da382b2a6..9047060ae32e 100644 --- a/MdePkg/Include/Protocol/Shell.h +++ b/MdePkg/Include/Protocol/Shell.h @@ -2,14 +2,8 @@ EFI Shell protocol as defined in the UEFI Shell 2.0 specification including errata. (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> - Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> - This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> + SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -547,7 +541,7 @@ CONST CHAR16 * ); /** - Gets the environment variable and Attributes, or list of environment variables. Can be + Gets the environment variable and Attributes, or list of environment variables. Can be used instead of GetEnv(). This function returns the current value of the specified environment variable and @@ -555,18 +549,18 @@ CONST CHAR16 * variables will be returned. @param[in] Name A pointer to the environment variable name. If Name is NULL, - then the function will return all of the defined shell + then the function will return all of the defined shell environment variables. In the case where multiple environment - variables are being returned, each variable will be terminated + variables are being returned, each variable will be terminated by a NULL, and the list will be terminated by a double NULL. @param[out] Attributes If not NULL, a pointer to the returned attributes bitmask for the environment variable. In the case where Name is NULL, and multiple environment variables are being returned, Attributes is undefined. - @retval NULL The environment variable doesn't exist. - @return The environment variable's value. The returned pointer does not - need to be freed by the caller. + @retval NULL The environment variable doesn't exist. + @return The environment variable's value. The returned pointer does not + need to be freed by the caller. **/ typedef CONST CHAR16 * @@ -1011,7 +1005,7 @@ EFI_STATUS aliases will be returned in ReturnedData. @param[out] Volatile Upon return of a single command if TRUE indicates this is stored in a volatile fashion. FALSE otherwise. - @return If Alias is not NULL, it will return a pointer to + @return If Alias is not NULL, it will return a pointer to the NULL-terminated command for that alias. If Alias is NULL, ReturnedData points to a ';' delimited list of alias (e.g. @@ -1262,7 +1256,7 @@ extern EFI_GUID gEfiShellProtocolGuid; enum ShellVersion { SHELL_MAJOR_VERSION = 2, - SHELL_MINOR_VERSION = 1 + SHELL_MINOR_VERSION = 2 }; #endif |