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