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