]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h
ShellPkg: Fix 'drivers' assert issue for a driver name longer than 35 characters.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDriver1CommandsLib / UefiShellDriver1CommandsLib.h
index 668584092b16ea235ffaf136eba716b9c3c88b9b..c65d0ed69597b38a1f91c2f5e51706234b5cf8c4 100644 (file)
@@ -23,6 +23,8 @@
 #include <Guid/ConsoleOutDevice.h>\r
 #include <Guid/ShellLibHiiGuid.h>\r
 \r
+#include <IndustryStandard/Pci.h>\r
+\r
 #include <Protocol/EfiShell.h>\r
 #include <Protocol/EfiShellParameters.h>\r
 #include <Protocol/DevicePath.h>\r
@@ -36,6 +38,8 @@
 #include <Protocol/DriverSupportedEfiVersion.h>\r
 #include <Protocol/DriverFamilyOverride.h>\r
 #include <Protocol/DriverHealth.h>\r
+#include <Protocol/PciIo.h>\r
+#include <Protocol/PciRootBridgeIo.h>\r
 \r
 #include <Library/BaseLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
@@ -203,5 +207,20 @@ ShellCommandRunUnload (
   IN EFI_SYSTEM_TABLE  *SystemTable\r
   );\r
 \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
+EFIAPI\r
+ShellConnectFromDevPaths (\r
+  IN CONST CHAR16 *Key\r
+  );\r
+\r
+\r
+\r
 #endif\r
 \r