/** @file\r
- FrontPage routines to handle the callbacks and browser calls\r
+Head file for front page.\r
\r
Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
#ifndef _FRONT_PAGE_H_\r
#define _FRONT_PAGE_H_\r
\r
-#include "DeviceMngr/DeviceManager.h"\r
-#include "BootMaint/BootMaint.h"\r
-#include "BootMngr/BootManager.h"\r
#include "String.h"\r
+#include "Ui.h"\r
\r
#include <Protocol/BootLogo.h>\r
//\r
-// These are the VFR compiler generated data representing our VFR data.\r
+// These is the VFR compiler generated data representing our VFR data.\r
//\r
extern UINT8 FrontPageVfrBin[];\r
\r
\r
#define SMBIOS_TYPE4_CPU_SOCKET_POPULATED BIT6\r
\r
-///\r
-/// The size of a 3 character ISO639 language code.\r
-///\r
-#define ISO_639_2_ENTRY_SIZE 3\r
-\r
//\r
// This is the VFR compiler generated header file which defines the\r
// string identifiers.\r
// These are defined as the same with vfr file\r
//\r
#define FRONT_PAGE_FORM_ID 0x1000\r
-#define INVALID_FORM_ID 0x0FFF\r
\r
-#define FRONT_PAGE_KEY_SECTION 0x1000\r
#define FRONT_PAGE_KEY_OFFSET 0x4000\r
#define FRONT_PAGE_KEY_CONTINUE 0x1000\r
#define FRONT_PAGE_KEY_LANGUAGE 0x1234\r
-#define FRONT_PAGE_KEY_BOOT_MANAGER 0x1064\r
-#define FRONT_PAGE_KEY_DEVICE_MANAGER 0x8567\r
-#define FRONT_PAGE_KEY_BOOT_MAINTAIN 0x9876\r
\r
#define LABEL_SELECT_LANGUAGE 0x1000\r
#define LABEL_PLATFORM_INFORMATION 0x1001\r
IN BOOLEAN ConnectAllHappened\r
);\r
\r
-/**\r
- Extract the displayed formset for given HII handle and class guid.\r
-\r
- @param Handle The HII handle.\r
- @param SetupClassGuid The class guid specifies which form set will be displayed.\r
- @param SkipCount Skip some formsets which has processed before.\r
- @param FormSetTitle Formset title string.\r
- @param FormSetHelp Formset help string.\r
- @param FormSetGuid Formset Guid.\r
-\r
- @retval TRUE The formset for given HII handle will be displayed.\r
- @return FALSE The formset for given HII handle will not be displayed.\r
-\r
-**/\r
-BOOLEAN\r
-ExtractDisplayedHiiFormFromHiiHandle (\r
- IN EFI_HII_HANDLE Handle,\r
- IN EFI_GUID *SetupClassGuid,\r
- IN UINTN SkipCount,\r
- OUT EFI_STRING_ID *FormSetTitle,\r
- OUT EFI_STRING_ID *FormSetHelp,\r
- OUT EFI_GUID *FormSetGuid\r
- );\r
-\r
/**\r
Extract device path for given HII handle and class guid.\r
\r
IN EFI_HII_HANDLE Handle\r
);\r
\r
-/**\r
- This function will change video resolution and text mode\r
- according to defined setup mode or defined boot mode \r
-\r
- @param IsSetupMode Indicate mode is changed to setup mode or boot mode. \r
-\r
- @retval EFI_SUCCESS Mode is changed successfully.\r
- @retval Others Mode failed to be changed.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-BdsSetConsoleMode (\r
- BOOLEAN IsSetupMode\r
- );\r
-\r
#endif // _FRONT_PAGE_H_\r
\r