]>
Commit | Line | Data |
---|---|---|
30fdf114 LG |
1 | /** @file\r |
2 | \r | |
4234283c | 3 | Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r |
40d841f6 | 4 | This program and the accompanying materials \r |
30fdf114 LG |
5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | EfiVfr.h\r | |
15 | \r | |
16 | Abstract:\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 "Common/UefiBaseTypes.h"\r | |
30fdf114 LG |
26 | #include "Common/UefiInternalFormRepresentation.h"\r |
27 | #include "Common/MdeModuleHii.h"\r | |
28 | \r | |
29 | #define MAX_PATH 255\r | |
30 | #define MAX_VFR_LINE_LEN 4096\r | |
31 | \r | |
32 | #define EFI_IFR_MAX_LENGTH 0xFF\r | |
52302d4d | 33 | #define MAX_IFR_EXPRESSION_DEPTH 0x9\r |
30fdf114 LG |
34 | \r |
35 | #define EFI_VARSTORE_ID_INVALID 0\r | |
36 | #define EFI_VAROFFSET_INVALID 0xFFFF\r | |
37 | #define EFI_VARSTORE_ID_START 0x20\r | |
38 | #define EFI_STRING_ID_INVALID 0x0\r | |
39 | #define EFI_IMAGE_ID_INVALID 0xFFFF\r | |
40 | \r | |
4afd3d04 LG |
41 | #define EFI_IFR_MAX_DEFAULT_TYPE 0x10\r |
42 | \r | |
30fdf114 LG |
43 | typedef enum {\r |
44 | QUESTION_NORMAL,\r | |
45 | QUESTION_DATE,\r | |
46 | QUESTION_TIME,\r | |
4234283c | 47 | QUESTION_REF,\r |
30fdf114 LG |
48 | } EFI_QUESION_TYPE;\r |
49 | \r | |
50 | typedef enum {\r | |
51 | EQUAL,\r | |
52 | LESS_EQUAL,\r | |
53 | LESS_THAN,\r | |
54 | GREATER_THAN,\r | |
55 | GREATER_EQUAL\r | |
56 | } EFI_COMPARE_TYPE;\r | |
57 | \r | |
58 | #endif\r |