]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/VfrCompile/EfiVfr.h
Sync BaseTools Branch (version r2271) to EDKII main trunk.
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / EfiVfr.h
CommitLineData
30fdf114
LG
1/** @file\r
2\r
4234283c 3Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
40d841f6 4This program and the accompanying materials \r
30fdf114
LG
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 EfiVfr.h\r
15\r
16Abstract:\r
17\r
18 Defines and prototypes for the UEFI VFR compiler internal use.\r
19 \r
20**/\r
21\r
22#ifndef _EFIVFR_H_\r
23#define _EFIVFR_H_\r
24\r
25#include "Common/UefiBaseTypes.h"\r
30fdf114
LG
26#include "Common/UefiInternalFormRepresentation.h"\r
27#include "Common/MdeModuleHii.h"\r
28\r
29#define MAX_PATH 255\r
30#define MAX_VFR_LINE_LEN 4096\r
31\r
32#define EFI_IFR_MAX_LENGTH 0xFF\r
52302d4d 33#define MAX_IFR_EXPRESSION_DEPTH 0x9\r
30fdf114
LG
34\r
35#define EFI_VARSTORE_ID_INVALID 0\r
36#define EFI_VAROFFSET_INVALID 0xFFFF\r
37#define EFI_VARSTORE_ID_START 0x20\r
38#define EFI_STRING_ID_INVALID 0x0\r
39#define EFI_IMAGE_ID_INVALID 0xFFFF\r
40\r
41typedef enum {\r
42 QUESTION_NORMAL,\r
43 QUESTION_DATE,\r
44 QUESTION_TIME,\r
4234283c 45 QUESTION_REF,\r
30fdf114
LG
46} EFI_QUESION_TYPE;\r
47\r
48typedef enum {\r
49 EQUAL,\r
50 LESS_EQUAL,\r
51 LESS_THAN,\r
52 GREATER_THAN,\r
53 GREATER_EQUAL\r
54} EFI_COMPARE_TYPE;\r
55\r
56#endif\r