]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/VfrCompile/EfiVfr.h
Check In tool source code based on Build tool project revision r1655.
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / EfiVfr.h
1 /** @file
2
3 Copyright (c) 2004 - 2008, 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
35 #define EFI_VARSTORE_ID_INVALID 0
36 #define EFI_VAROFFSET_INVALID 0xFFFF
37 #define EFI_VARSTORE_ID_START 0x20
38 #define EFI_STRING_ID_INVALID 0x0
39 #define EFI_IMAGE_ID_INVALID 0xFFFF
40
41 typedef enum {
42 QUESTION_NORMAL,
43 QUESTION_DATE,
44 QUESTION_TIME,
45 } EFI_QUESION_TYPE;
46
47 typedef enum {
48 EQUAL,
49 LESS_EQUAL,
50 LESS_THAN,
51 GREATER_THAN,
52 GREATER_EQUAL
53 } EFI_COMPARE_TYPE;
54
55 #endif