VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Library/PlatformBootManagerLib.h

Last change on this file 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.4 KB
Line 
1/** @file
2 Platform Boot Manager library definition. A platform can implement
3 instances to support platform-specific behavior.
4
5Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
6SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef __PLATFORM_BOOT_MANAGER_LIB_H_
11#define __PLATFORM_BOOT_MANAGER_LIB_H_
12#include <Library/UefiBootManagerLib.h>
13
14/**
15 Do the platform specific action before the console is connected.
16
17 Such as:
18 Update console variable;
19 Register new Driver#### or Boot####;
20 Signal ReadyToLock event.
21**/
22VOID
23EFIAPI
24PlatformBootManagerBeforeConsole (
25 VOID
26 );
27
28/**
29 Do the platform specific action after the console is connected.
30
31 Such as:
32 Dynamically switch output mode;
33 Signal console ready platform customized event;
34 Run diagnostics like memory testing;
35 Connect certain devices;
36 Dispatch aditional option roms.
37**/
38VOID
39EFIAPI
40PlatformBootManagerAfterConsole (
41 VOID
42 );
43
44/**
45 This function is called each second during the boot manager waits the timeout.
46
47 @param TimeoutRemain The remaining timeout.
48**/
49VOID
50EFIAPI
51PlatformBootManagerWaitCallback (
52 UINT16 TimeoutRemain
53 );
54
55/**
56 The function is called when no boot option could be launched,
57 including platform recovery options and options pointing to applications
58 built into firmware volumes.
59
60 If this function returns, BDS attempts to enter an infinite loop.
61**/
62VOID
63EFIAPI
64PlatformBootManagerUnableToBoot (
65 VOID
66 );
67
68#endif
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