]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Data.c
Enhance BMM to support changing FlowControl setting in Front Page.
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / BdsDxe / BootMaint / Data.c
index 5a22e77a9ae86853e4cea5feba23ae27f076bd4b..0a3ffbcc306a9e28e6f3b3ae728d2b4703d20f3c 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Define some data used for Boot Maint\r
 \r
-Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2004 - 2008, 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
 http://opensource.org/licenses/bsd-license.php\r
@@ -14,7 +14,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #include "BootMaint.h"\r
 \r
-EFI_HII_UPDATE_DATA gUpdateData;\r
+VOID                *mStartOpCodeHandle = NULL;\r
+VOID                *mEndOpCodeHandle = NULL;\r
+EFI_IFR_GUID_LABEL  *mStartLabel = NULL;\r
+EFI_IFR_GUID_LABEL  *mEndLabel = NULL;\r
+\r
 STRING_DEPOSITORY   *FileOptionStrDepository;\r
 STRING_DEPOSITORY   *ConsoleOptionStrDepository;\r
 STRING_DEPOSITORY   *BootOptionStrDepository;\r
@@ -33,6 +37,19 @@ UINT16              TerminalType[] = {
   STRING_TOKEN(STR_COM_TYPE_3),\r
 };\r
 \r
+///\r
+/// Flow Control type string token storage\r
+///\r
+UINT16              mFlowControlType[2] = {\r
+  STRING_TOKEN(STR_NONE_FLOW_CONTROL),\r
+  STRING_TOKEN(STR_HARDWARE_FLOW_CONTROL)\r
+};\r
+\r
+UINT32              mFlowControlValue[2] = {\r
+  0,\r
+  UART_FLOW_CONTROL_HARDWARE\r
+};\r
+\r
 ///\r
 /// File system selection menu\r
 ///\r