]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Guid/MdeModuleHii.h
MdeModulePkg/S3SmmInitDone.h: Fix copyright coding style error.
[mirror_edk2.git] / MdeModulePkg / Include / Guid / MdeModuleHii.h
index 512cfd9fb740770c6c421e529298773c553ee167..c1e587c54d9661288cc50fd4fafe940267fdcf74 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   EDKII extented HII IFR guid opcodes.\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation.  All rights reserved<BR>\r
-This program and the accompanying materials are licensed and made available under \r
-the terms and conditions of the BSD License that accompanies this distribution.  \r
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available under\r
+the terms and conditions of the BSD License that accompanies this distribution.\r
 The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php.                                            \r
+http://opensource.org/licenses/bsd-license.php.\r
 \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
@@ -211,10 +211,28 @@ typedef struct _EFI_IFR_GUID_VAREQNAME {
   UINT16              NameId;\r
 } EFI_IFR_GUID_VAREQNAME;\r
 \r
+///\r
+/// EDKII implementation extension GUID, used to indaicate 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 indaicate the disply 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
+extern EFI_GUID gEdkiiIfrBitVarstoreGuid;\r
 \r
 #endif\r
 \r