* Functions to call legacy BIOS API.
*
*/
+/**
-#include "../include/tiano_includes.h"
+Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
+This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
-#ifndef _BDS_HELPER_H_
-#define _BDS_HELPER_H_
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-//TODO: may want to make this configurable via config file
-static UINT16 SupportedLegacyDevices[] = {BBS_HARDDISK, BBS_CDROM, BBS_USB};
+**/
+#ifdef __MAKEWITH_TIANO
+#include "../include/tiano_includes.h"
+#else
+#include "gnuefi-helper.h"
+#include "GenericBdsLib.h"
+#endif
-/**
- True if the DeviceType is supported by rEFInd, false otherwise.
-*/
-BOOLEAN IsBbsDeviceTypeSupported(UINT16 DeviceType);
+#ifndef _BDS_HELPER_H_
+#define _BDS_HELPER_H_
/**
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_