VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/Csm/LegacyBootManagerLib/InternalLegacyBm.h@ 99404

Last change on this file since 99404 was 99404, checked in by vboxsync, 22 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1/** @file
2
3Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
4SPDX-License-Identifier: BSD-2-Clause-Patent
5
6**/
7
8#ifndef _INTERNAL_LEGACY_BM_H_
9#define _INTERNAL_LEGACY_BM_H_
10
11#include <PiDxe.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>
28
29#pragma pack(1)
30typedef struct {
31 UINT16 BbsIndex;
32} LEGACY_BM_BOOT_OPTION_BBS_DATA;
33#pragma pack()
34
35/**
36 Boot the legacy system with the boot option.
37
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
41 legacy boot.
42 EFI_STATUS The status of LegacyBios->LegacyBoot ().
43**/
44VOID
45EFIAPI
46LegacyBmBoot (
47 IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOption
48 );
49
50/**
51 Refresh all legacy boot options.
52
53**/
54VOID
55EFIAPI
56LegacyBmRefreshAllBootOption (
57 VOID
58 );
59
60#endif // _INTERNAL_LEGACY_BM_H_
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette