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
27 #include "DeviceMngr/DeviceManager.h"
28 #include "BootMaint/BootMaint.h"
29 #include "BootMngr/BootManager.h"
32 // This is the VFR compiler generated header file which defines the
33 // string identifiers.
35 #include "EdkGenericPlatformBdsLibStrDefs.h"
36 #define EFI_DISK_DEVICE_CLASS 0x01
37 #define EFI_VIDEO_DEVICE_CLASS 0x02
38 #define EFI_NETWORK_DEVICE_CLASS 0x04
39 #define EFI_INPUT_DEVICE_CLASS 0x08
40 #define EFI_ON_BOARD_DEVICE_CLASS 0x10
41 #define EFI_OTHER_DEVICE_CLASS 0x20
42 #define EFI_VBIOS_CLASS 0x40
44 #define SET_VIDEO_BIOS_TYPE_QUESTION_ID 0x00
52 #define EFI_FP_CALLBACK_DATA_SIGNATURE EFI_SIGNATURE_32 ('F', 'P', 'C', 'B')
53 #define EFI_FP_CALLBACK_DATA_FROM_THIS(a) \
55 EFI_FRONTPAGE_CALLBACK_INFO, \
57 EFI_FP_CALLBACK_DATA_SIGNATURE \
62 MyDevMgrIfrNVData Data
;
63 EFI_HII_HANDLE DevMgrHiiHandle
;
64 EFI_HANDLE CallbackHandle
;
65 EFI_FORM_CALLBACK_PROTOCOL DevMgrCallback
;
66 } EFI_FRONTPAGE_CALLBACK_INFO
;
69 // These are the VFR compiler generated data representing our VFR data.
71 // BugBug: we should put g in front of these tool generated globals.
72 // maybe even gVrf would be a better prefix
74 extern UINT8 FrontPageVfrBin
[];
75 extern UINT8 FrontPageStringsStr
[];
76 extern UINT8 DeviceManagerVfrBin
[];
77 extern UINT8 DeviceManagerStringsStr
[];
79 #define FRONT_PAGE_QUESTION_ID 0x0000
80 #define FRONT_PAGE_DATA_WIDTH 0x01
84 IN BOOLEAN ReInitializeStrings
89 IN EFI_TIME
*FirstTime
,
90 IN EFI_TIME
*SecondTime
93 #endif // _FRONT_PAGE_H_