]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/VfrCompile/EfiVfr.h
BaseTools/Pccts: Resolve GCC sting format mismatch build warning
[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
97fa0ee9 4Copyright (c) 2004 - 2014, 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
22#define MAX_PATH 255\r
23#define MAX_VFR_LINE_LEN 4096\r
24\r
25#define EFI_IFR_MAX_LENGTH 0xFF\r
52302d4d 26#define MAX_IFR_EXPRESSION_DEPTH 0x9\r
30fdf114
LG
27\r
28#define EFI_VARSTORE_ID_INVALID 0\r
29#define EFI_VAROFFSET_INVALID 0xFFFF\r
30#define EFI_VARSTORE_ID_START 0x20\r
31#define EFI_STRING_ID_INVALID 0x0\r
32#define EFI_IMAGE_ID_INVALID 0xFFFF\r
33\r
4afd3d04
LG
34#define EFI_IFR_MAX_DEFAULT_TYPE 0x10\r
35\r
30fdf114
LG
36typedef enum {\r
37 QUESTION_NORMAL,\r
38 QUESTION_DATE,\r
39 QUESTION_TIME,\r
4234283c 40 QUESTION_REF,\r
30fdf114
LG
41} EFI_QUESION_TYPE;\r
42\r
43typedef enum {\r
44 EQUAL,\r
45 LESS_EQUAL,\r
46 LESS_THAN,\r
47 GREATER_THAN,\r
48 GREATER_EQUAL\r
49} EFI_COMPARE_TYPE;\r
50\r
51#endif\r