]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/PlatformBootManagerLibNull/PlatformBootManager.c
MdeModulePkg/FaultTolerantWriteDxe: implement standalone MM version
[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 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15
16 #include <Library/PlatformBootManagerLib.h>
17
18
19 /**
20 Do the platform specific action before the console is connected.
21
22 Such as:
23 Update console variable;
24 Register new Driver#### or Boot####;
25 Signal ReadyToLock event.
26 **/
27 VOID
28 EFIAPI
29 PlatformBootManagerBeforeConsole (
30 VOID
31 )
32 {
33 return;
34 }
35
36 /**
37 Do the platform specific action after the console is connected.
38
39 Such as:
40 Dynamically switch output mode;
41 Signal console ready platform customized event;
42 Run diagnostics like memory testing;
43 Connect certain devices;
44 Dispatch aditional option roms.
45 **/
46 VOID
47 EFIAPI
48 PlatformBootManagerAfterConsole (
49 VOID
50 )
51 {
52 return;
53 }
54
55 /**
56 This function is called each second during the boot manager waits the timeout.
57
58 @param TimeoutRemain The remaining timeout.
59 **/
60 VOID
61 EFIAPI
62 PlatformBootManagerWaitCallback (
63 UINT16 TimeoutRemain
64 )
65 {
66 return;
67 }
68
69 /**
70 The function is called when no boot option could be launched,
71 including platform recovery options and options pointing to applications
72 built into firmware volumes.
73
74 If this function returns, BDS attempts to enter an infinite loop.
75 **/
76 VOID
77 EFIAPI
78 PlatformBootManagerUnableToBoot (
79 VOID
80 )
81 {
82 return;
83 }
84