]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ShellPkg / Library / UefiShellDriver1CommandsLib / UefiShellDriver1CommandsLib.h
index 1b8e56822db17808d4ca7852eff6e8a527eb4e9b..1c002361de7308085d322178f5af8a85699612d2 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   Main file for NULL named library for Profile1 shell command functions.\r
 \r
-  Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\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
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -16,7 +10,6 @@
 #define _UEFI_SHELL_DRIVER1_COMMANDS_LIB_H_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 #include <Guid/GlobalVariable.h>\r
 #include <Guid/ConsoleInDevice.h>\r
 \r
 #include <IndustryStandard/Pci.h>\r
 \r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Pi/PiFirmwareVolume.h>\r
+#include <Pi/PiFirmwareFile.h>\r
+#include <Protocol/FirmwareVolume2.h>\r
+\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/UnicodeCollation.h>\r
@@ -60,9 +57,8 @@
 #include <Library/PeCoffGetEntryPointLib.h>\r
 #include <Library/HandleParsingLib.h>\r
 \r
-\r
-extern        EFI_HANDLE                        gShellDriver1HiiHandle;\r
-extern        BOOLEAN                           gInReconnect;\r
+extern        EFI_HII_HANDLE  gShellDriver1HiiHandle;\r
+extern        BOOLEAN         gInReconnect;\r
 \r
 /**\r
   Function for 'connect' command.\r
@@ -207,5 +203,16 @@ ShellCommandRunUnload (
   IN EFI_SYSTEM_TABLE  *SystemTable\r
   );\r
 \r
-#endif\r
+/**\r
+  Do a connect from an EFI variable via it's key name.\r
 \r
+  @param[in] Key      The name of the EFI Variable.\r
+\r
+  @retval EFI_SUCCESS   The operation was successful.\r
+**/\r
+EFI_STATUS\r
+ShellConnectFromDevPaths (\r
+  IN CONST CHAR16  *Key\r
+  );\r
+\r
+#endif\r