3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 FrontPage routines to handle the callbacks and browser calls
28 // Include common header file for this module.
30 #include "CommonHeader.h"
32 #include "Generic/DeviceMngr/DeviceManager.h"
33 #include "Generic/BootMaint/BootMaint.h"
34 #include "Generic/BootMngr/BootManager.h"
37 // This is the VFR compiler generated header file which defines the
38 // string identifiers.
40 #define EFI_DISK_DEVICE_CLASS 0x01
41 #define EFI_VIDEO_DEVICE_CLASS 0x02
42 #define EFI_NETWORK_DEVICE_CLASS 0x04
43 #define EFI_INPUT_DEVICE_CLASS 0x08
44 #define EFI_ON_BOARD_DEVICE_CLASS 0x10
45 #define EFI_OTHER_DEVICE_CLASS 0x20
46 #define EFI_VBIOS_CLASS 0x40
48 #define SET_VIDEO_BIOS_TYPE_QUESTION_ID 0x00
56 #define EFI_FP_CALLBACK_DATA_SIGNATURE EFI_SIGNATURE_32 ('F', 'P', 'C', 'B')
57 #define EFI_FP_CALLBACK_DATA_FROM_THIS(a) \
59 EFI_FRONTPAGE_CALLBACK_INFO, \
61 EFI_FP_CALLBACK_DATA_SIGNATURE \
66 MyDevMgrIfrNVData Data
;
67 EFI_HII_HANDLE DevMgrHiiHandle
;
68 EFI_HANDLE CallbackHandle
;
69 EFI_FORM_CALLBACK_PROTOCOL DevMgrCallback
;
70 } EFI_FRONTPAGE_CALLBACK_INFO
;
73 // These are the VFR compiler generated data representing our VFR data.
75 // BugBug: we should put g in front of these tool generated globals.
76 // maybe even gVrf would be a better prefix
78 extern UINT8 FrontPageVfrBin
[];
79 extern UINT8 FrontPageStringsStr
[];
80 extern UINT8 DeviceManagerVfrBin
[];
81 extern UINT8 DeviceManagerStringsStr
[];
83 #define FRONT_PAGE_QUESTION_ID 0x0000
84 #define FRONT_PAGE_DATA_WIDTH 0x01
88 IN BOOLEAN ReInitializeStrings
93 IN EFI_TIME
*FirstTime
,
94 IN EFI_TIME
*SecondTime
98 PlatformBdsEnterFrontPage (
99 IN UINT16 TimeoutDefault
,
100 IN BOOLEAN ConnectAllHappened
103 #endif // _FRONT_PAGE_H_