]>
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 |
f4cd24da RN |
6 | This program and the accompanying materials\r |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT 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 | |
27 | VOID\r | |
28 | EFIAPI\r | |
29 | PlatformBootManagerBeforeConsole (\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 | |
46 | VOID\r | |
47 | EFIAPI\r | |
48 | PlatformBootManagerAfterConsole (\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 | |
60 | VOID\r | |
61 | EFIAPI\r | |
62 | PlatformBootManagerWaitCallback (\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 | |
76 | VOID\r | |
77 | EFIAPI\r | |
78 | PlatformBootManagerUnableToBoot (\r | |
79 | VOID\r | |
80 | )\r | |
81 | {\r | |
82 | return;\r | |
83 | }\r | |
84 | \r |