]>
Commit | Line | Data |
---|---|---|
f4cd24da RN |
1 | /** @file\r |
2 | Platform Boot Manager library definition. A platform can implement \r | |
3 | instances to support platform-specific behavior.\r | |
4 | \r | |
5 | Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r | |
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 | \r | |
17 | #ifndef __PLATFORM_BOOT_MANAGER_LIB_H_\r | |
18 | #define __PLATFORM_BOOT_MANAGER_LIB_H_\r | |
19 | #include <Library/UefiBootManagerLib.h>\r | |
20 | \r | |
21 | /**\r | |
22 | Do the platform specific action before the console is connected.\r | |
23 | \r | |
24 | Such as:\r | |
25 | Update console variable;\r | |
26 | Register new Driver#### or Boot####;\r | |
27 | Signal ReadyToLock event.\r | |
28 | **/\r | |
29 | VOID\r | |
30 | EFIAPI\r | |
31 | PlatformBootManagerBeforeConsole (\r | |
32 | VOID\r | |
33 | );\r | |
34 | \r | |
35 | /**\r | |
36 | Do the platform specific action after the console is connected.\r | |
37 | \r | |
38 | Such as:\r | |
39 | Dynamically switch output mode;\r | |
40 | Signal console ready platform customized event;\r | |
41 | Run diagnostics like memory testing;\r | |
42 | Connect certain devices;\r | |
43 | Dispatch aditional option roms.\r | |
44 | **/\r | |
45 | VOID\r | |
46 | EFIAPI\r | |
47 | PlatformBootManagerAfterConsole (\r | |
48 | VOID\r | |
49 | );\r | |
50 | \r | |
51 | /**\r | |
52 | This function is called each second during the boot manager waits the timeout.\r | |
53 | \r | |
54 | @param TimeoutRemain The remaining timeout.\r | |
55 | **/\r | |
56 | VOID\r | |
57 | EFIAPI\r | |
58 | PlatformBootManagerWaitCallback (\r | |
59 | UINT16 TimeoutRemain\r | |
60 | );\r | |
61 | \r | |
62 | #endif\r |