]> code.delx.au - refind/blobdiff - EfiLib/BdsHelper.h
Move details of refind-install documentation from installing.html to a
[refind] / EfiLib / BdsHelper.h
index 6739b85816ef5ab1b236804e8cef72ddd6d6af35..b8395afabaa340ed1c677f1fc53c54373ae851f5 100644 (file)
@@ -4,20 +4,16 @@
  *
  */
 
+#ifdef __MAKEWITH_TIANO
 #include "../include/tiano_includes.h"
+#else
+#include "gnuefi-helper.h"
+#include "GenericBdsLib.h"
+#endif
 
 #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 +30,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_