*
*/
+#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
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_