]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/VarCheckHiiLib/InternalVarCheckStructure.h
MdeModulePkg/BaseSortLib: Enable for all module types
[mirror_edk2.git] / MdeModulePkg / Library / VarCheckHiiLib / InternalVarCheckStructure.h
index a9faed48d9600d4b636ba1ae00578f4e08c15b73..8878e4aef84ae608b260db49b182257b13f0f4db 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Internal structure for Var Check Hii.\r
 \r
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2015 - 2017, 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
@@ -23,7 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #pragma pack (1)\r
 \r
-#define VAR_CHECK_HII_REVISION  0x0001\r
+#define VAR_CHECK_HII_REVISION  0x0002\r
 \r
 typedef struct {\r
   UINT16            Revision;\r
@@ -42,6 +42,7 @@ typedef struct {
   UINT8             Length; // Length include this header\r
   UINT16            VarOffset;\r
   UINT8             StorageWidth;\r
+  BOOLEAN           BitFieldStore; // Whether the Question is stored in bit field, if TRUE, the VarOffset/StorageWidth will be saved as bit level, otherwise in byte level.\r
 } VAR_CHECK_HII_QUESTION_HEADER;\r
 \r
 typedef struct {\r
@@ -49,6 +50,7 @@ typedef struct {
   UINT8             Length; // Length include this header\r
   UINT16            VarOffset;\r
   UINT8             StorageWidth;\r
+  BOOLEAN           BitFieldStore; // Whether the Question is stored in bit field, if TRUE, the VarOffset/StorageWidth will be saved as bit level, otherwise in byte level.\r
 //UINTx               Data[]; // x = UINT8/UINT16/UINT32/UINT64;\r
 } VAR_CHECK_HII_QUESTION_ONEOF;\r
 \r
@@ -57,6 +59,7 @@ typedef struct {
   UINT8             Length; // Length include this header\r
   UINT16            VarOffset;\r
   UINT8             StorageWidth;\r
+  BOOLEAN           BitFieldStore; // Whether the Question is stored in bit field, if TRUE, the VarOffset/StorageWidth will be saved as bit level, otherwise in byte level.\r
 } VAR_CHECK_HII_QUESTION_CHECKBOX;\r
 \r
 typedef struct {\r
@@ -64,6 +67,7 @@ typedef struct {
   UINT8             Length; // Length include this header\r
   UINT16            VarOffset;\r
   UINT8             StorageWidth;\r
+  BOOLEAN           BitFieldStore; // Whether the Question is stored in bit field, if TRUE, the VarOffset/StorageWidth will be saved as bit level, otherwise in byte level.\r
 //UINTx               Minimum; // x = UINT8/UINT16/UINT32/UINT64;\r
 //UINTx               Maximum; // x = UINT8/UINT16/UINT32/UINT64;\r
 } VAR_CHECK_HII_QUESTION_NUMERIC;\r
@@ -73,6 +77,7 @@ typedef struct {
   UINT8             Length; // Length include this header\r
   UINT16            VarOffset;\r
   UINT8             StorageWidth;\r
+  BOOLEAN           BitFieldStore; // Whether the Question is stored in bit field, if TRUE, the VarOffset/StorageWidth will be saved as bit level, otherwise in byte level.\r
   UINT8             MaxContainers;\r
 //UINTx               Data[]; // x = UINT8/UINT16/UINT32/UINT64;\r
 } VAR_CHECK_HII_QUESTION_ORDEREDLIST;\r