X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FApplication%2FUiApp%2FFrontPage.h;h=36207287b901e52c68f37b5dd9f02e057e5e5bbf;hp=08d16929cfea0c1fe87fe9bfaacf86ab8b68c676;hb=9d510e61fceee7b92955ef9a3c20343752d8ce3f;hpb=143f0b1de83257f1bd238f016bba955879d448c2
diff --git a/MdeModulePkg/Application/UiApp/FrontPage.h b/MdeModulePkg/Application/UiApp/FrontPage.h
index 08d16929cf..36207287b9 100644
--- a/MdeModulePkg/Application/UiApp/FrontPage.h
+++ b/MdeModulePkg/Application/UiApp/FrontPage.h
@@ -1,42 +1,28 @@
/** @file
- FrontPage routines to handle the callbacks and browser calls
+Head file for front page.
-Copyright (c) 2015, Intel Corporation. All rights reserved.
-This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _FRONT_PAGE_H_
#define _FRONT_PAGE_H_
-#include "DeviceMngr/DeviceManager.h"
-#include "BootMaint/BootMaint.h"
-#include "BootMngr/BootManager.h"
#include "String.h"
+#include "Ui.h"
#include
//
-// These are the VFR compiler generated data representing our VFR data.
+// These is the VFR compiler generated data representing our VFR data.
//
extern UINT8 FrontPageVfrBin[];
extern EFI_FORM_BROWSER2_PROTOCOL *gFormBrowser2;
-extern BOOLEAN gConnectAllHappened;
#define SMBIOS_TYPE4_CPU_SOCKET_POPULATED BIT6
-///
-/// The size of a 3 character ISO639 language code.
-///
-#define ISO_639_2_ENTRY_SIZE 3
-
//
// This is the VFR compiler generated header file which defines the
// string identifiers.
@@ -47,19 +33,8 @@ extern BOOLEAN gConnectAllHappened;
// These are defined as the same with vfr file
//
#define FRONT_PAGE_FORM_ID 0x1000
-#define INVALID_FORM_ID 0x0FFF
-
-#define FRONT_PAGE_KEY_SECTION 0x1000
-#define FRONT_PAGE_KEY_OFFSET 0x4000
-#define FRONT_PAGE_KEY_CONTINUE 0x1000
-#define FRONT_PAGE_KEY_LANGUAGE 0x1234
-#define FRONT_PAGE_KEY_BOOT_MANAGER 0x1064
-#define FRONT_PAGE_KEY_DEVICE_MANAGER 0x8567
-#define FRONT_PAGE_KEY_BOOT_MAINTAIN 0x9876
-#define FRONT_PAGE_KEY_RESET 0X7654
-
-#define LABEL_SELECT_LANGUAGE 0x1000
-#define LABEL_PLATFORM_INFORMATION 0x1001
+
+#define LABEL_FRANTPAGE_INFORMATION 0x1000
#define LABEL_END 0xffff
#define FRONT_PAGE_FORMSET_GUID \
@@ -220,30 +195,6 @@ UiEntry (
IN BOOLEAN ConnectAllHappened
);
-/**
- Extract the displayed formset for given HII handle and class guid.
-
- @param Handle The HII handle.
- @param SetupClassGuid The class guid specifies which form set will be displayed.
- @param SkipCount Skip some formsets which has processed before.
- @param FormSetTitle Formset title string.
- @param FormSetHelp Formset help string.
- @param FormSetGuid Formset Guid.
-
- @retval TRUE The formset for given HII handle will be displayed.
- @return FALSE The formset for given HII handle will not be displayed.
-
-**/
-BOOLEAN
-ExtractDisplayedHiiFormFromHiiHandle (
- IN EFI_HII_HANDLE Handle,
- IN EFI_GUID *SetupClassGuid,
- IN UINTN SkipCount,
- OUT EFI_STRING_ID *FormSetTitle,
- OUT EFI_STRING_ID *FormSetHelp,
- OUT EFI_GUID *FormSetGuid
- );
-
/**
Extract device path for given HII handle and class guid.
@@ -258,21 +209,5 @@ ExtractDevicePathFromHiiHandle (
IN EFI_HII_HANDLE Handle
);
-/**
- This function will change video resolution and text mode
- according to defined setup mode or defined boot mode
-
- @param IsSetupMode Indicate mode is changed to setup mode or boot mode.
-
- @retval EFI_SUCCESS Mode is changed successfully.
- @retval Others Mode failed to be changed.
-
-**/
-EFI_STATUS
-EFIAPI
-BdsSetConsoleMode (
- BOOLEAN IsSetupMode
- );
-
#endif // _FRONT_PAGE_H_