]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/EfiVfr.h
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / UefiVfrCompile / EfiVfr.h
1 /*++
2
3 Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
4 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 --*/
19
20 #ifndef _EFIVFR_H_
21 #define _EFIVFR_H_
22
23 #include "Tiano.h"
24 #include "TianoHii.h"
25
26 #define MAX_PATH 255
27 #define MAX_LINE_LEN 4096
28
29 #define EFI_IFR_MAX_LENGTH 0xFF
30
31 #define EFI_VARSTORE_ID_INVALID 0
32 #define EFI_VAROFFSET_INVALID 0xFFFF
33 #define EFI_VARSTORE_ID_START 0x20
34 #define EFI_STRING_ID_INVALID 0x0
35 #define EFI_IMAGE_ID_INVALID 0xFFFF
36
37 typedef enum {
38 QUESTION_NORMAL,
39 QUESTION_DATE,
40 QUESTION_TIME,
41 } EFI_QUESION_TYPE;
42
43 typedef enum {
44 EQUAL,
45 LESS_EQUAL,
46 LESS_THAN,
47 GREATER_THAN,
48 GREATER_EQUAL
49 } EFI_COMPARE_TYPE;
50
51 #endif