]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VfrCompile/EfiVfr.h
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / EfiVfr.h
index a88b1019539d26b58f56e5323f7baa92d143fd7a..2dda658afa7745a4af968b47c147112c1c8745c5 100644 (file)
@@ -1,36 +1,22 @@
 /** @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
-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
+Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\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
 #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
-#define MAX_PATH                 255\r
 #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 +24,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