X-Git-Url: https://code.delx.au/refind/blobdiff_plain/35c7b1041c43abf31924dcf70c55f79b05fd9216..96e4448844c6f535679f9def29d700b94918d293:/EfiLib/BdsHelper.h diff --git a/EfiLib/BdsHelper.h b/EfiLib/BdsHelper.h index 6739b85..b8395af 100644 --- a/EfiLib/BdsHelper.h +++ b/EfiLib/BdsHelper.h @@ -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_