]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.h
Add BootlogoOnly feature in BDS for BGRT
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / BdsDxe / FrontPage.h
index a118f91269728de9623828662cd5dedbe006ee57..a9cc1eee06b5b1c766bf7763b8b4b96dc33e6479 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   FrontPage routines to handle the callbacks and browser calls\r
 \r
-Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -31,6 +31,21 @@ extern EFI_FORM_BROWSER2_PROTOCOL      *gFormBrowser2;
 extern UINTN    gCallbackKey;\r
 extern BOOLEAN  gConnectAllHappened;\r
 \r
+//\r
+// Boot video resolution and text mode.\r
+//\r
+extern UINT32    mBootHorizontalResolution;\r
+extern UINT32    mBootVerticalResolution;\r
+extern UINT32    mBootTextModeColumn;\r
+extern UINT32    mBootTextModeRow;\r
+//\r
+// BIOS setup video resolution and text mode.\r
+//\r
+extern UINT32    mSetupTextModeColumn;\r
+extern UINT32    mSetupTextModeRow;\r
+extern UINT32    mSetupHorizontalResolution;\r
+extern UINT32    mSetupVerticalResolution;\r
+\r
 \r
 #define ONE_SECOND  10000000\r
 \r
@@ -237,18 +252,20 @@ PlatformBdsEnterFrontPage (
   );\r
 \r
 /**\r
-  This function will change video resolution and text mode for setup when setup is launched.\r
+  This function will change video resolution and text mode\r
+  according to defined setup mode or defined boot mode  \r
 \r
-  @param   None.\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 changed.\r
+  @retval  Others             Mode failed to be changed.\r
 \r
 **/\r
+\r
 EFI_STATUS\r
 EFIAPI\r
-ChangeModeForSetup (\r
-  VOID\r
+BdsSetConsoleMode (\r
+  BOOLEAN  IsSetupMode\r
   );\r
 \r
 #endif // _FRONT_PAGE_H_\r