/** @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
#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