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