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