]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Include/Common/MdeModuleHii.h
BaseTools: Various typo
[mirror_edk2.git] / BaseTools / Source / C / Include / Common / MdeModuleHii.h
index 21c83874748693516bcafec7e77644f420f9739b..18a790156f7a93c67ddda6c7952b19cce93ac95b 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   EDK II specific HII relative definition.\r
 \r
 /** @file\r
   EDK II specific HII relative definition.\r
 \r
-  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials are licensed and made available\r
   under the terms and conditions of the BSD License which accompanies this\r
 \r
   This program and the accompanying materials are licensed and made available\r
   under the terms and conditions of the BSD License which accompanies this\r
@@ -207,15 +207,33 @@ typedef struct _EFI_IFR_GUID_VAREQNAME {
   /// For vareqval (0x100), NameId is 0x100.\r
   /// This value will convert to a Unicode String following this rule;\r
   ///            sprintf(StringBuffer, "%d", NameId) .\r
   /// For vareqval (0x100), NameId is 0x100.\r
   /// This value will convert to a Unicode String following this rule;\r
   ///            sprintf(StringBuffer, "%d", NameId) .\r
-  /// The the Unicode String will be used as a EFI Variable Name.\r
+  /// The Unicode String will be used as a EFI Variable Name.\r
   ///\r
   UINT16              NameId;\r
 } EFI_IFR_GUID_VAREQNAME;\r
 \r
   ///\r
   UINT16              NameId;\r
 } EFI_IFR_GUID_VAREQNAME;\r
 \r
+///\r
+/// EDKII implementation extension GUID, used to indicate there are bit fields in the varstore.\r
+///\r
+#define EDKII_IFR_BIT_VARSTORE_GUID \\r
+  { 0x82DDD68B, 0x9163, 0x4187, {0x9B, 0x27, 0x20, 0xA8, 0xFD, 0x60 ,0xA7, 0x1D}}\r
+\r
+///\r
+/// EDKII implementation extension flags, used to indicate the display style and bit width for bit filed storage.\r
+/// Two high bits for display style and the low six bits for bit width.\r
+///\r
+#define EDKII_IFR_DISPLAY_BIT            0xC0\r
+#define EDKII_IFR_DISPLAY_INT_DEC_BIT    0x00\r
+#define EDKII_IFR_DISPLAY_UINT_DEC_BIT   0x40\r
+#define EDKII_IFR_DISPLAY_UINT_HEX_BIT   0x80\r
+\r
+#define EDKII_IFR_NUMERIC_SIZE_BIT       0x3F\r
+\r
 #pragma pack()\r
 \r
 extern EFI_GUID gEfiIfrTianoGuid;\r
 extern EFI_GUID gEfiIfrFrameworkGuid;\r
 #pragma pack()\r
 \r
 extern EFI_GUID gEfiIfrTianoGuid;\r
 extern EFI_GUID gEfiIfrFrameworkGuid;\r
+extern EFI_GUID gEdkiiIfrBitVarStoreGuid;\r
 \r
 #endif\r
 \r
 \r
 #endif\r
 \r