]> code.delx.au - refind/blobdiff - EfiLib/BdsHelper.h
Further refinement of the legacy UEFI boot feature.
[refind] / EfiLib / BdsHelper.h
index 6739b85816ef5ab1b236804e8cef72ddd6d6af35..23240328934d16c80b42f95ff08b22bd4abd559a 100644 (file)
@@ -9,15 +9,6 @@
 #ifndef _BDS_HELPER_H_
 #define _BDS_HELPER_H_
 
-//TODO: may want to make this configurable via config file
-static UINT16 SupportedLegacyDevices[] = {BBS_HARDDISK, BBS_CDROM, BBS_USB};
-
-
-/**
-  True if the DeviceType is supported by rEFInd, false otherwise.
-*/
-BOOLEAN IsBbsDeviceTypeSupported(UINT16 DeviceType);
-
 
 /**
   Boot the legacy system with the boot option
@@ -34,4 +25,9 @@ BdsLibDoLegacyBoot (
   IN  BDS_COMMON_OPTION           *Option
   );
 
+EFI_STATUS BdsConnectDevicePath  (  IN EFI_DEVICE_PATH_PROTOCOL *    DevicePath,
+                                    OUT EFI_HANDLE *     Handle,
+                                    OUT EFI_DEVICE_PATH_PROTOCOL **     RemainingDevicePath
+);
+
 #endif //_BDS_HELPER_H_