]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/VfrCompile/EfiVfr.h
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / EfiVfr.h
CommitLineData
30fdf114 1/** @file\r
97fa0ee9 2Defines and prototypes for the UEFI VFR compiler internal use.\r
30fdf114 3\r
f7496d71 4Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
2e351cbe 5SPDX-License-Identifier: BSD-2-Clause-Patent\r
f7496d71 6\r
30fdf114
LG
7**/\r
8\r
9#ifndef _EFIVFR_H_\r
10#define _EFIVFR_H_\r
11\r
12#include "Common/UefiBaseTypes.h"\r
30fdf114
LG
13#include "Common/UefiInternalFormRepresentation.h"\r
14#include "Common/MdeModuleHii.h"\r
15\r
30fdf114
LG
16#define MAX_VFR_LINE_LEN 4096\r
17\r
18#define EFI_IFR_MAX_LENGTH 0xFF\r
52302d4d 19#define MAX_IFR_EXPRESSION_DEPTH 0x9\r
30fdf114
LG
20\r
21#define EFI_VARSTORE_ID_INVALID 0\r
22#define EFI_VAROFFSET_INVALID 0xFFFF\r
23#define EFI_VARSTORE_ID_START 0x20\r
24#define EFI_STRING_ID_INVALID 0x0\r
25#define EFI_IMAGE_ID_INVALID 0xFFFF\r
26\r
4afd3d04
LG
27#define EFI_IFR_MAX_DEFAULT_TYPE 0x10\r
28\r
30fdf114
LG
29typedef enum {\r
30 QUESTION_NORMAL,\r
31 QUESTION_DATE,\r
32 QUESTION_TIME,\r
4234283c 33 QUESTION_REF,\r
30fdf114
LG
34} EFI_QUESION_TYPE;\r
35\r
36typedef enum {\r
37 EQUAL,\r
38 LESS_EQUAL,\r
39 LESS_THAN,\r
40 GREATER_THAN,\r
41 GREATER_EQUAL\r
42} EFI_COMPARE_TYPE;\r
43\r
44#endif\r