]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.h
Added some functions header.
[mirror_edk2.git] / MdeModulePkg / Universal / BdsDxe / BootMngr / BootManager.h
CommitLineData
fd6a62f3 1/** @file\r
2 The platform boot manager reference implement\r
93e3992d 3\r
fd6a62f3 4Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r
93e3992d 5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
fd6a62f3 13**/\r
93e3992d 14\r
15#ifndef _EFI_BOOT_MANAGER_H\r
16#define _EFI_BOOT_MANAGER_H\r
17\r
18#include "Bds.h"\r
19#include "FrontPage.h"\r
20\r
21//\r
22// These are defined as the same with vfr file\r
23//\r
24#define BOOT_MANAGER_FORMSET_GUID \\r
25 { \\r
26 0x847bc3fe, 0xb974, 0x446d, {0x94, 0x49, 0x5a, 0xd5, 0x41, 0x2e, 0x99, 0x3b} \\r
27 }\r
28\r
29#define BOOT_MANAGER_FORM_ID 0x1000\r
30\r
31#define LABEL_BOOT_OPTION 0x00\r
32\r
33//\r
34// These are the VFR compiler generated data representing our VFR data.\r
35//\r
36extern UINT8 BootManagerVfrBin[];\r
37\r
38#define BOOT_MANAGER_CALLBACK_DATA_SIGNATURE EFI_SIGNATURE_32 ('B', 'M', 'C', 'B')\r
39\r
40typedef struct {\r
41 UINTN Signature;\r
42\r
43 //\r
44 // HII relative handles\r
45 //\r
46 EFI_HII_HANDLE HiiHandle;\r
47 EFI_HANDLE DriverHandle;\r
48\r
49 //\r
50 // Produced protocols\r
51 //\r
52 EFI_HII_CONFIG_ACCESS_PROTOCOL ConfigAccess;\r
53} BOOT_MANAGER_CALLBACK_DATA;\r
54\r
55EFI_STATUS\r
56EFIAPI\r
57BootManagerCallback (\r
58 IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This,\r
59 IN EFI_BROWSER_ACTION Action,\r
60 IN EFI_QUESTION_ID QuestionId,\r
61 IN UINT8 Type,\r
62 IN EFI_IFR_TYPE_VALUE *Value,\r
63 OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest\r
64 )\r
65;\r
66\r
67EFI_STATUS\r
68InitializeBootManager (\r
69 VOID\r
70 )\r
71;\r
72\r
73VOID\r
74CallBootManager (\r
75 VOID\r
76 )\r
77;\r
78\r
79#endif\r