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