]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/VfrCompile/EfiVfr.h
BaseTools: resolve initialization order errors in VfrFormPkg.h
[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
ba78032b 4Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>\r
40d841f6 5This program and the accompanying materials \r
30fdf114
LG
6are licensed and made available under the terms and conditions of the BSD License \r
7which accompanies this distribution. The full text of the license may be found at \r
8http://opensource.org/licenses/bsd-license.php \r
9 \r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
97fa0ee9 12 \r
30fdf114
LG
13**/\r
14\r
15#ifndef _EFIVFR_H_\r
16#define _EFIVFR_H_\r
17\r
18#include "Common/UefiBaseTypes.h"\r
30fdf114
LG
19#include "Common/UefiInternalFormRepresentation.h"\r
20#include "Common/MdeModuleHii.h"\r
21\r
30fdf114
LG
22#define MAX_VFR_LINE_LEN 4096\r
23\r
24#define EFI_IFR_MAX_LENGTH 0xFF\r
52302d4d 25#define MAX_IFR_EXPRESSION_DEPTH 0x9\r
30fdf114
LG
26\r
27#define EFI_VARSTORE_ID_INVALID 0\r
28#define EFI_VAROFFSET_INVALID 0xFFFF\r
29#define EFI_VARSTORE_ID_START 0x20\r
30#define EFI_STRING_ID_INVALID 0x0\r
31#define EFI_IMAGE_ID_INVALID 0xFFFF\r
32\r
4afd3d04
LG
33#define EFI_IFR_MAX_DEFAULT_TYPE 0x10\r
34\r
30fdf114
LG
35typedef enum {\r
36 QUESTION_NORMAL,\r
37 QUESTION_DATE,\r
38 QUESTION_TIME,\r
4234283c 39 QUESTION_REF,\r
30fdf114
LG
40} EFI_QUESION_TYPE;\r
41\r
42typedef enum {\r
43 EQUAL,\r
44 LESS_EQUAL,\r
45 LESS_THAN,\r
46 GREATER_THAN,\r
47 GREATER_EQUAL\r
48} EFI_COMPARE_TYPE;\r
49\r
50#endif\r