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