]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VfrCompile/EfiVfr.h
License header updated to match correct format.
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / EfiVfr.h
index a88b1019539d26b58f56e5323f7baa92d143fd7a..d187902e2bdaf9af09d065ba592198622b8de601 100644 (file)
@@ -1,29 +1,21 @@
 /** @file\r
+Defines and prototypes for the UEFI VFR compiler internal use.\r
 \r
-Copyright (c) 2004 - 2008, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2004 - 2014, 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
                                                                                           \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
-Module Name:\r
-\r
-  EfiVfr.h\r
-\r
-Abstract:\r
-\r
-  Defines and prototypes for the UEFI VFR compiler internal use.\r
-  \r
\r
 **/\r
 \r
 #ifndef _EFIVFR_H_\r
 #define _EFIVFR_H_\r
 \r
 #include "Common/UefiBaseTypes.h"\r
-#include "Protocol/DevicePath.h"\r
 #include "Common/UefiInternalFormRepresentation.h"\r
 #include "Common/MdeModuleHii.h"\r
 \r
@@ -31,6 +23,7 @@ Abstract:
 #define MAX_VFR_LINE_LEN         4096\r
 \r
 #define EFI_IFR_MAX_LENGTH       0xFF\r
+#define MAX_IFR_EXPRESSION_DEPTH 0x9\r
 \r
 #define EFI_VARSTORE_ID_INVALID  0\r
 #define EFI_VAROFFSET_INVALID    0xFFFF\r
@@ -38,10 +31,13 @@ Abstract:
 #define EFI_STRING_ID_INVALID    0x0\r
 #define EFI_IMAGE_ID_INVALID     0xFFFF\r
 \r
+#define EFI_IFR_MAX_DEFAULT_TYPE 0x10\r
+\r
 typedef enum {\r
   QUESTION_NORMAL,\r
   QUESTION_DATE,\r
   QUESTION_TIME,\r
+  QUESTION_REF,\r
 } EFI_QUESION_TYPE;\r
 \r
 typedef enum {\r