3 Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
4 SPDX-License-Identifier: BSD-2-Clause-Patent
8 #ifndef _INTERNAL_LEGACY_BM_H_
9 #define _INTERNAL_LEGACY_BM_H_
12 #include <Guid/LegacyDevOrder.h>
13 #include <Guid/GlobalVariable.h>
14 #include <Protocol/LegacyBios.h>
15 #include <Protocol/PciRootBridgeIo.h>
16 #include <Protocol/PciIo.h>
17 #include <Library/BaseLib.h>
18 #include <Library/BaseMemoryLib.h>
19 #include <Library/DebugLib.h>
20 #include <Library/UefiBootServicesTableLib.h>
21 #include <Library/UefiRuntimeServicesTableLib.h>
22 #include <Library/UefiLib.h>
23 #include <Library/DevicePathLib.h>
24 #include <Library/UefiBootManagerLib.h>
25 #include <Library/MemoryAllocationLib.h>
26 #include <Library/PrintLib.h>
27 #include <Library/PerformanceLib.h>
32 } LEGACY_BM_BOOT_OPTION_BBS_DATA
;
36 Boot the legacy system with the boot option.
38 @param BootOption The legacy boot option which have BBS device path
39 On return, BootOption->Status contains the boot status.
40 EFI_UNSUPPORTED There is no legacybios protocol, do not support
42 EFI_STATUS The status of LegacyBios->LegacyBoot ().
47 IN EFI_BOOT_MANAGER_LOAD_OPTION
*BootOption
51 Refresh all legacy boot options.
56 LegacyBmRefreshAllBootOption (
60 #endif // _INTERNAL_LEGACY_BM_H_