]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/EfiVfr.h
1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / UefiVfrCompile / EfiVfr.h
1 /*++
2
3 Copyright (c) 2004 - 2007, 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 "Tiano.h"
26 #include "TianoHii.h"
27
28 #define MAX_PATH 255
29 #define MAX_LINE_LEN 4096
30
31 #define EFI_IFR_MAX_LENGTH 0xFF
32
33 #define EFI_VARSTORE_ID_INVALID 0
34 #define EFI_VAROFFSET_INVALID 0xFFFF
35 #define EFI_VARSTORE_ID_START 0x20
36 #define EFI_STRING_ID_INVALID 0x0
37 #define EFI_IMAGE_ID_INVALID 0xFFFF
38
39 typedef enum {
40 QUESTION_NORMAL,
41 QUESTION_DATE,
42 QUESTION_TIME,
43 } EFI_QUESION_TYPE;
44
45 typedef enum {
46 EQUAL,
47 LESS_EQUAL,
48 LESS_THAN,
49 GREATER_THAN,
50 GREATER_EQUAL
51 } EFI_COMPARE_TYPE;
52
53 #endif