]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManager.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Library / PlatformBootManagerLibNull / PlatformBootManager.c
1 /** @file
2 This file include all platform action which can be customized
3 by IBV/OEM.
4
5 Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #include <Library/PlatformBootManagerLib.h>
11
12
13 /**
14 Do the platform specific action before the console is connected.
15
16 Such as:
17 Update console variable;
18 Register new Driver#### or Boot####;
19 Signal ReadyToLock event.
20 **/
21 VOID
22 EFIAPI
23 PlatformBootManagerBeforeConsole (
24 VOID
25 )
26 {
27 return;
28 }
29
30 /**
31 Do the platform specific action after the console is connected.
32
33 Such as:
34 Dynamically switch output mode;
35 Signal console ready platform customized event;
36 Run diagnostics like memory testing;
37 Connect certain devices;
38 Dispatch aditional option roms.
39 **/
40 VOID
41 EFIAPI
42 PlatformBootManagerAfterConsole (
43 VOID
44 )
45 {
46 return;
47 }
48
49 /**
50 This function is called each second during the boot manager waits the timeout.
51
52 @param TimeoutRemain The remaining timeout.
53 **/
54 VOID
55 EFIAPI
56 PlatformBootManagerWaitCallback (
57 UINT16 TimeoutRemain
58 )
59 {
60 return;
61 }
62
63 /**
64 The function is called when no boot option could be launched,
65 including platform recovery options and options pointing to applications
66 built into firmware volumes.
67
68 If this function returns, BDS attempts to enter an infinite loop.
69 **/
70 VOID
71 EFIAPI
72 PlatformBootManagerUnableToBoot (
73 VOID
74 )
75 {
76 return;
77 }
78