X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=IntelFrameworkModulePkg%2FUniversal%2FBdsDxe%2FBootMaint%2FFormGuid.h;h=bf99999760076f2097ac32d761ba1ba102218b04;hb=bdb898a50c641639d047db8095ffeb9a3c9d3d41;hp=f177e75f5e7e7040764d8b5a9c5fdc2935c9ed7e;hpb=b7b0dca207fd89af69dac1eda05e5cd2adbe8cc1;p=mirror_edk2.git diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FormGuid.h b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FormGuid.h index f177e75f5e..bf99999760 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FormGuid.h +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FormGuid.h @@ -1,8 +1,8 @@ /** @file Formset guids, form id and VarStore data structure for Boot Maintenance Manager. -Copyright (c) 2004 - 2008, Intel Corporation.
-All rights reserved. This program and the accompanying materials +Copyright (c) 2004 - 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 @@ -14,15 +14,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #ifndef _FORM_GUID_H_ #define _FORM_GUID_H_ -#define BOOT_MAINT_FORMSET_GUID \ - { \ - 0x642237c7, 0x35d4, 0x472d, {0x83, 0x65, 0x12, 0xe0, 0xcc, 0xf2, 0x7a, 0x22} \ - } - -#define FILE_EXPLORE_FORMSET_GUID \ - { \ - 0x1f2d63e1, 0xfebd, 0x4dc7, {0x9c, 0xc5, 0xba, 0x2b, 0x1c, 0xef, 0x9c, 0x5b} \ - } +#include #define FORM_MAIN_ID 0x1001 #define FORM_BOOT_ADD_ID 0x1002 @@ -57,6 +49,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define FORM_BOOT_ADD_DESCRIPTION_ID 0x101F #define FORM_DRIVER_ADD_FILE_DESCRIPTION_ID 0x1020 #define FORM_CON_MODE_ID 0x1021 +#define FORM_BOOT_FROM_FILE_ID 0x1022 #define MAXIMUM_FORM_ID 0x10FF @@ -73,11 +66,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define KEY_VALUE_SAVE_AND_EXIT 0x110B #define KEY_VALUE_NO_SAVE_AND_EXIT 0x110C #define KEY_VALUE_BOOT_FROM_FILE 0x110D +#define KEY_VALUE_BOOT_DESCRIPTION 0x110E +#define KEY_VALUE_BOOT_OPTION 0x110F +#define KEY_VALUE_DRIVER_DESCRIPTION 0x1110 +#define KEY_VALUE_DRIVER_OPTION 0x1111 #define MAXIMUM_NORMAL_KEY_VALUE 0x11FF // -// Varstore ID defined for Buffer Stoarge +// Varstore ID defined for Buffer Storage // #define VARSTORE_ID_BOOT_MAINT 0x1000 #define VARSTORE_ID_FILE_EXPLORER 0x1001 @@ -144,27 +141,48 @@ typedef struct { // At most 100 input/output/errorout device for console storage // UINT8 ConsoleCheck[MAX_MENU_NUMBER]; + // + // At most 100 input/output/errorout device for console storage + // + UINT8 ConsoleInCheck[MAX_MENU_NUMBER]; + UINT8 ConsoleOutCheck[MAX_MENU_NUMBER]; + UINT8 ConsoleErrCheck[MAX_MENU_NUMBER]; + + // + // Boot Option Order storage + // The value is the OptionNumber+1 because the order list value cannot be 0 + // Use UINT32 to hold the potential value 0xFFFF+1=0x10000 + // + UINT32 BootOptionOrder[MAX_MENU_NUMBER]; // - // Boot or Driver Option Order storage + // Driver Option Order storage + // The value is the OptionNumber+1 because the order list value cannot be 0 + // Use UINT32 to hold the potential value 0xFFFF+1=0x10000 // - UINT8 OptionOrder[MAX_MENU_NUMBER]; - UINT8 DriverOptionToBeDeleted[MAX_MENU_NUMBER]; + UINT32 DriverOptionOrder[MAX_MENU_NUMBER]; // // Boot Option Delete storage // - UINT8 BootOptionDel[MAX_MENU_NUMBER]; - UINT8 DriverOptionDel[MAX_MENU_NUMBER]; + BOOLEAN BootOptionDel[MAX_MENU_NUMBER]; + BOOLEAN BootOptionDelMark[MAX_MENU_NUMBER]; + + // + // Driver Option Delete storage + // + BOOLEAN DriverOptionDel[MAX_MENU_NUMBER]; + BOOLEAN DriverOptionDelMark[MAX_MENU_NUMBER]; // // This is the Terminal Attributes value storage // - UINT8 COMBaudRate; - UINT8 COMDataRate; - UINT8 COMStopBits; - UINT8 COMParity; - UINT8 COMTerminalType; + UINT8 COMBaudRate[MAX_MENU_NUMBER]; + UINT8 COMDataRate[MAX_MENU_NUMBER]; + UINT8 COMStopBits[MAX_MENU_NUMBER]; + UINT8 COMParity[MAX_MENU_NUMBER]; + UINT8 COMTerminalType[MAX_MENU_NUMBER]; + UINT8 COMFlowControl[MAX_MENU_NUMBER]; // // Legacy Device Order Selection Storage @@ -201,12 +219,22 @@ typedef struct { #define KEY_VALUE_SAVE_AND_EXIT_DRIVER 0x1002 #define KEY_VALUE_NO_SAVE_AND_EXIT_DRIVER 0x1003 +// +// Description data and optional data size +// +#define DESCRIPTION_DATA_SIZE 75 +#define OPTIONAL_DATA_SIZE 127 + /// /// This is the data structure used by File Explorer formset /// typedef struct { - UINT16 DescriptionData[75]; - UINT16 OptionalData[127]; + UINT16 BootDescriptionData[DESCRIPTION_DATA_SIZE]; + UINT16 BootOptionalData[OPTIONAL_DATA_SIZE]; + UINT16 DriverDescriptionData[DESCRIPTION_DATA_SIZE]; + UINT16 DriverOptionalData[OPTIONAL_DATA_SIZE]; + BOOLEAN BootOptionChanged; + BOOLEAN DriverOptionChanged; UINT8 Active; UINT8 ForceReconnect; } FILE_EXPLORER_NV_DATA;