X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ShellPkg%2FApplication%2FShell%2FShellProtocol.h;h=4f701cb74976736f5f607cc38d709e0edcd2efaa;hp=5a7638920d5ea286cb25bd13c7bde950f13f4fd1;hb=9168df3dea65f707d1e9c32eba5e18ef6b84e5cd;hpb=ffbc60a02757fe430448d7ad022d04cec133ba5d diff --git a/ShellPkg/Application/Shell/ShellProtocol.h b/ShellPkg/Application/Shell/ShellProtocol.h index 5a7638920d..4f701cb749 100644 --- a/ShellPkg/Application/Shell/ShellProtocol.h +++ b/ShellPkg/Application/Shell/ShellProtocol.h @@ -3,7 +3,7 @@ manipulation, and initialization of EFI_SHELL_PROTOCOL. (C) Copyright 2014 Hewlett-Packard Development Company, L.P.
- Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
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 @@ -49,7 +49,7 @@ CreatePopulateInstallShellProtocol ( ); /** - Opposite of CreatePopulateInstallShellProtocol. + Opposite of CreatePopulateInstallShellProtocol. Free all memory and restore the system to the state it was in before calling CreatePopulateInstallShellProtocol. @@ -59,11 +59,22 @@ CreatePopulateInstallShellProtocol ( @retval EFI_SUCCESS The operation was successful. **/ EFI_STATUS -EFIAPI CleanUpShellProtocol ( IN OUT EFI_SHELL_PROTOCOL *NewShell ); +/** + Cleanup the shell environment. + + @param[in, out] NewShell The pointer to the new shell protocol structure. + + @retval EFI_SUCCESS The operation was successful. +**/ +EFI_STATUS +CleanUpShellEnvironment ( + IN OUT EFI_SHELL_PROTOCOL *NewShell + ); + /** This function creates a mapping for a device path.