]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Library/PlatformBootManagerLib.h
MdeModulePkg: Add match2 opcode support in SetupBrowserDxe and sample code in DriverS...
[mirror_edk2.git] / MdeModulePkg / Include / Library / PlatformBootManagerLib.h
CommitLineData
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
5Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r
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\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
29VOID\r
30EFIAPI\r
31PlatformBootManagerBeforeConsole (\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
45VOID\r
46EFIAPI\r
47PlatformBootManagerAfterConsole (\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
56VOID\r
57EFIAPI\r
58PlatformBootManagerWaitCallback (\r
59 UINT16 TimeoutRemain\r
60 );\r
61\r
62#endif\r