]> code.delx.au - refind/blob - EfiLib/BdsHelper.h
23240328934d16c80b42f95ff08b22bd4abd559a
[refind] / EfiLib / BdsHelper.h
1 /*
2 * EfiLib/BdsHelper.c
3 * Functions to call legacy BIOS API.
4 *
5 */
6
7 #include "../include/tiano_includes.h"
8
9 #ifndef _BDS_HELPER_H_
10 #define _BDS_HELPER_H_
11
12
13 /**
14 Boot the legacy system with the boot option
15
16 @param Option The legacy boot option which have BBS device path
17
18 @retval EFI_UNSUPPORTED There is no legacybios protocol, do not support
19 legacy boot.
20 @retval EFI_STATUS Return the status of LegacyBios->LegacyBoot ().
21
22 **/
23 EFI_STATUS
24 BdsLibDoLegacyBoot (
25 IN BDS_COMMON_OPTION *Option
26 );
27
28 EFI_STATUS BdsConnectDevicePath ( IN EFI_DEVICE_PATH_PROTOCOL * DevicePath,
29 OUT EFI_HANDLE * Handle,
30 OUT EFI_DEVICE_PATH_PROTOCOL ** RemainingDevicePath
31 );
32
33 #endif //_BDS_HELPER_H_