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