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