Lines 20-27
SPDX-License-Identifier: BSD-2-Clause-Patent
Link Here
|
20 |
/// |
20 |
/// |
21 |
/// The following types are currently defined: |
21 |
/// The following types are currently defined: |
22 |
/// |
22 |
/// |
23 |
typedef VOID* EFI_HII_HANDLE; |
23 |
typedef VOID *EFI_HII_HANDLE; |
24 |
typedef CHAR16* EFI_STRING; |
24 |
typedef CHAR16 *EFI_STRING; |
25 |
typedef UINT16 EFI_IMAGE_ID; |
25 |
typedef UINT16 EFI_IMAGE_ID; |
26 |
typedef UINT16 EFI_QUESTION_ID; |
26 |
typedef UINT16 EFI_QUESTION_ID; |
27 |
typedef UINT16 EFI_STRING_ID; |
27 |
typedef UINT16 EFI_STRING_ID; |
Lines 29-39
typedef UINT16 EFI_FORM_ID;
Link Here
|
29 |
typedef UINT16 EFI_VARSTORE_ID; |
29 |
typedef UINT16 EFI_VARSTORE_ID; |
30 |
typedef UINT16 EFI_ANIMATION_ID; |
30 |
typedef UINT16 EFI_ANIMATION_ID; |
31 |
|
31 |
|
32 |
typedef UINT16 EFI_DEFAULT_ID; |
32 |
typedef UINT16 EFI_DEFAULT_ID; |
33 |
|
|
|
34 |
typedef UINT32 EFI_HII_FONT_STYLE; |
35 |
|
36 |
|
33 |
|
|
|
34 |
typedef UINT32 EFI_HII_FONT_STYLE; |
37 |
|
35 |
|
38 |
#pragma pack(1) |
36 |
#pragma pack(1) |
39 |
|
37 |
|
Lines 46-80
typedef UINT32 EFI_HII_FONT_STYLE;
Link Here
|
46 |
/// The header found at the start of each package list. |
44 |
/// The header found at the start of each package list. |
47 |
/// |
45 |
/// |
48 |
typedef struct { |
46 |
typedef struct { |
49 |
EFI_GUID PackageListGuid; |
47 |
EFI_GUID PackageListGuid; |
50 |
UINT32 PackageLength; |
48 |
UINT32 PackageLength; |
51 |
} EFI_HII_PACKAGE_LIST_HEADER; |
49 |
} EFI_HII_PACKAGE_LIST_HEADER; |
52 |
|
50 |
|
53 |
/// |
51 |
/// |
54 |
/// The header found at the start of each package. |
52 |
/// The header found at the start of each package. |
55 |
/// |
53 |
/// |
56 |
typedef struct { |
54 |
typedef struct { |
57 |
UINT32 Length:24; |
55 |
UINT32 Length : 24; |
58 |
UINT32 Type:8; |
56 |
UINT32 Type : 8; |
59 |
// UINT8 Data[...]; |
57 |
// UINT8 Data[...]; |
60 |
} EFI_HII_PACKAGE_HEADER; |
58 |
} EFI_HII_PACKAGE_HEADER; |
61 |
|
59 |
|
62 |
// |
60 |
// |
63 |
// Value of HII package type |
61 |
// Value of HII package type |
64 |
// |
62 |
// |
65 |
#define EFI_HII_PACKAGE_TYPE_ALL 0x00 |
63 |
#define EFI_HII_PACKAGE_TYPE_ALL 0x00 |
66 |
#define EFI_HII_PACKAGE_TYPE_GUID 0x01 |
64 |
#define EFI_HII_PACKAGE_TYPE_GUID 0x01 |
67 |
#define EFI_HII_PACKAGE_FORMS 0x02 |
65 |
#define EFI_HII_PACKAGE_FORMS 0x02 |
68 |
#define EFI_HII_PACKAGE_STRINGS 0x04 |
66 |
#define EFI_HII_PACKAGE_STRINGS 0x04 |
69 |
#define EFI_HII_PACKAGE_FONTS 0x05 |
67 |
#define EFI_HII_PACKAGE_FONTS 0x05 |
70 |
#define EFI_HII_PACKAGE_IMAGES 0x06 |
68 |
#define EFI_HII_PACKAGE_IMAGES 0x06 |
71 |
#define EFI_HII_PACKAGE_SIMPLE_FONTS 0x07 |
69 |
#define EFI_HII_PACKAGE_SIMPLE_FONTS 0x07 |
72 |
#define EFI_HII_PACKAGE_DEVICE_PATH 0x08 |
70 |
#define EFI_HII_PACKAGE_DEVICE_PATH 0x08 |
73 |
#define EFI_HII_PACKAGE_KEYBOARD_LAYOUT 0x09 |
71 |
#define EFI_HII_PACKAGE_KEYBOARD_LAYOUT 0x09 |
74 |
#define EFI_HII_PACKAGE_ANIMATIONS 0x0A |
72 |
#define EFI_HII_PACKAGE_ANIMATIONS 0x0A |
75 |
#define EFI_HII_PACKAGE_END 0xDF |
73 |
#define EFI_HII_PACKAGE_END 0xDF |
76 |
#define EFI_HII_PACKAGE_TYPE_SYSTEM_BEGIN 0xE0 |
74 |
#define EFI_HII_PACKAGE_TYPE_SYSTEM_BEGIN 0xE0 |
77 |
#define EFI_HII_PACKAGE_TYPE_SYSTEM_END 0xFF |
75 |
#define EFI_HII_PACKAGE_TYPE_SYSTEM_END 0xFF |
78 |
|
76 |
|
79 |
// |
77 |
// |
80 |
// Definitions for Simplified Font Package |
78 |
// Definitions for Simplified Font Package |
Lines 83-92
typedef struct {
Link Here
|
83 |
/// |
81 |
/// |
84 |
/// Contents of EFI_NARROW_GLYPH.Attributes. |
82 |
/// Contents of EFI_NARROW_GLYPH.Attributes. |
85 |
///@{ |
83 |
///@{ |
86 |
#define EFI_GLYPH_NON_SPACING 0x01 |
84 |
#define EFI_GLYPH_NON_SPACING 0x01 |
87 |
#define EFI_GLYPH_WIDE 0x02 |
85 |
#define EFI_GLYPH_WIDE 0x02 |
88 |
#define EFI_GLYPH_HEIGHT 19 |
86 |
#define EFI_GLYPH_HEIGHT 19 |
89 |
#define EFI_GLYPH_WIDTH 8 |
87 |
#define EFI_GLYPH_WIDTH 8 |
90 |
///@} |
88 |
///@} |
91 |
|
89 |
|
92 |
/// |
90 |
/// |
Lines 97-113
typedef struct {
Link Here
|
97 |
/// The Unicode representation of the glyph. The term weight is the |
95 |
/// The Unicode representation of the glyph. The term weight is the |
98 |
/// technical term for a character code. |
96 |
/// technical term for a character code. |
99 |
/// |
97 |
/// |
100 |
CHAR16 UnicodeWeight; |
98 |
CHAR16 UnicodeWeight; |
101 |
/// |
99 |
/// |
102 |
/// The data element containing the glyph definitions. |
100 |
/// The data element containing the glyph definitions. |
103 |
/// |
101 |
/// |
104 |
UINT8 Attributes; |
102 |
UINT8 Attributes; |
105 |
/// |
103 |
/// |
106 |
/// The column major glyph representation of the character. Bits |
104 |
/// The column major glyph representation of the character. Bits |
107 |
/// with values of one indicate that the corresponding pixel is to be |
105 |
/// with values of one indicate that the corresponding pixel is to be |
108 |
/// on when normally displayed; those with zero are off. |
106 |
/// on when normally displayed; those with zero are off. |
109 |
/// |
107 |
/// |
110 |
UINT8 GlyphCol1[EFI_GLYPH_HEIGHT]; |
108 |
UINT8 GlyphCol1[EFI_GLYPH_HEIGHT]; |
111 |
} EFI_NARROW_GLYPH; |
109 |
} EFI_NARROW_GLYPH; |
112 |
|
110 |
|
113 |
/// |
111 |
/// |
Lines 119-147
typedef struct {
Link Here
|
119 |
/// The Unicode representation of the glyph. The term weight is the |
117 |
/// The Unicode representation of the glyph. The term weight is the |
120 |
/// technical term for a character code. |
118 |
/// technical term for a character code. |
121 |
/// |
119 |
/// |
122 |
CHAR16 UnicodeWeight; |
120 |
CHAR16 UnicodeWeight; |
123 |
/// |
121 |
/// |
124 |
/// The data element containing the glyph definitions. |
122 |
/// The data element containing the glyph definitions. |
125 |
/// |
123 |
/// |
126 |
UINT8 Attributes; |
124 |
UINT8 Attributes; |
127 |
/// |
125 |
/// |
128 |
/// The column major glyph representation of the character. Bits |
126 |
/// The column major glyph representation of the character. Bits |
129 |
/// with values of one indicate that the corresponding pixel is to be |
127 |
/// with values of one indicate that the corresponding pixel is to be |
130 |
/// on when normally displayed; those with zero are off. |
128 |
/// on when normally displayed; those with zero are off. |
131 |
/// |
129 |
/// |
132 |
UINT8 GlyphCol1[EFI_GLYPH_HEIGHT]; |
130 |
UINT8 GlyphCol1[EFI_GLYPH_HEIGHT]; |
133 |
/// |
131 |
/// |
134 |
/// The column major glyph representation of the character. Bits |
132 |
/// The column major glyph representation of the character. Bits |
135 |
/// with values of one indicate that the corresponding pixel is to be |
133 |
/// with values of one indicate that the corresponding pixel is to be |
136 |
/// on when normally displayed; those with zero are off. |
134 |
/// on when normally displayed; those with zero are off. |
137 |
/// |
135 |
/// |
138 |
UINT8 GlyphCol2[EFI_GLYPH_HEIGHT]; |
136 |
UINT8 GlyphCol2[EFI_GLYPH_HEIGHT]; |
139 |
/// |
137 |
/// |
140 |
/// Ensures that sizeof (EFI_WIDE_GLYPH) is twice the |
138 |
/// Ensures that sizeof (EFI_WIDE_GLYPH) is twice the |
141 |
/// sizeof (EFI_NARROW_GLYPH). The contents of Pad must |
139 |
/// sizeof (EFI_NARROW_GLYPH). The contents of Pad must |
142 |
/// be zero. |
140 |
/// be zero. |
143 |
/// |
141 |
/// |
144 |
UINT8 Pad[3]; |
142 |
UINT8 Pad[3]; |
145 |
} EFI_WIDE_GLYPH; |
143 |
} EFI_WIDE_GLYPH; |
146 |
|
144 |
|
147 |
/// |
145 |
/// |
Lines 149-157
typedef struct {
Link Here
|
149 |
/// followed by a series of glyph structures. |
147 |
/// followed by a series of glyph structures. |
150 |
/// |
148 |
/// |
151 |
typedef struct _EFI_HII_SIMPLE_FONT_PACKAGE_HDR { |
149 |
typedef struct _EFI_HII_SIMPLE_FONT_PACKAGE_HDR { |
152 |
EFI_HII_PACKAGE_HEADER Header; |
150 |
EFI_HII_PACKAGE_HEADER Header; |
153 |
UINT16 NumberOfNarrowGlyphs; |
151 |
UINT16 NumberOfNarrowGlyphs; |
154 |
UINT16 NumberOfWideGlyphs; |
152 |
UINT16 NumberOfWideGlyphs; |
155 |
// EFI_NARROW_GLYPH NarrowGlyphs[]; |
153 |
// EFI_NARROW_GLYPH NarrowGlyphs[]; |
156 |
// EFI_WIDE_GLYPH WideGlyphs[]; |
154 |
// EFI_WIDE_GLYPH WideGlyphs[]; |
157 |
} EFI_HII_SIMPLE_FONT_PACKAGE_HDR; |
155 |
} EFI_HII_SIMPLE_FONT_PACKAGE_HDR; |
Lines 164-184
typedef struct _EFI_HII_SIMPLE_FONT_PACKAGE_HDR {
Link Here
|
164 |
// |
162 |
// |
165 |
// Value for font style |
163 |
// Value for font style |
166 |
// |
164 |
// |
167 |
#define EFI_HII_FONT_STYLE_NORMAL 0x00000000 |
165 |
#define EFI_HII_FONT_STYLE_NORMAL 0x00000000 |
168 |
#define EFI_HII_FONT_STYLE_BOLD 0x00000001 |
166 |
#define EFI_HII_FONT_STYLE_BOLD 0x00000001 |
169 |
#define EFI_HII_FONT_STYLE_ITALIC 0x00000002 |
167 |
#define EFI_HII_FONT_STYLE_ITALIC 0x00000002 |
170 |
#define EFI_HII_FONT_STYLE_EMBOSS 0x00010000 |
168 |
#define EFI_HII_FONT_STYLE_EMBOSS 0x00010000 |
171 |
#define EFI_HII_FONT_STYLE_OUTLINE 0x00020000 |
169 |
#define EFI_HII_FONT_STYLE_OUTLINE 0x00020000 |
172 |
#define EFI_HII_FONT_STYLE_SHADOW 0x00040000 |
170 |
#define EFI_HII_FONT_STYLE_SHADOW 0x00040000 |
173 |
#define EFI_HII_FONT_STYLE_UNDERLINE 0x00080000 |
171 |
#define EFI_HII_FONT_STYLE_UNDERLINE 0x00080000 |
174 |
#define EFI_HII_FONT_STYLE_DBL_UNDER 0x00100000 |
172 |
#define EFI_HII_FONT_STYLE_DBL_UNDER 0x00100000 |
175 |
|
173 |
|
176 |
typedef struct _EFI_HII_GLYPH_INFO { |
174 |
typedef struct _EFI_HII_GLYPH_INFO { |
177 |
UINT16 Width; |
175 |
UINT16 Width; |
178 |
UINT16 Height; |
176 |
UINT16 Height; |
179 |
INT16 OffsetX; |
177 |
INT16 OffsetX; |
180 |
INT16 OffsetY; |
178 |
INT16 OffsetY; |
181 |
INT16 AdvanceX; |
179 |
INT16 AdvanceX; |
182 |
} EFI_HII_GLYPH_INFO; |
180 |
} EFI_HII_GLYPH_INFO; |
183 |
|
181 |
|
184 |
/// |
182 |
/// |
Lines 188-220
typedef struct _EFI_HII_GLYPH_INFO {
Link Here
|
188 |
/// information, the glyph bitmaps and the character map. |
186 |
/// information, the glyph bitmaps and the character map. |
189 |
/// |
187 |
/// |
190 |
typedef struct _EFI_HII_FONT_PACKAGE_HDR { |
188 |
typedef struct _EFI_HII_FONT_PACKAGE_HDR { |
191 |
EFI_HII_PACKAGE_HEADER Header; |
189 |
EFI_HII_PACKAGE_HEADER Header; |
192 |
UINT32 HdrSize; |
190 |
UINT32 HdrSize; |
193 |
UINT32 GlyphBlockOffset; |
191 |
UINT32 GlyphBlockOffset; |
194 |
EFI_HII_GLYPH_INFO Cell; |
192 |
EFI_HII_GLYPH_INFO Cell; |
195 |
EFI_HII_FONT_STYLE FontStyle; |
193 |
EFI_HII_FONT_STYLE FontStyle; |
196 |
CHAR16 FontFamily[1]; |
194 |
CHAR16 FontFamily[1]; |
197 |
} EFI_HII_FONT_PACKAGE_HDR; |
195 |
} EFI_HII_FONT_PACKAGE_HDR; |
198 |
|
196 |
|
199 |
// |
197 |
// |
200 |
// Value of different glyph info block types |
198 |
// Value of different glyph info block types |
201 |
// |
199 |
// |
202 |
#define EFI_HII_GIBT_END 0x00 |
200 |
#define EFI_HII_GIBT_END 0x00 |
203 |
#define EFI_HII_GIBT_GLYPH 0x10 |
201 |
#define EFI_HII_GIBT_GLYPH 0x10 |
204 |
#define EFI_HII_GIBT_GLYPHS 0x11 |
202 |
#define EFI_HII_GIBT_GLYPHS 0x11 |
205 |
#define EFI_HII_GIBT_GLYPH_DEFAULT 0x12 |
203 |
#define EFI_HII_GIBT_GLYPH_DEFAULT 0x12 |
206 |
#define EFI_HII_GIBT_GLYPHS_DEFAULT 0x13 |
204 |
#define EFI_HII_GIBT_GLYPHS_DEFAULT 0x13 |
207 |
#define EFI_HII_GIBT_GLYPH_VARIABILITY 0x14 |
205 |
#define EFI_HII_GIBT_GLYPH_VARIABILITY 0x14 |
208 |
#define EFI_HII_GIBT_DUPLICATE 0x20 |
206 |
#define EFI_HII_GIBT_DUPLICATE 0x20 |
209 |
#define EFI_HII_GIBT_SKIP2 0x21 |
207 |
#define EFI_HII_GIBT_SKIP2 0x21 |
210 |
#define EFI_HII_GIBT_SKIP1 0x22 |
208 |
#define EFI_HII_GIBT_SKIP1 0x22 |
211 |
#define EFI_HII_GIBT_DEFAULTS 0x23 |
209 |
#define EFI_HII_GIBT_DEFAULTS 0x23 |
212 |
#define EFI_HII_GIBT_EXT1 0x30 |
210 |
#define EFI_HII_GIBT_EXT1 0x30 |
213 |
#define EFI_HII_GIBT_EXT2 0x31 |
211 |
#define EFI_HII_GIBT_EXT2 0x31 |
214 |
#define EFI_HII_GIBT_EXT4 0x32 |
212 |
#define EFI_HII_GIBT_EXT4 0x32 |
215 |
|
213 |
|
216 |
typedef struct _EFI_HII_GLYPH_BLOCK { |
214 |
typedef struct _EFI_HII_GLYPH_BLOCK { |
217 |
UINT8 BlockType; |
215 |
UINT8 BlockType; |
218 |
} EFI_HII_GLYPH_BLOCK; |
216 |
} EFI_HII_GLYPH_BLOCK; |
219 |
|
217 |
|
220 |
// |
218 |
// |
Lines 281-287
typedef struct _EFI_HII_GIBT_VARIABILITY_BLOCK {
Link Here
|
281 |
EFI_HII_GLYPH_BLOCK Header; |
279 |
EFI_HII_GLYPH_BLOCK Header; |
282 |
EFI_HII_GLYPH_INFO Cell; |
280 |
EFI_HII_GLYPH_INFO Cell; |
283 |
UINT8 GlyphPackInBits; |
281 |
UINT8 GlyphPackInBits; |
284 |
UINT8 BitmapData [1]; |
282 |
UINT8 BitmapData[1]; |
285 |
} EFI_HII_GIBT_VARIABILITY_BLOCK; |
283 |
} EFI_HII_GIBT_VARIABILITY_BLOCK; |
286 |
|
284 |
|
287 |
typedef struct _EFI_HII_GIBT_SKIP1_BLOCK { |
285 |
typedef struct _EFI_HII_GIBT_SKIP1_BLOCK { |
Lines 304-310
typedef struct _EFI_HII_GIBT_SKIP2_BLOCK {
Link Here
|
304 |
/// associated with the package list. |
302 |
/// associated with the package list. |
305 |
/// |
303 |
/// |
306 |
typedef struct _EFI_HII_DEVICE_PATH_PACKAGE_HDR { |
304 |
typedef struct _EFI_HII_DEVICE_PATH_PACKAGE_HDR { |
307 |
EFI_HII_PACKAGE_HEADER Header; |
305 |
EFI_HII_PACKAGE_HEADER Header; |
308 |
// EFI_DEVICE_PATH_PROTOCOL DevicePath[]; |
306 |
// EFI_DEVICE_PATH_PROTOCOL DevicePath[]; |
309 |
} EFI_HII_DEVICE_PATH_PACKAGE_HDR; |
307 |
} EFI_HII_DEVICE_PATH_PACKAGE_HDR; |
310 |
|
308 |
|
Lines 317-324
typedef struct _EFI_HII_DEVICE_PATH_PACKAGE_HDR {
Link Here
|
317 |
/// The GUID package is used to carry data where the format is defined by a GUID. |
315 |
/// The GUID package is used to carry data where the format is defined by a GUID. |
318 |
/// |
316 |
/// |
319 |
typedef struct _EFI_HII_GUID_PACKAGE_HDR { |
317 |
typedef struct _EFI_HII_GUID_PACKAGE_HDR { |
320 |
EFI_HII_PACKAGE_HEADER Header; |
318 |
EFI_HII_PACKAGE_HEADER Header; |
321 |
EFI_GUID Guid; |
319 |
EFI_GUID Guid; |
322 |
// Data per GUID definition may follow |
320 |
// Data per GUID definition may follow |
323 |
} EFI_HII_GUID_PACKAGE_HDR; |
321 |
} EFI_HII_GUID_PACKAGE_HDR; |
324 |
|
322 |
|
Lines 327-371
typedef struct _EFI_HII_GUID_PACKAGE_HDR {
Link Here
|
327 |
// Section 27.3.6 |
325 |
// Section 27.3.6 |
328 |
// |
326 |
// |
329 |
|
327 |
|
330 |
#define UEFI_CONFIG_LANG "x-UEFI" |
328 |
#define UEFI_CONFIG_LANG "x-UEFI" |
331 |
#define UEFI_CONFIG_LANG_2 "x-i-UEFI" |
329 |
#define UEFI_CONFIG_LANG_2 "x-i-UEFI" |
332 |
|
330 |
|
333 |
/// |
331 |
/// |
334 |
/// The fixed header consists of a standard record header and then the string identifiers |
332 |
/// The fixed header consists of a standard record header and then the string identifiers |
335 |
/// contained in this section and the offsets of the string and language information. |
333 |
/// contained in this section and the offsets of the string and language information. |
336 |
/// |
334 |
/// |
337 |
typedef struct _EFI_HII_STRING_PACKAGE_HDR { |
335 |
typedef struct _EFI_HII_STRING_PACKAGE_HDR { |
338 |
EFI_HII_PACKAGE_HEADER Header; |
336 |
EFI_HII_PACKAGE_HEADER Header; |
339 |
UINT32 HdrSize; |
337 |
UINT32 HdrSize; |
340 |
UINT32 StringInfoOffset; |
338 |
UINT32 StringInfoOffset; |
341 |
CHAR16 LanguageWindow[16]; |
339 |
CHAR16 LanguageWindow[16]; |
342 |
EFI_STRING_ID LanguageName; |
340 |
EFI_STRING_ID LanguageName; |
343 |
CHAR8 Language[1]; |
341 |
CHAR8 Language[1]; |
344 |
} EFI_HII_STRING_PACKAGE_HDR; |
342 |
} EFI_HII_STRING_PACKAGE_HDR; |
345 |
|
343 |
|
346 |
typedef struct { |
344 |
typedef struct { |
347 |
UINT8 BlockType; |
345 |
UINT8 BlockType; |
348 |
} EFI_HII_STRING_BLOCK; |
346 |
} EFI_HII_STRING_BLOCK; |
349 |
|
347 |
|
350 |
// |
348 |
// |
351 |
// Value of different string information block types |
349 |
// Value of different string information block types |
352 |
// |
350 |
// |
353 |
#define EFI_HII_SIBT_END 0x00 |
351 |
#define EFI_HII_SIBT_END 0x00 |
354 |
#define EFI_HII_SIBT_STRING_SCSU 0x10 |
352 |
#define EFI_HII_SIBT_STRING_SCSU 0x10 |
355 |
#define EFI_HII_SIBT_STRING_SCSU_FONT 0x11 |
353 |
#define EFI_HII_SIBT_STRING_SCSU_FONT 0x11 |
356 |
#define EFI_HII_SIBT_STRINGS_SCSU 0x12 |
354 |
#define EFI_HII_SIBT_STRINGS_SCSU 0x12 |
357 |
#define EFI_HII_SIBT_STRINGS_SCSU_FONT 0x13 |
355 |
#define EFI_HII_SIBT_STRINGS_SCSU_FONT 0x13 |
358 |
#define EFI_HII_SIBT_STRING_UCS2 0x14 |
356 |
#define EFI_HII_SIBT_STRING_UCS2 0x14 |
359 |
#define EFI_HII_SIBT_STRING_UCS2_FONT 0x15 |
357 |
#define EFI_HII_SIBT_STRING_UCS2_FONT 0x15 |
360 |
#define EFI_HII_SIBT_STRINGS_UCS2 0x16 |
358 |
#define EFI_HII_SIBT_STRINGS_UCS2 0x16 |
361 |
#define EFI_HII_SIBT_STRINGS_UCS2_FONT 0x17 |
359 |
#define EFI_HII_SIBT_STRINGS_UCS2_FONT 0x17 |
362 |
#define EFI_HII_SIBT_DUPLICATE 0x20 |
360 |
#define EFI_HII_SIBT_DUPLICATE 0x20 |
363 |
#define EFI_HII_SIBT_SKIP2 0x21 |
361 |
#define EFI_HII_SIBT_SKIP2 0x21 |
364 |
#define EFI_HII_SIBT_SKIP1 0x22 |
362 |
#define EFI_HII_SIBT_SKIP1 0x22 |
365 |
#define EFI_HII_SIBT_EXT1 0x30 |
363 |
#define EFI_HII_SIBT_EXT1 0x30 |
366 |
#define EFI_HII_SIBT_EXT2 0x31 |
364 |
#define EFI_HII_SIBT_EXT2 0x31 |
367 |
#define EFI_HII_SIBT_EXT4 0x32 |
365 |
#define EFI_HII_SIBT_EXT4 0x32 |
368 |
#define EFI_HII_SIBT_FONT 0x40 |
366 |
#define EFI_HII_SIBT_FONT 0x40 |
369 |
|
367 |
|
370 |
// |
368 |
// |
371 |
// Definition of different string information block types |
369 |
// Definition of different string information block types |
Lines 399-409
typedef struct _EFI_HII_SIBT_EXT4_BLOCK {
Link Here
|
399 |
} EFI_HII_SIBT_EXT4_BLOCK; |
397 |
} EFI_HII_SIBT_EXT4_BLOCK; |
400 |
|
398 |
|
401 |
typedef struct _EFI_HII_SIBT_FONT_BLOCK { |
399 |
typedef struct _EFI_HII_SIBT_FONT_BLOCK { |
402 |
EFI_HII_SIBT_EXT2_BLOCK Header; |
400 |
EFI_HII_SIBT_EXT2_BLOCK Header; |
403 |
UINT8 FontId; |
401 |
UINT8 FontId; |
404 |
UINT16 FontSize; |
402 |
UINT16 FontSize; |
405 |
EFI_HII_FONT_STYLE FontStyle; |
403 |
EFI_HII_FONT_STYLE FontStyle; |
406 |
CHAR16 FontName[1]; |
404 |
CHAR16 FontName[1]; |
407 |
} EFI_HII_SIBT_FONT_BLOCK; |
405 |
} EFI_HII_SIBT_FONT_BLOCK; |
408 |
|
406 |
|
409 |
typedef struct _EFI_HII_SIBT_SKIP1_BLOCK { |
407 |
typedef struct _EFI_HII_SIBT_SKIP1_BLOCK { |
Lines 470-632
typedef struct _EFI_HII_SIBT_STRINGS_UCS2_FONT_BLOCK {
Link Here
|
470 |
// |
468 |
// |
471 |
|
469 |
|
472 |
typedef struct _EFI_HII_IMAGE_PACKAGE_HDR { |
470 |
typedef struct _EFI_HII_IMAGE_PACKAGE_HDR { |
473 |
EFI_HII_PACKAGE_HEADER Header; |
471 |
EFI_HII_PACKAGE_HEADER Header; |
474 |
UINT32 ImageInfoOffset; |
472 |
UINT32 ImageInfoOffset; |
475 |
UINT32 PaletteInfoOffset; |
473 |
UINT32 PaletteInfoOffset; |
476 |
} EFI_HII_IMAGE_PACKAGE_HDR; |
474 |
} EFI_HII_IMAGE_PACKAGE_HDR; |
477 |
|
475 |
|
478 |
typedef struct _EFI_HII_IMAGE_BLOCK { |
476 |
typedef struct _EFI_HII_IMAGE_BLOCK { |
479 |
UINT8 BlockType; |
477 |
UINT8 BlockType; |
480 |
} EFI_HII_IMAGE_BLOCK; |
478 |
} EFI_HII_IMAGE_BLOCK; |
481 |
|
479 |
|
482 |
// |
480 |
// |
483 |
// Value of different image information block types |
481 |
// Value of different image information block types |
484 |
// |
482 |
// |
485 |
#define EFI_HII_IIBT_END 0x00 |
483 |
#define EFI_HII_IIBT_END 0x00 |
486 |
#define EFI_HII_IIBT_IMAGE_1BIT 0x10 |
484 |
#define EFI_HII_IIBT_IMAGE_1BIT 0x10 |
487 |
#define EFI_HII_IIBT_IMAGE_1BIT_TRANS 0x11 |
485 |
#define EFI_HII_IIBT_IMAGE_1BIT_TRANS 0x11 |
488 |
#define EFI_HII_IIBT_IMAGE_4BIT 0x12 |
486 |
#define EFI_HII_IIBT_IMAGE_4BIT 0x12 |
489 |
#define EFI_HII_IIBT_IMAGE_4BIT_TRANS 0x13 |
487 |
#define EFI_HII_IIBT_IMAGE_4BIT_TRANS 0x13 |
490 |
#define EFI_HII_IIBT_IMAGE_8BIT 0x14 |
488 |
#define EFI_HII_IIBT_IMAGE_8BIT 0x14 |
491 |
#define EFI_HII_IIBT_IMAGE_8BIT_TRANS 0x15 |
489 |
#define EFI_HII_IIBT_IMAGE_8BIT_TRANS 0x15 |
492 |
#define EFI_HII_IIBT_IMAGE_24BIT 0x16 |
490 |
#define EFI_HII_IIBT_IMAGE_24BIT 0x16 |
493 |
#define EFI_HII_IIBT_IMAGE_24BIT_TRANS 0x17 |
491 |
#define EFI_HII_IIBT_IMAGE_24BIT_TRANS 0x17 |
494 |
#define EFI_HII_IIBT_IMAGE_JPEG 0x18 |
492 |
#define EFI_HII_IIBT_IMAGE_JPEG 0x18 |
495 |
#define EFI_HII_IIBT_IMAGE_PNG 0x19 |
493 |
#define EFI_HII_IIBT_IMAGE_PNG 0x19 |
496 |
#define EFI_HII_IIBT_DUPLICATE 0x20 |
494 |
#define EFI_HII_IIBT_DUPLICATE 0x20 |
497 |
#define EFI_HII_IIBT_SKIP2 0x21 |
495 |
#define EFI_HII_IIBT_SKIP2 0x21 |
498 |
#define EFI_HII_IIBT_SKIP1 0x22 |
496 |
#define EFI_HII_IIBT_SKIP1 0x22 |
499 |
#define EFI_HII_IIBT_EXT1 0x30 |
497 |
#define EFI_HII_IIBT_EXT1 0x30 |
500 |
#define EFI_HII_IIBT_EXT2 0x31 |
498 |
#define EFI_HII_IIBT_EXT2 0x31 |
501 |
#define EFI_HII_IIBT_EXT4 0x32 |
499 |
#define EFI_HII_IIBT_EXT4 0x32 |
502 |
|
500 |
|
503 |
// |
501 |
// |
504 |
// Definition of different image information block types |
502 |
// Definition of different image information block types |
505 |
// |
503 |
// |
506 |
|
504 |
|
507 |
typedef struct _EFI_HII_IIBT_END_BLOCK { |
505 |
typedef struct _EFI_HII_IIBT_END_BLOCK { |
508 |
EFI_HII_IMAGE_BLOCK Header; |
506 |
EFI_HII_IMAGE_BLOCK Header; |
509 |
} EFI_HII_IIBT_END_BLOCK; |
507 |
} EFI_HII_IIBT_END_BLOCK; |
510 |
|
508 |
|
511 |
typedef struct _EFI_HII_IIBT_EXT1_BLOCK { |
509 |
typedef struct _EFI_HII_IIBT_EXT1_BLOCK { |
512 |
EFI_HII_IMAGE_BLOCK Header; |
510 |
EFI_HII_IMAGE_BLOCK Header; |
513 |
UINT8 BlockType2; |
511 |
UINT8 BlockType2; |
514 |
UINT8 Length; |
512 |
UINT8 Length; |
515 |
} EFI_HII_IIBT_EXT1_BLOCK; |
513 |
} EFI_HII_IIBT_EXT1_BLOCK; |
516 |
|
514 |
|
517 |
typedef struct _EFI_HII_IIBT_EXT2_BLOCK { |
515 |
typedef struct _EFI_HII_IIBT_EXT2_BLOCK { |
518 |
EFI_HII_IMAGE_BLOCK Header; |
516 |
EFI_HII_IMAGE_BLOCK Header; |
519 |
UINT8 BlockType2; |
517 |
UINT8 BlockType2; |
520 |
UINT16 Length; |
518 |
UINT16 Length; |
521 |
} EFI_HII_IIBT_EXT2_BLOCK; |
519 |
} EFI_HII_IIBT_EXT2_BLOCK; |
522 |
|
520 |
|
523 |
typedef struct _EFI_HII_IIBT_EXT4_BLOCK { |
521 |
typedef struct _EFI_HII_IIBT_EXT4_BLOCK { |
524 |
EFI_HII_IMAGE_BLOCK Header; |
522 |
EFI_HII_IMAGE_BLOCK Header; |
525 |
UINT8 BlockType2; |
523 |
UINT8 BlockType2; |
526 |
UINT32 Length; |
524 |
UINT32 Length; |
527 |
} EFI_HII_IIBT_EXT4_BLOCK; |
525 |
} EFI_HII_IIBT_EXT4_BLOCK; |
528 |
|
526 |
|
529 |
typedef struct _EFI_HII_IIBT_IMAGE_1BIT_BASE { |
527 |
typedef struct _EFI_HII_IIBT_IMAGE_1BIT_BASE { |
530 |
UINT16 Width; |
528 |
UINT16 Width; |
531 |
UINT16 Height; |
529 |
UINT16 Height; |
532 |
UINT8 Data[1]; |
530 |
UINT8 Data[1]; |
533 |
} EFI_HII_IIBT_IMAGE_1BIT_BASE; |
531 |
} EFI_HII_IIBT_IMAGE_1BIT_BASE; |
534 |
|
532 |
|
535 |
typedef struct _EFI_HII_IIBT_IMAGE_1BIT_BLOCK { |
533 |
typedef struct _EFI_HII_IIBT_IMAGE_1BIT_BLOCK { |
536 |
EFI_HII_IMAGE_BLOCK Header; |
534 |
EFI_HII_IMAGE_BLOCK Header; |
537 |
UINT8 PaletteIndex; |
535 |
UINT8 PaletteIndex; |
538 |
EFI_HII_IIBT_IMAGE_1BIT_BASE Bitmap; |
536 |
EFI_HII_IIBT_IMAGE_1BIT_BASE Bitmap; |
539 |
} EFI_HII_IIBT_IMAGE_1BIT_BLOCK; |
537 |
} EFI_HII_IIBT_IMAGE_1BIT_BLOCK; |
540 |
|
538 |
|
541 |
typedef struct _EFI_HII_IIBT_IMAGE_1BIT_TRANS_BLOCK { |
539 |
typedef struct _EFI_HII_IIBT_IMAGE_1BIT_TRANS_BLOCK { |
542 |
EFI_HII_IMAGE_BLOCK Header; |
540 |
EFI_HII_IMAGE_BLOCK Header; |
543 |
UINT8 PaletteIndex; |
541 |
UINT8 PaletteIndex; |
544 |
EFI_HII_IIBT_IMAGE_1BIT_BASE Bitmap; |
542 |
EFI_HII_IIBT_IMAGE_1BIT_BASE Bitmap; |
545 |
} EFI_HII_IIBT_IMAGE_1BIT_TRANS_BLOCK; |
543 |
} EFI_HII_IIBT_IMAGE_1BIT_TRANS_BLOCK; |
546 |
|
544 |
|
547 |
typedef struct _EFI_HII_RGB_PIXEL { |
545 |
typedef struct _EFI_HII_RGB_PIXEL { |
548 |
UINT8 b; |
546 |
UINT8 b; |
549 |
UINT8 g; |
547 |
UINT8 g; |
550 |
UINT8 r; |
548 |
UINT8 r; |
551 |
} EFI_HII_RGB_PIXEL; |
549 |
} EFI_HII_RGB_PIXEL; |
552 |
|
550 |
|
553 |
typedef struct _EFI_HII_IIBT_IMAGE_24BIT_BASE { |
551 |
typedef struct _EFI_HII_IIBT_IMAGE_24BIT_BASE { |
554 |
UINT16 Width; |
552 |
UINT16 Width; |
555 |
UINT16 Height; |
553 |
UINT16 Height; |
556 |
EFI_HII_RGB_PIXEL Bitmap[1]; |
554 |
EFI_HII_RGB_PIXEL Bitmap[1]; |
557 |
} EFI_HII_IIBT_IMAGE_24BIT_BASE; |
555 |
} EFI_HII_IIBT_IMAGE_24BIT_BASE; |
558 |
|
556 |
|
559 |
typedef struct _EFI_HII_IIBT_IMAGE_24BIT_BLOCK { |
557 |
typedef struct _EFI_HII_IIBT_IMAGE_24BIT_BLOCK { |
560 |
EFI_HII_IMAGE_BLOCK Header; |
558 |
EFI_HII_IMAGE_BLOCK Header; |
561 |
EFI_HII_IIBT_IMAGE_24BIT_BASE Bitmap; |
559 |
EFI_HII_IIBT_IMAGE_24BIT_BASE Bitmap; |
562 |
} EFI_HII_IIBT_IMAGE_24BIT_BLOCK; |
560 |
} EFI_HII_IIBT_IMAGE_24BIT_BLOCK; |
563 |
|
561 |
|
564 |
typedef struct _EFI_HII_IIBT_IMAGE_24BIT_TRANS_BLOCK { |
562 |
typedef struct _EFI_HII_IIBT_IMAGE_24BIT_TRANS_BLOCK { |
565 |
EFI_HII_IMAGE_BLOCK Header; |
563 |
EFI_HII_IMAGE_BLOCK Header; |
566 |
EFI_HII_IIBT_IMAGE_24BIT_BASE Bitmap; |
564 |
EFI_HII_IIBT_IMAGE_24BIT_BASE Bitmap; |
567 |
} EFI_HII_IIBT_IMAGE_24BIT_TRANS_BLOCK; |
565 |
} EFI_HII_IIBT_IMAGE_24BIT_TRANS_BLOCK; |
568 |
|
566 |
|
569 |
typedef struct _EFI_HII_IIBT_IMAGE_4BIT_BASE { |
567 |
typedef struct _EFI_HII_IIBT_IMAGE_4BIT_BASE { |
570 |
UINT16 Width; |
568 |
UINT16 Width; |
571 |
UINT16 Height; |
569 |
UINT16 Height; |
572 |
UINT8 Data[1]; |
570 |
UINT8 Data[1]; |
573 |
} EFI_HII_IIBT_IMAGE_4BIT_BASE; |
571 |
} EFI_HII_IIBT_IMAGE_4BIT_BASE; |
574 |
|
572 |
|
575 |
typedef struct _EFI_HII_IIBT_IMAGE_4BIT_BLOCK { |
573 |
typedef struct _EFI_HII_IIBT_IMAGE_4BIT_BLOCK { |
576 |
EFI_HII_IMAGE_BLOCK Header; |
574 |
EFI_HII_IMAGE_BLOCK Header; |
577 |
UINT8 PaletteIndex; |
575 |
UINT8 PaletteIndex; |
578 |
EFI_HII_IIBT_IMAGE_4BIT_BASE Bitmap; |
576 |
EFI_HII_IIBT_IMAGE_4BIT_BASE Bitmap; |
579 |
} EFI_HII_IIBT_IMAGE_4BIT_BLOCK; |
577 |
} EFI_HII_IIBT_IMAGE_4BIT_BLOCK; |
580 |
|
578 |
|
581 |
typedef struct _EFI_HII_IIBT_IMAGE_4BIT_TRANS_BLOCK { |
579 |
typedef struct _EFI_HII_IIBT_IMAGE_4BIT_TRANS_BLOCK { |
582 |
EFI_HII_IMAGE_BLOCK Header; |
580 |
EFI_HII_IMAGE_BLOCK Header; |
583 |
UINT8 PaletteIndex; |
581 |
UINT8 PaletteIndex; |
584 |
EFI_HII_IIBT_IMAGE_4BIT_BASE Bitmap; |
582 |
EFI_HII_IIBT_IMAGE_4BIT_BASE Bitmap; |
585 |
} EFI_HII_IIBT_IMAGE_4BIT_TRANS_BLOCK; |
583 |
} EFI_HII_IIBT_IMAGE_4BIT_TRANS_BLOCK; |
586 |
|
584 |
|
587 |
typedef struct _EFI_HII_IIBT_IMAGE_8BIT_BASE { |
585 |
typedef struct _EFI_HII_IIBT_IMAGE_8BIT_BASE { |
588 |
UINT16 Width; |
586 |
UINT16 Width; |
589 |
UINT16 Height; |
587 |
UINT16 Height; |
590 |
UINT8 Data[1]; |
588 |
UINT8 Data[1]; |
591 |
} EFI_HII_IIBT_IMAGE_8BIT_BASE; |
589 |
} EFI_HII_IIBT_IMAGE_8BIT_BASE; |
592 |
|
590 |
|
593 |
typedef struct _EFI_HII_IIBT_IMAGE_8BIT_PALETTE_BLOCK { |
591 |
typedef struct _EFI_HII_IIBT_IMAGE_8BIT_PALETTE_BLOCK { |
594 |
EFI_HII_IMAGE_BLOCK Header; |
592 |
EFI_HII_IMAGE_BLOCK Header; |
595 |
UINT8 PaletteIndex; |
593 |
UINT8 PaletteIndex; |
596 |
EFI_HII_IIBT_IMAGE_8BIT_BASE Bitmap; |
594 |
EFI_HII_IIBT_IMAGE_8BIT_BASE Bitmap; |
597 |
} EFI_HII_IIBT_IMAGE_8BIT_BLOCK; |
595 |
} EFI_HII_IIBT_IMAGE_8BIT_BLOCK; |
598 |
|
596 |
|
599 |
typedef struct _EFI_HII_IIBT_IMAGE_8BIT_TRANS_BLOCK { |
597 |
typedef struct _EFI_HII_IIBT_IMAGE_8BIT_TRANS_BLOCK { |
600 |
EFI_HII_IMAGE_BLOCK Header; |
598 |
EFI_HII_IMAGE_BLOCK Header; |
601 |
UINT8 PaletteIndex; |
599 |
UINT8 PaletteIndex; |
602 |
EFI_HII_IIBT_IMAGE_8BIT_BASE Bitmap; |
600 |
EFI_HII_IIBT_IMAGE_8BIT_BASE Bitmap; |
603 |
} EFI_HII_IIBT_IMAGE_8BIT_TRAN_BLOCK; |
601 |
} EFI_HII_IIBT_IMAGE_8BIT_TRAN_BLOCK; |
604 |
|
602 |
|
605 |
typedef struct _EFI_HII_IIBT_DUPLICATE_BLOCK { |
603 |
typedef struct _EFI_HII_IIBT_DUPLICATE_BLOCK { |
606 |
EFI_HII_IMAGE_BLOCK Header; |
604 |
EFI_HII_IMAGE_BLOCK Header; |
607 |
EFI_IMAGE_ID ImageId; |
605 |
EFI_IMAGE_ID ImageId; |
608 |
} EFI_HII_IIBT_DUPLICATE_BLOCK; |
606 |
} EFI_HII_IIBT_DUPLICATE_BLOCK; |
609 |
|
607 |
|
610 |
typedef struct _EFI_HII_IIBT_JPEG_BLOCK { |
608 |
typedef struct _EFI_HII_IIBT_JPEG_BLOCK { |
611 |
EFI_HII_IMAGE_BLOCK Header; |
609 |
EFI_HII_IMAGE_BLOCK Header; |
612 |
UINT32 Size; |
610 |
UINT32 Size; |
613 |
UINT8 Data[1]; |
611 |
UINT8 Data[1]; |
614 |
} EFI_HII_IIBT_JPEG_BLOCK; |
612 |
} EFI_HII_IIBT_JPEG_BLOCK; |
615 |
|
613 |
|
616 |
typedef struct _EFI_HII_IIBT_PNG_BLOCK { |
614 |
typedef struct _EFI_HII_IIBT_PNG_BLOCK { |
617 |
EFI_HII_IMAGE_BLOCK Header; |
615 |
EFI_HII_IMAGE_BLOCK Header; |
618 |
UINT32 Size; |
616 |
UINT32 Size; |
619 |
UINT8 Data[1]; |
617 |
UINT8 Data[1]; |
620 |
} EFI_HII_IIBT_PNG_BLOCK; |
618 |
} EFI_HII_IIBT_PNG_BLOCK; |
621 |
|
619 |
|
622 |
typedef struct _EFI_HII_IIBT_SKIP1_BLOCK { |
620 |
typedef struct _EFI_HII_IIBT_SKIP1_BLOCK { |
623 |
EFI_HII_IMAGE_BLOCK Header; |
621 |
EFI_HII_IMAGE_BLOCK Header; |
624 |
UINT8 SkipCount; |
622 |
UINT8 SkipCount; |
625 |
} EFI_HII_IIBT_SKIP1_BLOCK; |
623 |
} EFI_HII_IIBT_SKIP1_BLOCK; |
626 |
|
624 |
|
627 |
typedef struct _EFI_HII_IIBT_SKIP2_BLOCK { |
625 |
typedef struct _EFI_HII_IIBT_SKIP2_BLOCK { |
628 |
EFI_HII_IMAGE_BLOCK Header; |
626 |
EFI_HII_IMAGE_BLOCK Header; |
629 |
UINT16 SkipCount; |
627 |
UINT16 SkipCount; |
630 |
} EFI_HII_IIBT_SKIP2_BLOCK; |
628 |
} EFI_HII_IIBT_SKIP2_BLOCK; |
631 |
|
629 |
|
632 |
// |
630 |
// |
Lines 634-645
typedef struct _EFI_HII_IIBT_SKIP2_BLOCK {
Link Here
|
634 |
// |
632 |
// |
635 |
|
633 |
|
636 |
typedef struct _EFI_HII_IMAGE_PALETTE_INFO_HEADER { |
634 |
typedef struct _EFI_HII_IMAGE_PALETTE_INFO_HEADER { |
637 |
UINT16 PaletteCount; |
635 |
UINT16 PaletteCount; |
638 |
} EFI_HII_IMAGE_PALETTE_INFO_HEADER; |
636 |
} EFI_HII_IMAGE_PALETTE_INFO_HEADER; |
639 |
|
637 |
|
640 |
typedef struct _EFI_HII_IMAGE_PALETTE_INFO { |
638 |
typedef struct _EFI_HII_IMAGE_PALETTE_INFO { |
641 |
UINT16 PaletteSize; |
639 |
UINT16 PaletteSize; |
642 |
EFI_HII_RGB_PIXEL PaletteValue[1]; |
640 |
EFI_HII_RGB_PIXEL PaletteValue[1]; |
643 |
} EFI_HII_IMAGE_PALETTE_INFO; |
641 |
} EFI_HII_IMAGE_PALETTE_INFO; |
644 |
|
642 |
|
645 |
// |
643 |
// |
Lines 651-796
typedef struct _EFI_HII_IMAGE_PALETTE_INFO {
Link Here
|
651 |
/// The Form package is used to carry form-based encoding data. |
649 |
/// The Form package is used to carry form-based encoding data. |
652 |
/// |
650 |
/// |
653 |
typedef struct _EFI_HII_FORM_PACKAGE_HDR { |
651 |
typedef struct _EFI_HII_FORM_PACKAGE_HDR { |
654 |
EFI_HII_PACKAGE_HEADER Header; |
652 |
EFI_HII_PACKAGE_HEADER Header; |
655 |
// EFI_IFR_OP_HEADER OpCodeHeader; |
653 |
// EFI_IFR_OP_HEADER OpCodeHeader; |
656 |
// More op-codes follow |
654 |
// More op-codes follow |
657 |
} EFI_HII_FORM_PACKAGE_HDR; |
655 |
} EFI_HII_FORM_PACKAGE_HDR; |
658 |
|
656 |
|
659 |
typedef struct { |
657 |
typedef struct { |
660 |
UINT8 Hour; |
658 |
UINT8 Hour; |
661 |
UINT8 Minute; |
659 |
UINT8 Minute; |
662 |
UINT8 Second; |
660 |
UINT8 Second; |
663 |
} EFI_HII_TIME; |
661 |
} EFI_HII_TIME; |
664 |
|
662 |
|
665 |
typedef struct { |
663 |
typedef struct { |
666 |
UINT16 Year; |
664 |
UINT16 Year; |
667 |
UINT8 Month; |
665 |
UINT8 Month; |
668 |
UINT8 Day; |
666 |
UINT8 Day; |
669 |
} EFI_HII_DATE; |
667 |
} EFI_HII_DATE; |
670 |
|
668 |
|
671 |
typedef struct { |
669 |
typedef struct { |
672 |
EFI_QUESTION_ID QuestionId; |
670 |
EFI_QUESTION_ID QuestionId; |
673 |
EFI_FORM_ID FormId; |
671 |
EFI_FORM_ID FormId; |
674 |
EFI_GUID FormSetGuid; |
672 |
EFI_GUID FormSetGuid; |
675 |
EFI_STRING_ID DevicePath; |
673 |
EFI_STRING_ID DevicePath; |
676 |
} EFI_HII_REF; |
674 |
} EFI_HII_REF; |
677 |
|
675 |
|
678 |
typedef union { |
676 |
typedef union { |
679 |
UINT8 u8; |
677 |
UINT8 u8; |
680 |
UINT16 u16; |
678 |
UINT16 u16; |
681 |
UINT32 u32; |
679 |
UINT32 u32; |
682 |
UINT64 u64; |
680 |
UINT64 u64; |
683 |
BOOLEAN b; |
681 |
BOOLEAN b; |
684 |
EFI_HII_TIME time; |
682 |
EFI_HII_TIME time; |
685 |
EFI_HII_DATE date; |
683 |
EFI_HII_DATE date; |
686 |
EFI_STRING_ID string; ///< EFI_IFR_TYPE_STRING, EFI_IFR_TYPE_ACTION |
684 |
EFI_STRING_ID string; ///< EFI_IFR_TYPE_STRING, EFI_IFR_TYPE_ACTION |
687 |
EFI_HII_REF ref; ///< EFI_IFR_TYPE_REF |
685 |
EFI_HII_REF ref; ///< EFI_IFR_TYPE_REF |
688 |
// UINT8 buffer[]; ///< EFI_IFR_TYPE_BUFFER |
686 |
// UINT8 buffer[]; ///< EFI_IFR_TYPE_BUFFER |
689 |
} EFI_IFR_TYPE_VALUE; |
687 |
} EFI_IFR_TYPE_VALUE; |
690 |
|
688 |
|
691 |
// |
689 |
// |
692 |
// IFR Opcodes |
690 |
// IFR Opcodes |
693 |
// |
691 |
// |
694 |
#define EFI_IFR_FORM_OP 0x01 |
692 |
#define EFI_IFR_FORM_OP 0x01 |
695 |
#define EFI_IFR_SUBTITLE_OP 0x02 |
693 |
#define EFI_IFR_SUBTITLE_OP 0x02 |
696 |
#define EFI_IFR_TEXT_OP 0x03 |
694 |
#define EFI_IFR_TEXT_OP 0x03 |
697 |
#define EFI_IFR_IMAGE_OP 0x04 |
695 |
#define EFI_IFR_IMAGE_OP 0x04 |
698 |
#define EFI_IFR_ONE_OF_OP 0x05 |
696 |
#define EFI_IFR_ONE_OF_OP 0x05 |
699 |
#define EFI_IFR_CHECKBOX_OP 0x06 |
697 |
#define EFI_IFR_CHECKBOX_OP 0x06 |
700 |
#define EFI_IFR_NUMERIC_OP 0x07 |
698 |
#define EFI_IFR_NUMERIC_OP 0x07 |
701 |
#define EFI_IFR_PASSWORD_OP 0x08 |
699 |
#define EFI_IFR_PASSWORD_OP 0x08 |
702 |
#define EFI_IFR_ONE_OF_OPTION_OP 0x09 |
700 |
#define EFI_IFR_ONE_OF_OPTION_OP 0x09 |
703 |
#define EFI_IFR_SUPPRESS_IF_OP 0x0A |
701 |
#define EFI_IFR_SUPPRESS_IF_OP 0x0A |
704 |
#define EFI_IFR_LOCKED_OP 0x0B |
702 |
#define EFI_IFR_LOCKED_OP 0x0B |
705 |
#define EFI_IFR_ACTION_OP 0x0C |
703 |
#define EFI_IFR_ACTION_OP 0x0C |
706 |
#define EFI_IFR_RESET_BUTTON_OP 0x0D |
704 |
#define EFI_IFR_RESET_BUTTON_OP 0x0D |
707 |
#define EFI_IFR_FORM_SET_OP 0x0E |
705 |
#define EFI_IFR_FORM_SET_OP 0x0E |
708 |
#define EFI_IFR_REF_OP 0x0F |
706 |
#define EFI_IFR_REF_OP 0x0F |
709 |
#define EFI_IFR_NO_SUBMIT_IF_OP 0x10 |
707 |
#define EFI_IFR_NO_SUBMIT_IF_OP 0x10 |
710 |
#define EFI_IFR_INCONSISTENT_IF_OP 0x11 |
708 |
#define EFI_IFR_INCONSISTENT_IF_OP 0x11 |
711 |
#define EFI_IFR_EQ_ID_VAL_OP 0x12 |
709 |
#define EFI_IFR_EQ_ID_VAL_OP 0x12 |
712 |
#define EFI_IFR_EQ_ID_ID_OP 0x13 |
710 |
#define EFI_IFR_EQ_ID_ID_OP 0x13 |
713 |
#define EFI_IFR_EQ_ID_VAL_LIST_OP 0x14 |
711 |
#define EFI_IFR_EQ_ID_VAL_LIST_OP 0x14 |
714 |
#define EFI_IFR_AND_OP 0x15 |
712 |
#define EFI_IFR_AND_OP 0x15 |
715 |
#define EFI_IFR_OR_OP 0x16 |
713 |
#define EFI_IFR_OR_OP 0x16 |
716 |
#define EFI_IFR_NOT_OP 0x17 |
714 |
#define EFI_IFR_NOT_OP 0x17 |
717 |
#define EFI_IFR_RULE_OP 0x18 |
715 |
#define EFI_IFR_RULE_OP 0x18 |
718 |
#define EFI_IFR_GRAY_OUT_IF_OP 0x19 |
716 |
#define EFI_IFR_GRAY_OUT_IF_OP 0x19 |
719 |
#define EFI_IFR_DATE_OP 0x1A |
717 |
#define EFI_IFR_DATE_OP 0x1A |
720 |
#define EFI_IFR_TIME_OP 0x1B |
718 |
#define EFI_IFR_TIME_OP 0x1B |
721 |
#define EFI_IFR_STRING_OP 0x1C |
719 |
#define EFI_IFR_STRING_OP 0x1C |
722 |
#define EFI_IFR_REFRESH_OP 0x1D |
720 |
#define EFI_IFR_REFRESH_OP 0x1D |
723 |
#define EFI_IFR_DISABLE_IF_OP 0x1E |
721 |
#define EFI_IFR_DISABLE_IF_OP 0x1E |
724 |
#define EFI_IFR_ANIMATION_OP 0x1F |
722 |
#define EFI_IFR_ANIMATION_OP 0x1F |
725 |
#define EFI_IFR_TO_LOWER_OP 0x20 |
723 |
#define EFI_IFR_TO_LOWER_OP 0x20 |
726 |
#define EFI_IFR_TO_UPPER_OP 0x21 |
724 |
#define EFI_IFR_TO_UPPER_OP 0x21 |
727 |
#define EFI_IFR_MAP_OP 0x22 |
725 |
#define EFI_IFR_MAP_OP 0x22 |
728 |
#define EFI_IFR_ORDERED_LIST_OP 0x23 |
726 |
#define EFI_IFR_ORDERED_LIST_OP 0x23 |
729 |
#define EFI_IFR_VARSTORE_OP 0x24 |
727 |
#define EFI_IFR_VARSTORE_OP 0x24 |
730 |
#define EFI_IFR_VARSTORE_NAME_VALUE_OP 0x25 |
728 |
#define EFI_IFR_VARSTORE_NAME_VALUE_OP 0x25 |
731 |
#define EFI_IFR_VARSTORE_EFI_OP 0x26 |
729 |
#define EFI_IFR_VARSTORE_EFI_OP 0x26 |
732 |
#define EFI_IFR_VARSTORE_DEVICE_OP 0x27 |
730 |
#define EFI_IFR_VARSTORE_DEVICE_OP 0x27 |
733 |
#define EFI_IFR_VERSION_OP 0x28 |
731 |
#define EFI_IFR_VERSION_OP 0x28 |
734 |
#define EFI_IFR_END_OP 0x29 |
732 |
#define EFI_IFR_END_OP 0x29 |
735 |
#define EFI_IFR_MATCH_OP 0x2A |
733 |
#define EFI_IFR_MATCH_OP 0x2A |
736 |
#define EFI_IFR_GET_OP 0x2B |
734 |
#define EFI_IFR_GET_OP 0x2B |
737 |
#define EFI_IFR_SET_OP 0x2C |
735 |
#define EFI_IFR_SET_OP 0x2C |
738 |
#define EFI_IFR_READ_OP 0x2D |
736 |
#define EFI_IFR_READ_OP 0x2D |
739 |
#define EFI_IFR_WRITE_OP 0x2E |
737 |
#define EFI_IFR_WRITE_OP 0x2E |
740 |
#define EFI_IFR_EQUAL_OP 0x2F |
738 |
#define EFI_IFR_EQUAL_OP 0x2F |
741 |
#define EFI_IFR_NOT_EQUAL_OP 0x30 |
739 |
#define EFI_IFR_NOT_EQUAL_OP 0x30 |
742 |
#define EFI_IFR_GREATER_THAN_OP 0x31 |
740 |
#define EFI_IFR_GREATER_THAN_OP 0x31 |
743 |
#define EFI_IFR_GREATER_EQUAL_OP 0x32 |
741 |
#define EFI_IFR_GREATER_EQUAL_OP 0x32 |
744 |
#define EFI_IFR_LESS_THAN_OP 0x33 |
742 |
#define EFI_IFR_LESS_THAN_OP 0x33 |
745 |
#define EFI_IFR_LESS_EQUAL_OP 0x34 |
743 |
#define EFI_IFR_LESS_EQUAL_OP 0x34 |
746 |
#define EFI_IFR_BITWISE_AND_OP 0x35 |
744 |
#define EFI_IFR_BITWISE_AND_OP 0x35 |
747 |
#define EFI_IFR_BITWISE_OR_OP 0x36 |
745 |
#define EFI_IFR_BITWISE_OR_OP 0x36 |
748 |
#define EFI_IFR_BITWISE_NOT_OP 0x37 |
746 |
#define EFI_IFR_BITWISE_NOT_OP 0x37 |
749 |
#define EFI_IFR_SHIFT_LEFT_OP 0x38 |
747 |
#define EFI_IFR_SHIFT_LEFT_OP 0x38 |
750 |
#define EFI_IFR_SHIFT_RIGHT_OP 0x39 |
748 |
#define EFI_IFR_SHIFT_RIGHT_OP 0x39 |
751 |
#define EFI_IFR_ADD_OP 0x3A |
749 |
#define EFI_IFR_ADD_OP 0x3A |
752 |
#define EFI_IFR_SUBTRACT_OP 0x3B |
750 |
#define EFI_IFR_SUBTRACT_OP 0x3B |
753 |
#define EFI_IFR_MULTIPLY_OP 0x3C |
751 |
#define EFI_IFR_MULTIPLY_OP 0x3C |
754 |
#define EFI_IFR_DIVIDE_OP 0x3D |
752 |
#define EFI_IFR_DIVIDE_OP 0x3D |
755 |
#define EFI_IFR_MODULO_OP 0x3E |
753 |
#define EFI_IFR_MODULO_OP 0x3E |
756 |
#define EFI_IFR_RULE_REF_OP 0x3F |
754 |
#define EFI_IFR_RULE_REF_OP 0x3F |
757 |
#define EFI_IFR_QUESTION_REF1_OP 0x40 |
755 |
#define EFI_IFR_QUESTION_REF1_OP 0x40 |
758 |
#define EFI_IFR_QUESTION_REF2_OP 0x41 |
756 |
#define EFI_IFR_QUESTION_REF2_OP 0x41 |
759 |
#define EFI_IFR_UINT8_OP 0x42 |
757 |
#define EFI_IFR_UINT8_OP 0x42 |
760 |
#define EFI_IFR_UINT16_OP 0x43 |
758 |
#define EFI_IFR_UINT16_OP 0x43 |
761 |
#define EFI_IFR_UINT32_OP 0x44 |
759 |
#define EFI_IFR_UINT32_OP 0x44 |
762 |
#define EFI_IFR_UINT64_OP 0x45 |
760 |
#define EFI_IFR_UINT64_OP 0x45 |
763 |
#define EFI_IFR_TRUE_OP 0x46 |
761 |
#define EFI_IFR_TRUE_OP 0x46 |
764 |
#define EFI_IFR_FALSE_OP 0x47 |
762 |
#define EFI_IFR_FALSE_OP 0x47 |
765 |
#define EFI_IFR_TO_UINT_OP 0x48 |
763 |
#define EFI_IFR_TO_UINT_OP 0x48 |
766 |
#define EFI_IFR_TO_STRING_OP 0x49 |
764 |
#define EFI_IFR_TO_STRING_OP 0x49 |
767 |
#define EFI_IFR_TO_BOOLEAN_OP 0x4A |
765 |
#define EFI_IFR_TO_BOOLEAN_OP 0x4A |
768 |
#define EFI_IFR_MID_OP 0x4B |
766 |
#define EFI_IFR_MID_OP 0x4B |
769 |
#define EFI_IFR_FIND_OP 0x4C |
767 |
#define EFI_IFR_FIND_OP 0x4C |
770 |
#define EFI_IFR_TOKEN_OP 0x4D |
768 |
#define EFI_IFR_TOKEN_OP 0x4D |
771 |
#define EFI_IFR_STRING_REF1_OP 0x4E |
769 |
#define EFI_IFR_STRING_REF1_OP 0x4E |
772 |
#define EFI_IFR_STRING_REF2_OP 0x4F |
770 |
#define EFI_IFR_STRING_REF2_OP 0x4F |
773 |
#define EFI_IFR_CONDITIONAL_OP 0x50 |
771 |
#define EFI_IFR_CONDITIONAL_OP 0x50 |
774 |
#define EFI_IFR_QUESTION_REF3_OP 0x51 |
772 |
#define EFI_IFR_QUESTION_REF3_OP 0x51 |
775 |
#define EFI_IFR_ZERO_OP 0x52 |
773 |
#define EFI_IFR_ZERO_OP 0x52 |
776 |
#define EFI_IFR_ONE_OP 0x53 |
774 |
#define EFI_IFR_ONE_OP 0x53 |
777 |
#define EFI_IFR_ONES_OP 0x54 |
775 |
#define EFI_IFR_ONES_OP 0x54 |
778 |
#define EFI_IFR_UNDEFINED_OP 0x55 |
776 |
#define EFI_IFR_UNDEFINED_OP 0x55 |
779 |
#define EFI_IFR_LENGTH_OP 0x56 |
777 |
#define EFI_IFR_LENGTH_OP 0x56 |
780 |
#define EFI_IFR_DUP_OP 0x57 |
778 |
#define EFI_IFR_DUP_OP 0x57 |
781 |
#define EFI_IFR_THIS_OP 0x58 |
779 |
#define EFI_IFR_THIS_OP 0x58 |
782 |
#define EFI_IFR_SPAN_OP 0x59 |
780 |
#define EFI_IFR_SPAN_OP 0x59 |
783 |
#define EFI_IFR_VALUE_OP 0x5A |
781 |
#define EFI_IFR_VALUE_OP 0x5A |
784 |
#define EFI_IFR_DEFAULT_OP 0x5B |
782 |
#define EFI_IFR_DEFAULT_OP 0x5B |
785 |
#define EFI_IFR_DEFAULTSTORE_OP 0x5C |
783 |
#define EFI_IFR_DEFAULTSTORE_OP 0x5C |
786 |
#define EFI_IFR_FORM_MAP_OP 0x5D |
784 |
#define EFI_IFR_FORM_MAP_OP 0x5D |
787 |
#define EFI_IFR_CATENATE_OP 0x5E |
785 |
#define EFI_IFR_CATENATE_OP 0x5E |
788 |
#define EFI_IFR_GUID_OP 0x5F |
786 |
#define EFI_IFR_GUID_OP 0x5F |
789 |
#define EFI_IFR_SECURITY_OP 0x60 |
787 |
#define EFI_IFR_SECURITY_OP 0x60 |
790 |
#define EFI_IFR_MODAL_TAG_OP 0x61 |
788 |
#define EFI_IFR_MODAL_TAG_OP 0x61 |
791 |
#define EFI_IFR_REFRESH_ID_OP 0x62 |
789 |
#define EFI_IFR_REFRESH_ID_OP 0x62 |
792 |
#define EFI_IFR_WARNING_IF_OP 0x63 |
790 |
#define EFI_IFR_WARNING_IF_OP 0x63 |
793 |
#define EFI_IFR_MATCH2_OP 0x64 |
791 |
#define EFI_IFR_MATCH2_OP 0x64 |
794 |
|
792 |
|
795 |
// |
793 |
// |
796 |
// Definitions of IFR Standard Headers |
794 |
// Definitions of IFR Standard Headers |
Lines 798-1327
typedef union {
Link Here
|
798 |
// |
796 |
// |
799 |
|
797 |
|
800 |
typedef struct _EFI_IFR_OP_HEADER { |
798 |
typedef struct _EFI_IFR_OP_HEADER { |
801 |
UINT8 OpCode; |
799 |
UINT8 OpCode; |
802 |
UINT8 Length:7; |
800 |
UINT8 Length : 7; |
803 |
UINT8 Scope:1; |
801 |
UINT8 Scope : 1; |
804 |
} EFI_IFR_OP_HEADER; |
802 |
} EFI_IFR_OP_HEADER; |
805 |
|
803 |
|
806 |
typedef struct _EFI_IFR_STATEMENT_HEADER { |
804 |
typedef struct _EFI_IFR_STATEMENT_HEADER { |
807 |
EFI_STRING_ID Prompt; |
805 |
EFI_STRING_ID Prompt; |
808 |
EFI_STRING_ID Help; |
806 |
EFI_STRING_ID Help; |
809 |
} EFI_IFR_STATEMENT_HEADER; |
807 |
} EFI_IFR_STATEMENT_HEADER; |
810 |
|
808 |
|
811 |
typedef struct _EFI_IFR_QUESTION_HEADER { |
809 |
typedef struct _EFI_IFR_QUESTION_HEADER { |
812 |
EFI_IFR_STATEMENT_HEADER Header; |
810 |
EFI_IFR_STATEMENT_HEADER Header; |
813 |
EFI_QUESTION_ID QuestionId; |
811 |
EFI_QUESTION_ID QuestionId; |
814 |
EFI_VARSTORE_ID VarStoreId; |
812 |
EFI_VARSTORE_ID VarStoreId; |
815 |
union { |
813 |
union { |
816 |
EFI_STRING_ID VarName; |
814 |
EFI_STRING_ID VarName; |
817 |
UINT16 VarOffset; |
815 |
UINT16 VarOffset; |
818 |
} VarStoreInfo; |
816 |
} VarStoreInfo; |
819 |
UINT8 Flags; |
817 |
UINT8 Flags; |
820 |
} EFI_IFR_QUESTION_HEADER; |
818 |
} EFI_IFR_QUESTION_HEADER; |
821 |
|
819 |
|
822 |
// |
820 |
// |
823 |
// Flag values of EFI_IFR_QUESTION_HEADER |
821 |
// Flag values of EFI_IFR_QUESTION_HEADER |
824 |
// |
822 |
// |
825 |
#define EFI_IFR_FLAG_READ_ONLY 0x01 |
823 |
#define EFI_IFR_FLAG_READ_ONLY 0x01 |
826 |
#define EFI_IFR_FLAG_CALLBACK 0x04 |
824 |
#define EFI_IFR_FLAG_CALLBACK 0x04 |
827 |
#define EFI_IFR_FLAG_RESET_REQUIRED 0x10 |
825 |
#define EFI_IFR_FLAG_RESET_REQUIRED 0x10 |
828 |
#define EFI_IFR_FLAG_REST_STYLE 0x20 |
826 |
#define EFI_IFR_FLAG_REST_STYLE 0x20 |
829 |
#define EFI_IFR_FLAG_RECONNECT_REQUIRED 0x40 |
827 |
#define EFI_IFR_FLAG_RECONNECT_REQUIRED 0x40 |
830 |
#define EFI_IFR_FLAG_OPTIONS_ONLY 0x80 |
828 |
#define EFI_IFR_FLAG_OPTIONS_ONLY 0x80 |
831 |
|
829 |
|
832 |
// |
830 |
// |
833 |
// Definition for Opcode Reference |
831 |
// Definition for Opcode Reference |
834 |
// Section 27.3.8.3 |
832 |
// Section 27.3.8.3 |
835 |
// |
833 |
// |
836 |
typedef struct _EFI_IFR_DEFAULTSTORE { |
834 |
typedef struct _EFI_IFR_DEFAULTSTORE { |
837 |
EFI_IFR_OP_HEADER Header; |
835 |
EFI_IFR_OP_HEADER Header; |
838 |
EFI_STRING_ID DefaultName; |
836 |
EFI_STRING_ID DefaultName; |
839 |
UINT16 DefaultId; |
837 |
UINT16 DefaultId; |
840 |
} EFI_IFR_DEFAULTSTORE; |
838 |
} EFI_IFR_DEFAULTSTORE; |
841 |
|
839 |
|
842 |
// |
840 |
// |
843 |
// Default Identifier of default store |
841 |
// Default Identifier of default store |
844 |
// |
842 |
// |
845 |
#define EFI_HII_DEFAULT_CLASS_STANDARD 0x0000 |
843 |
#define EFI_HII_DEFAULT_CLASS_STANDARD 0x0000 |
846 |
#define EFI_HII_DEFAULT_CLASS_MANUFACTURING 0x0001 |
844 |
#define EFI_HII_DEFAULT_CLASS_MANUFACTURING 0x0001 |
847 |
#define EFI_HII_DEFAULT_CLASS_SAFE 0x0002 |
845 |
#define EFI_HII_DEFAULT_CLASS_SAFE 0x0002 |
848 |
#define EFI_HII_DEFAULT_CLASS_PLATFORM_BEGIN 0x4000 |
846 |
#define EFI_HII_DEFAULT_CLASS_PLATFORM_BEGIN 0x4000 |
849 |
#define EFI_HII_DEFAULT_CLASS_PLATFORM_END 0x7fff |
847 |
#define EFI_HII_DEFAULT_CLASS_PLATFORM_END 0x7fff |
850 |
#define EFI_HII_DEFAULT_CLASS_HARDWARE_BEGIN 0x8000 |
848 |
#define EFI_HII_DEFAULT_CLASS_HARDWARE_BEGIN 0x8000 |
851 |
#define EFI_HII_DEFAULT_CLASS_HARDWARE_END 0xbfff |
849 |
#define EFI_HII_DEFAULT_CLASS_HARDWARE_END 0xbfff |
852 |
#define EFI_HII_DEFAULT_CLASS_FIRMWARE_BEGIN 0xc000 |
850 |
#define EFI_HII_DEFAULT_CLASS_FIRMWARE_BEGIN 0xc000 |
853 |
#define EFI_HII_DEFAULT_CLASS_FIRMWARE_END 0xffff |
851 |
#define EFI_HII_DEFAULT_CLASS_FIRMWARE_END 0xffff |
854 |
|
852 |
|
855 |
typedef struct _EFI_IFR_VARSTORE { |
853 |
typedef struct _EFI_IFR_VARSTORE { |
856 |
EFI_IFR_OP_HEADER Header; |
854 |
EFI_IFR_OP_HEADER Header; |
857 |
EFI_GUID Guid; |
855 |
EFI_GUID Guid; |
858 |
EFI_VARSTORE_ID VarStoreId; |
856 |
EFI_VARSTORE_ID VarStoreId; |
859 |
UINT16 Size; |
857 |
UINT16 Size; |
860 |
UINT8 Name[1]; |
858 |
UINT8 Name[1]; |
861 |
} EFI_IFR_VARSTORE; |
859 |
} EFI_IFR_VARSTORE; |
862 |
|
860 |
|
863 |
typedef struct _EFI_IFR_VARSTORE_EFI { |
861 |
typedef struct _EFI_IFR_VARSTORE_EFI { |
864 |
EFI_IFR_OP_HEADER Header; |
862 |
EFI_IFR_OP_HEADER Header; |
865 |
EFI_VARSTORE_ID VarStoreId; |
863 |
EFI_VARSTORE_ID VarStoreId; |
866 |
EFI_GUID Guid; |
864 |
EFI_GUID Guid; |
867 |
UINT32 Attributes; |
865 |
UINT32 Attributes; |
868 |
UINT16 Size; |
866 |
UINT16 Size; |
869 |
UINT8 Name[1]; |
867 |
UINT8 Name[1]; |
870 |
} EFI_IFR_VARSTORE_EFI; |
868 |
} EFI_IFR_VARSTORE_EFI; |
871 |
|
869 |
|
872 |
typedef struct _EFI_IFR_VARSTORE_NAME_VALUE { |
870 |
typedef struct _EFI_IFR_VARSTORE_NAME_VALUE { |
873 |
EFI_IFR_OP_HEADER Header; |
871 |
EFI_IFR_OP_HEADER Header; |
874 |
EFI_VARSTORE_ID VarStoreId; |
872 |
EFI_VARSTORE_ID VarStoreId; |
875 |
EFI_GUID Guid; |
873 |
EFI_GUID Guid; |
876 |
} EFI_IFR_VARSTORE_NAME_VALUE; |
874 |
} EFI_IFR_VARSTORE_NAME_VALUE; |
877 |
|
875 |
|
878 |
typedef struct _EFI_IFR_FORM_SET { |
876 |
typedef struct _EFI_IFR_FORM_SET { |
879 |
EFI_IFR_OP_HEADER Header; |
877 |
EFI_IFR_OP_HEADER Header; |
880 |
EFI_GUID Guid; |
878 |
EFI_GUID Guid; |
881 |
EFI_STRING_ID FormSetTitle; |
879 |
EFI_STRING_ID FormSetTitle; |
882 |
EFI_STRING_ID Help; |
880 |
EFI_STRING_ID Help; |
883 |
UINT8 Flags; |
881 |
UINT8 Flags; |
884 |
// EFI_GUID ClassGuid[]; |
882 |
// EFI_GUID ClassGuid[]; |
885 |
} EFI_IFR_FORM_SET; |
883 |
} EFI_IFR_FORM_SET; |
886 |
|
884 |
|
887 |
typedef struct _EFI_IFR_END { |
885 |
typedef struct _EFI_IFR_END { |
888 |
EFI_IFR_OP_HEADER Header; |
886 |
EFI_IFR_OP_HEADER Header; |
889 |
} EFI_IFR_END; |
887 |
} EFI_IFR_END; |
890 |
|
888 |
|
891 |
typedef struct _EFI_IFR_FORM { |
889 |
typedef struct _EFI_IFR_FORM { |
892 |
EFI_IFR_OP_HEADER Header; |
890 |
EFI_IFR_OP_HEADER Header; |
893 |
UINT16 FormId; |
891 |
UINT16 FormId; |
894 |
EFI_STRING_ID FormTitle; |
892 |
EFI_STRING_ID FormTitle; |
895 |
} EFI_IFR_FORM; |
893 |
} EFI_IFR_FORM; |
896 |
|
894 |
|
897 |
typedef struct _EFI_IFR_IMAGE { |
895 |
typedef struct _EFI_IFR_IMAGE { |
898 |
EFI_IFR_OP_HEADER Header; |
896 |
EFI_IFR_OP_HEADER Header; |
899 |
EFI_IMAGE_ID Id; |
897 |
EFI_IMAGE_ID Id; |
900 |
} EFI_IFR_IMAGE; |
898 |
} EFI_IFR_IMAGE; |
901 |
|
899 |
|
902 |
typedef struct _EFI_IFR_MODAL_TAG { |
900 |
typedef struct _EFI_IFR_MODAL_TAG { |
903 |
EFI_IFR_OP_HEADER Header; |
901 |
EFI_IFR_OP_HEADER Header; |
904 |
} EFI_IFR_MODAL_TAG; |
902 |
} EFI_IFR_MODAL_TAG; |
905 |
|
903 |
|
906 |
typedef struct _EFI_IFR_LOCKED { |
904 |
typedef struct _EFI_IFR_LOCKED { |
907 |
EFI_IFR_OP_HEADER Header; |
905 |
EFI_IFR_OP_HEADER Header; |
908 |
} EFI_IFR_LOCKED; |
906 |
} EFI_IFR_LOCKED; |
909 |
|
907 |
|
910 |
typedef struct _EFI_IFR_RULE { |
908 |
typedef struct _EFI_IFR_RULE { |
911 |
EFI_IFR_OP_HEADER Header; |
909 |
EFI_IFR_OP_HEADER Header; |
912 |
UINT8 RuleId; |
910 |
UINT8 RuleId; |
913 |
} EFI_IFR_RULE; |
911 |
} EFI_IFR_RULE; |
914 |
|
912 |
|
915 |
typedef struct _EFI_IFR_DEFAULT { |
913 |
typedef struct _EFI_IFR_DEFAULT { |
916 |
EFI_IFR_OP_HEADER Header; |
914 |
EFI_IFR_OP_HEADER Header; |
917 |
UINT16 DefaultId; |
915 |
UINT16 DefaultId; |
918 |
UINT8 Type; |
916 |
UINT8 Type; |
919 |
EFI_IFR_TYPE_VALUE Value; |
917 |
EFI_IFR_TYPE_VALUE Value; |
920 |
} EFI_IFR_DEFAULT; |
918 |
} EFI_IFR_DEFAULT; |
921 |
|
919 |
|
922 |
typedef struct _EFI_IFR_DEFAULT_2 { |
920 |
typedef struct _EFI_IFR_DEFAULT_2 { |
923 |
EFI_IFR_OP_HEADER Header; |
921 |
EFI_IFR_OP_HEADER Header; |
924 |
UINT16 DefaultId; |
922 |
UINT16 DefaultId; |
925 |
UINT8 Type; |
923 |
UINT8 Type; |
926 |
} EFI_IFR_DEFAULT_2; |
924 |
} EFI_IFR_DEFAULT_2; |
927 |
|
925 |
|
928 |
typedef struct _EFI_IFR_VALUE { |
926 |
typedef struct _EFI_IFR_VALUE { |
929 |
EFI_IFR_OP_HEADER Header; |
927 |
EFI_IFR_OP_HEADER Header; |
930 |
} EFI_IFR_VALUE; |
928 |
} EFI_IFR_VALUE; |
931 |
|
929 |
|
932 |
typedef struct _EFI_IFR_SUBTITLE { |
930 |
typedef struct _EFI_IFR_SUBTITLE { |
933 |
EFI_IFR_OP_HEADER Header; |
931 |
EFI_IFR_OP_HEADER Header; |
934 |
EFI_IFR_STATEMENT_HEADER Statement; |
932 |
EFI_IFR_STATEMENT_HEADER Statement; |
935 |
UINT8 Flags; |
933 |
UINT8 Flags; |
936 |
} EFI_IFR_SUBTITLE; |
934 |
} EFI_IFR_SUBTITLE; |
937 |
|
935 |
|
938 |
#define EFI_IFR_FLAGS_HORIZONTAL 0x01 |
936 |
#define EFI_IFR_FLAGS_HORIZONTAL 0x01 |
939 |
|
937 |
|
940 |
typedef struct _EFI_IFR_CHECKBOX { |
938 |
typedef struct _EFI_IFR_CHECKBOX { |
941 |
EFI_IFR_OP_HEADER Header; |
939 |
EFI_IFR_OP_HEADER Header; |
942 |
EFI_IFR_QUESTION_HEADER Question; |
940 |
EFI_IFR_QUESTION_HEADER Question; |
943 |
UINT8 Flags; |
941 |
UINT8 Flags; |
944 |
} EFI_IFR_CHECKBOX; |
942 |
} EFI_IFR_CHECKBOX; |
945 |
|
943 |
|
946 |
#define EFI_IFR_CHECKBOX_DEFAULT 0x01 |
944 |
#define EFI_IFR_CHECKBOX_DEFAULT 0x01 |
947 |
#define EFI_IFR_CHECKBOX_DEFAULT_MFG 0x02 |
945 |
#define EFI_IFR_CHECKBOX_DEFAULT_MFG 0x02 |
948 |
|
946 |
|
949 |
typedef struct _EFI_IFR_TEXT { |
947 |
typedef struct _EFI_IFR_TEXT { |
950 |
EFI_IFR_OP_HEADER Header; |
948 |
EFI_IFR_OP_HEADER Header; |
951 |
EFI_IFR_STATEMENT_HEADER Statement; |
949 |
EFI_IFR_STATEMENT_HEADER Statement; |
952 |
EFI_STRING_ID TextTwo; |
950 |
EFI_STRING_ID TextTwo; |
953 |
} EFI_IFR_TEXT; |
951 |
} EFI_IFR_TEXT; |
954 |
|
952 |
|
955 |
typedef struct _EFI_IFR_REF { |
953 |
typedef struct _EFI_IFR_REF { |
956 |
EFI_IFR_OP_HEADER Header; |
954 |
EFI_IFR_OP_HEADER Header; |
957 |
EFI_IFR_QUESTION_HEADER Question; |
955 |
EFI_IFR_QUESTION_HEADER Question; |
958 |
EFI_FORM_ID FormId; |
956 |
EFI_FORM_ID FormId; |
959 |
} EFI_IFR_REF; |
957 |
} EFI_IFR_REF; |
960 |
|
958 |
|
961 |
typedef struct _EFI_IFR_REF2 { |
959 |
typedef struct _EFI_IFR_REF2 { |
962 |
EFI_IFR_OP_HEADER Header; |
960 |
EFI_IFR_OP_HEADER Header; |
963 |
EFI_IFR_QUESTION_HEADER Question; |
961 |
EFI_IFR_QUESTION_HEADER Question; |
964 |
EFI_FORM_ID FormId; |
962 |
EFI_FORM_ID FormId; |
965 |
EFI_QUESTION_ID QuestionId; |
963 |
EFI_QUESTION_ID QuestionId; |
966 |
} EFI_IFR_REF2; |
964 |
} EFI_IFR_REF2; |
967 |
|
965 |
|
968 |
typedef struct _EFI_IFR_REF3 { |
966 |
typedef struct _EFI_IFR_REF3 { |
969 |
EFI_IFR_OP_HEADER Header; |
967 |
EFI_IFR_OP_HEADER Header; |
970 |
EFI_IFR_QUESTION_HEADER Question; |
968 |
EFI_IFR_QUESTION_HEADER Question; |
971 |
EFI_FORM_ID FormId; |
969 |
EFI_FORM_ID FormId; |
972 |
EFI_QUESTION_ID QuestionId; |
970 |
EFI_QUESTION_ID QuestionId; |
973 |
EFI_GUID FormSetId; |
971 |
EFI_GUID FormSetId; |
974 |
} EFI_IFR_REF3; |
972 |
} EFI_IFR_REF3; |
975 |
|
973 |
|
976 |
typedef struct _EFI_IFR_REF4 { |
974 |
typedef struct _EFI_IFR_REF4 { |
977 |
EFI_IFR_OP_HEADER Header; |
975 |
EFI_IFR_OP_HEADER Header; |
978 |
EFI_IFR_QUESTION_HEADER Question; |
976 |
EFI_IFR_QUESTION_HEADER Question; |
979 |
EFI_FORM_ID FormId; |
977 |
EFI_FORM_ID FormId; |
980 |
EFI_QUESTION_ID QuestionId; |
978 |
EFI_QUESTION_ID QuestionId; |
981 |
EFI_GUID FormSetId; |
979 |
EFI_GUID FormSetId; |
982 |
EFI_STRING_ID DevicePath; |
980 |
EFI_STRING_ID DevicePath; |
983 |
} EFI_IFR_REF4; |
981 |
} EFI_IFR_REF4; |
984 |
|
982 |
|
985 |
typedef struct _EFI_IFR_REF5 { |
983 |
typedef struct _EFI_IFR_REF5 { |
986 |
EFI_IFR_OP_HEADER Header; |
984 |
EFI_IFR_OP_HEADER Header; |
987 |
EFI_IFR_QUESTION_HEADER Question; |
985 |
EFI_IFR_QUESTION_HEADER Question; |
988 |
} EFI_IFR_REF5; |
986 |
} EFI_IFR_REF5; |
989 |
|
987 |
|
990 |
typedef struct _EFI_IFR_RESET_BUTTON { |
988 |
typedef struct _EFI_IFR_RESET_BUTTON { |
991 |
EFI_IFR_OP_HEADER Header; |
989 |
EFI_IFR_OP_HEADER Header; |
992 |
EFI_IFR_STATEMENT_HEADER Statement; |
990 |
EFI_IFR_STATEMENT_HEADER Statement; |
993 |
EFI_DEFAULT_ID DefaultId; |
991 |
EFI_DEFAULT_ID DefaultId; |
994 |
} EFI_IFR_RESET_BUTTON; |
992 |
} EFI_IFR_RESET_BUTTON; |
995 |
|
993 |
|
996 |
typedef struct _EFI_IFR_ACTION { |
994 |
typedef struct _EFI_IFR_ACTION { |
997 |
EFI_IFR_OP_HEADER Header; |
995 |
EFI_IFR_OP_HEADER Header; |
998 |
EFI_IFR_QUESTION_HEADER Question; |
996 |
EFI_IFR_QUESTION_HEADER Question; |
999 |
EFI_STRING_ID QuestionConfig; |
997 |
EFI_STRING_ID QuestionConfig; |
1000 |
} EFI_IFR_ACTION; |
998 |
} EFI_IFR_ACTION; |
1001 |
|
999 |
|
1002 |
typedef struct _EFI_IFR_ACTION_1 { |
1000 |
typedef struct _EFI_IFR_ACTION_1 { |
1003 |
EFI_IFR_OP_HEADER Header; |
1001 |
EFI_IFR_OP_HEADER Header; |
1004 |
EFI_IFR_QUESTION_HEADER Question; |
1002 |
EFI_IFR_QUESTION_HEADER Question; |
1005 |
} EFI_IFR_ACTION_1; |
1003 |
} EFI_IFR_ACTION_1; |
1006 |
|
1004 |
|
1007 |
typedef struct _EFI_IFR_DATE { |
1005 |
typedef struct _EFI_IFR_DATE { |
1008 |
EFI_IFR_OP_HEADER Header; |
1006 |
EFI_IFR_OP_HEADER Header; |
1009 |
EFI_IFR_QUESTION_HEADER Question; |
1007 |
EFI_IFR_QUESTION_HEADER Question; |
1010 |
UINT8 Flags; |
1008 |
UINT8 Flags; |
1011 |
} EFI_IFR_DATE; |
1009 |
} EFI_IFR_DATE; |
1012 |
|
1010 |
|
1013 |
// |
1011 |
// |
1014 |
// Flags that describe the behavior of the question. |
1012 |
// Flags that describe the behavior of the question. |
1015 |
// |
1013 |
// |
1016 |
#define EFI_QF_DATE_YEAR_SUPPRESS 0x01 |
1014 |
#define EFI_QF_DATE_YEAR_SUPPRESS 0x01 |
1017 |
#define EFI_QF_DATE_MONTH_SUPPRESS 0x02 |
1015 |
#define EFI_QF_DATE_MONTH_SUPPRESS 0x02 |
1018 |
#define EFI_QF_DATE_DAY_SUPPRESS 0x04 |
1016 |
#define EFI_QF_DATE_DAY_SUPPRESS 0x04 |
1019 |
|
1017 |
|
1020 |
#define EFI_QF_DATE_STORAGE 0x30 |
1018 |
#define EFI_QF_DATE_STORAGE 0x30 |
1021 |
#define QF_DATE_STORAGE_NORMAL 0x00 |
1019 |
#define QF_DATE_STORAGE_NORMAL 0x00 |
1022 |
#define QF_DATE_STORAGE_TIME 0x10 |
1020 |
#define QF_DATE_STORAGE_TIME 0x10 |
1023 |
#define QF_DATE_STORAGE_WAKEUP 0x20 |
1021 |
#define QF_DATE_STORAGE_WAKEUP 0x20 |
1024 |
|
1022 |
|
1025 |
typedef union { |
1023 |
typedef union { |
1026 |
struct { |
1024 |
struct { |
1027 |
UINT8 MinValue; |
1025 |
UINT8 MinValue; |
1028 |
UINT8 MaxValue; |
1026 |
UINT8 MaxValue; |
1029 |
UINT8 Step; |
1027 |
UINT8 Step; |
1030 |
} u8; |
1028 |
} u8; |
1031 |
struct { |
1029 |
struct { |
1032 |
UINT16 MinValue; |
1030 |
UINT16 MinValue; |
1033 |
UINT16 MaxValue; |
1031 |
UINT16 MaxValue; |
1034 |
UINT16 Step; |
1032 |
UINT16 Step; |
1035 |
} u16; |
1033 |
} u16; |
1036 |
struct { |
1034 |
struct { |
1037 |
UINT32 MinValue; |
1035 |
UINT32 MinValue; |
1038 |
UINT32 MaxValue; |
1036 |
UINT32 MaxValue; |
1039 |
UINT32 Step; |
1037 |
UINT32 Step; |
1040 |
} u32; |
1038 |
} u32; |
1041 |
struct { |
1039 |
struct { |
1042 |
UINT64 MinValue; |
1040 |
UINT64 MinValue; |
1043 |
UINT64 MaxValue; |
1041 |
UINT64 MaxValue; |
1044 |
UINT64 Step; |
1042 |
UINT64 Step; |
1045 |
} u64; |
1043 |
} u64; |
1046 |
} MINMAXSTEP_DATA; |
1044 |
} MINMAXSTEP_DATA; |
1047 |
|
1045 |
|
1048 |
typedef struct _EFI_IFR_NUMERIC { |
1046 |
typedef struct _EFI_IFR_NUMERIC { |
1049 |
EFI_IFR_OP_HEADER Header; |
1047 |
EFI_IFR_OP_HEADER Header; |
1050 |
EFI_IFR_QUESTION_HEADER Question; |
1048 |
EFI_IFR_QUESTION_HEADER Question; |
1051 |
UINT8 Flags; |
1049 |
UINT8 Flags; |
1052 |
MINMAXSTEP_DATA data; |
1050 |
MINMAXSTEP_DATA data; |
1053 |
} EFI_IFR_NUMERIC; |
1051 |
} EFI_IFR_NUMERIC; |
1054 |
|
1052 |
|
1055 |
// |
1053 |
// |
1056 |
// Flags related to the numeric question |
1054 |
// Flags related to the numeric question |
1057 |
// |
1055 |
// |
1058 |
#define EFI_IFR_NUMERIC_SIZE 0x03 |
1056 |
#define EFI_IFR_NUMERIC_SIZE 0x03 |
1059 |
#define EFI_IFR_NUMERIC_SIZE_1 0x00 |
1057 |
#define EFI_IFR_NUMERIC_SIZE_1 0x00 |
1060 |
#define EFI_IFR_NUMERIC_SIZE_2 0x01 |
1058 |
#define EFI_IFR_NUMERIC_SIZE_2 0x01 |
1061 |
#define EFI_IFR_NUMERIC_SIZE_4 0x02 |
1059 |
#define EFI_IFR_NUMERIC_SIZE_4 0x02 |
1062 |
#define EFI_IFR_NUMERIC_SIZE_8 0x03 |
1060 |
#define EFI_IFR_NUMERIC_SIZE_8 0x03 |
1063 |
|
1061 |
|
1064 |
#define EFI_IFR_DISPLAY 0x30 |
1062 |
#define EFI_IFR_DISPLAY 0x30 |
1065 |
#define EFI_IFR_DISPLAY_INT_DEC 0x00 |
1063 |
#define EFI_IFR_DISPLAY_INT_DEC 0x00 |
1066 |
#define EFI_IFR_DISPLAY_UINT_DEC 0x10 |
1064 |
#define EFI_IFR_DISPLAY_UINT_DEC 0x10 |
1067 |
#define EFI_IFR_DISPLAY_UINT_HEX 0x20 |
1065 |
#define EFI_IFR_DISPLAY_UINT_HEX 0x20 |
1068 |
|
1066 |
|
1069 |
typedef struct _EFI_IFR_ONE_OF { |
1067 |
typedef struct _EFI_IFR_ONE_OF { |
1070 |
EFI_IFR_OP_HEADER Header; |
1068 |
EFI_IFR_OP_HEADER Header; |
1071 |
EFI_IFR_QUESTION_HEADER Question; |
1069 |
EFI_IFR_QUESTION_HEADER Question; |
1072 |
UINT8 Flags; |
1070 |
UINT8 Flags; |
1073 |
MINMAXSTEP_DATA data; |
1071 |
MINMAXSTEP_DATA data; |
1074 |
} EFI_IFR_ONE_OF; |
1072 |
} EFI_IFR_ONE_OF; |
1075 |
|
1073 |
|
1076 |
typedef struct _EFI_IFR_STRING { |
1074 |
typedef struct _EFI_IFR_STRING { |
1077 |
EFI_IFR_OP_HEADER Header; |
1075 |
EFI_IFR_OP_HEADER Header; |
1078 |
EFI_IFR_QUESTION_HEADER Question; |
1076 |
EFI_IFR_QUESTION_HEADER Question; |
1079 |
UINT8 MinSize; |
1077 |
UINT8 MinSize; |
1080 |
UINT8 MaxSize; |
1078 |
UINT8 MaxSize; |
1081 |
UINT8 Flags; |
1079 |
UINT8 Flags; |
1082 |
} EFI_IFR_STRING; |
1080 |
} EFI_IFR_STRING; |
1083 |
|
1081 |
|
1084 |
#define EFI_IFR_STRING_MULTI_LINE 0x01 |
1082 |
#define EFI_IFR_STRING_MULTI_LINE 0x01 |
1085 |
|
1083 |
|
1086 |
typedef struct _EFI_IFR_PASSWORD { |
1084 |
typedef struct _EFI_IFR_PASSWORD { |
1087 |
EFI_IFR_OP_HEADER Header; |
1085 |
EFI_IFR_OP_HEADER Header; |
1088 |
EFI_IFR_QUESTION_HEADER Question; |
1086 |
EFI_IFR_QUESTION_HEADER Question; |
1089 |
UINT16 MinSize; |
1087 |
UINT16 MinSize; |
1090 |
UINT16 MaxSize; |
1088 |
UINT16 MaxSize; |
1091 |
} EFI_IFR_PASSWORD; |
1089 |
} EFI_IFR_PASSWORD; |
1092 |
|
1090 |
|
1093 |
typedef struct _EFI_IFR_ORDERED_LIST { |
1091 |
typedef struct _EFI_IFR_ORDERED_LIST { |
1094 |
EFI_IFR_OP_HEADER Header; |
1092 |
EFI_IFR_OP_HEADER Header; |
1095 |
EFI_IFR_QUESTION_HEADER Question; |
1093 |
EFI_IFR_QUESTION_HEADER Question; |
1096 |
UINT8 MaxContainers; |
1094 |
UINT8 MaxContainers; |
1097 |
UINT8 Flags; |
1095 |
UINT8 Flags; |
1098 |
} EFI_IFR_ORDERED_LIST; |
1096 |
} EFI_IFR_ORDERED_LIST; |
1099 |
|
1097 |
|
1100 |
#define EFI_IFR_UNIQUE_SET 0x01 |
1098 |
#define EFI_IFR_UNIQUE_SET 0x01 |
1101 |
#define EFI_IFR_NO_EMPTY_SET 0x02 |
1099 |
#define EFI_IFR_NO_EMPTY_SET 0x02 |
1102 |
|
1100 |
|
1103 |
typedef struct _EFI_IFR_TIME { |
1101 |
typedef struct _EFI_IFR_TIME { |
1104 |
EFI_IFR_OP_HEADER Header; |
1102 |
EFI_IFR_OP_HEADER Header; |
1105 |
EFI_IFR_QUESTION_HEADER Question; |
1103 |
EFI_IFR_QUESTION_HEADER Question; |
1106 |
UINT8 Flags; |
1104 |
UINT8 Flags; |
1107 |
} EFI_IFR_TIME; |
1105 |
} EFI_IFR_TIME; |
1108 |
|
1106 |
|
1109 |
// |
1107 |
// |
1110 |
// A bit-mask that determines which unique settings are active for this opcode. |
1108 |
// A bit-mask that determines which unique settings are active for this opcode. |
1111 |
// |
1109 |
// |
1112 |
#define QF_TIME_HOUR_SUPPRESS 0x01 |
1110 |
#define QF_TIME_HOUR_SUPPRESS 0x01 |
1113 |
#define QF_TIME_MINUTE_SUPPRESS 0x02 |
1111 |
#define QF_TIME_MINUTE_SUPPRESS 0x02 |
1114 |
#define QF_TIME_SECOND_SUPPRESS 0x04 |
1112 |
#define QF_TIME_SECOND_SUPPRESS 0x04 |
1115 |
|
1113 |
|
1116 |
#define QF_TIME_STORAGE 0x30 |
1114 |
#define QF_TIME_STORAGE 0x30 |
1117 |
#define QF_TIME_STORAGE_NORMAL 0x00 |
1115 |
#define QF_TIME_STORAGE_NORMAL 0x00 |
1118 |
#define QF_TIME_STORAGE_TIME 0x10 |
1116 |
#define QF_TIME_STORAGE_TIME 0x10 |
1119 |
#define QF_TIME_STORAGE_WAKEUP 0x20 |
1117 |
#define QF_TIME_STORAGE_WAKEUP 0x20 |
1120 |
|
1118 |
|
1121 |
typedef struct _EFI_IFR_DISABLE_IF { |
1119 |
typedef struct _EFI_IFR_DISABLE_IF { |
1122 |
EFI_IFR_OP_HEADER Header; |
1120 |
EFI_IFR_OP_HEADER Header; |
1123 |
} EFI_IFR_DISABLE_IF; |
1121 |
} EFI_IFR_DISABLE_IF; |
1124 |
|
1122 |
|
1125 |
typedef struct _EFI_IFR_SUPPRESS_IF { |
1123 |
typedef struct _EFI_IFR_SUPPRESS_IF { |
1126 |
EFI_IFR_OP_HEADER Header; |
1124 |
EFI_IFR_OP_HEADER Header; |
1127 |
} EFI_IFR_SUPPRESS_IF; |
1125 |
} EFI_IFR_SUPPRESS_IF; |
1128 |
|
1126 |
|
1129 |
typedef struct _EFI_IFR_GRAY_OUT_IF { |
1127 |
typedef struct _EFI_IFR_GRAY_OUT_IF { |
1130 |
EFI_IFR_OP_HEADER Header; |
1128 |
EFI_IFR_OP_HEADER Header; |
1131 |
} EFI_IFR_GRAY_OUT_IF; |
1129 |
} EFI_IFR_GRAY_OUT_IF; |
1132 |
|
1130 |
|
1133 |
typedef struct _EFI_IFR_INCONSISTENT_IF { |
1131 |
typedef struct _EFI_IFR_INCONSISTENT_IF { |
1134 |
EFI_IFR_OP_HEADER Header; |
1132 |
EFI_IFR_OP_HEADER Header; |
1135 |
EFI_STRING_ID Error; |
1133 |
EFI_STRING_ID Error; |
1136 |
} EFI_IFR_INCONSISTENT_IF; |
1134 |
} EFI_IFR_INCONSISTENT_IF; |
1137 |
|
1135 |
|
1138 |
typedef struct _EFI_IFR_NO_SUBMIT_IF { |
1136 |
typedef struct _EFI_IFR_NO_SUBMIT_IF { |
1139 |
EFI_IFR_OP_HEADER Header; |
1137 |
EFI_IFR_OP_HEADER Header; |
1140 |
EFI_STRING_ID Error; |
1138 |
EFI_STRING_ID Error; |
1141 |
} EFI_IFR_NO_SUBMIT_IF; |
1139 |
} EFI_IFR_NO_SUBMIT_IF; |
1142 |
|
1140 |
|
1143 |
typedef struct _EFI_IFR_WARNING_IF { |
1141 |
typedef struct _EFI_IFR_WARNING_IF { |
1144 |
EFI_IFR_OP_HEADER Header; |
1142 |
EFI_IFR_OP_HEADER Header; |
1145 |
EFI_STRING_ID Warning; |
1143 |
EFI_STRING_ID Warning; |
1146 |
UINT8 TimeOut; |
1144 |
UINT8 TimeOut; |
1147 |
} EFI_IFR_WARNING_IF; |
1145 |
} EFI_IFR_WARNING_IF; |
1148 |
|
1146 |
|
1149 |
typedef struct _EFI_IFR_REFRESH { |
1147 |
typedef struct _EFI_IFR_REFRESH { |
1150 |
EFI_IFR_OP_HEADER Header; |
1148 |
EFI_IFR_OP_HEADER Header; |
1151 |
UINT8 RefreshInterval; |
1149 |
UINT8 RefreshInterval; |
1152 |
} EFI_IFR_REFRESH; |
1150 |
} EFI_IFR_REFRESH; |
1153 |
|
1151 |
|
1154 |
typedef struct _EFI_IFR_VARSTORE_DEVICE { |
1152 |
typedef struct _EFI_IFR_VARSTORE_DEVICE { |
1155 |
EFI_IFR_OP_HEADER Header; |
1153 |
EFI_IFR_OP_HEADER Header; |
1156 |
EFI_STRING_ID DevicePath; |
1154 |
EFI_STRING_ID DevicePath; |
1157 |
} EFI_IFR_VARSTORE_DEVICE; |
1155 |
} EFI_IFR_VARSTORE_DEVICE; |
1158 |
|
1156 |
|
1159 |
typedef struct _EFI_IFR_ONE_OF_OPTION { |
1157 |
typedef struct _EFI_IFR_ONE_OF_OPTION { |
1160 |
EFI_IFR_OP_HEADER Header; |
1158 |
EFI_IFR_OP_HEADER Header; |
1161 |
EFI_STRING_ID Option; |
1159 |
EFI_STRING_ID Option; |
1162 |
UINT8 Flags; |
1160 |
UINT8 Flags; |
1163 |
UINT8 Type; |
1161 |
UINT8 Type; |
1164 |
EFI_IFR_TYPE_VALUE Value; |
1162 |
EFI_IFR_TYPE_VALUE Value; |
1165 |
} EFI_IFR_ONE_OF_OPTION; |
1163 |
} EFI_IFR_ONE_OF_OPTION; |
1166 |
|
1164 |
|
1167 |
// |
1165 |
// |
1168 |
// Types of the option's value. |
1166 |
// Types of the option's value. |
1169 |
// |
1167 |
// |
1170 |
#define EFI_IFR_TYPE_NUM_SIZE_8 0x00 |
1168 |
#define EFI_IFR_TYPE_NUM_SIZE_8 0x00 |
1171 |
#define EFI_IFR_TYPE_NUM_SIZE_16 0x01 |
1169 |
#define EFI_IFR_TYPE_NUM_SIZE_16 0x01 |
1172 |
#define EFI_IFR_TYPE_NUM_SIZE_32 0x02 |
1170 |
#define EFI_IFR_TYPE_NUM_SIZE_32 0x02 |
1173 |
#define EFI_IFR_TYPE_NUM_SIZE_64 0x03 |
1171 |
#define EFI_IFR_TYPE_NUM_SIZE_64 0x03 |
1174 |
#define EFI_IFR_TYPE_BOOLEAN 0x04 |
1172 |
#define EFI_IFR_TYPE_BOOLEAN 0x04 |
1175 |
#define EFI_IFR_TYPE_TIME 0x05 |
1173 |
#define EFI_IFR_TYPE_TIME 0x05 |
1176 |
#define EFI_IFR_TYPE_DATE 0x06 |
1174 |
#define EFI_IFR_TYPE_DATE 0x06 |
1177 |
#define EFI_IFR_TYPE_STRING 0x07 |
1175 |
#define EFI_IFR_TYPE_STRING 0x07 |
1178 |
#define EFI_IFR_TYPE_OTHER 0x08 |
1176 |
#define EFI_IFR_TYPE_OTHER 0x08 |
1179 |
#define EFI_IFR_TYPE_UNDEFINED 0x09 |
1177 |
#define EFI_IFR_TYPE_UNDEFINED 0x09 |
1180 |
#define EFI_IFR_TYPE_ACTION 0x0A |
1178 |
#define EFI_IFR_TYPE_ACTION 0x0A |
1181 |
#define EFI_IFR_TYPE_BUFFER 0x0B |
1179 |
#define EFI_IFR_TYPE_BUFFER 0x0B |
1182 |
#define EFI_IFR_TYPE_REF 0x0C |
1180 |
#define EFI_IFR_TYPE_REF 0x0C |
1183 |
|
1181 |
|
1184 |
#define EFI_IFR_OPTION_DEFAULT 0x10 |
1182 |
#define EFI_IFR_OPTION_DEFAULT 0x10 |
1185 |
#define EFI_IFR_OPTION_DEFAULT_MFG 0x20 |
1183 |
#define EFI_IFR_OPTION_DEFAULT_MFG 0x20 |
1186 |
|
1184 |
|
1187 |
typedef struct _EFI_IFR_GUID { |
1185 |
typedef struct _EFI_IFR_GUID { |
1188 |
EFI_IFR_OP_HEADER Header; |
1186 |
EFI_IFR_OP_HEADER Header; |
1189 |
EFI_GUID Guid; |
1187 |
EFI_GUID Guid; |
1190 |
//Optional Data Follows |
1188 |
// Optional Data Follows |
1191 |
} EFI_IFR_GUID; |
1189 |
} EFI_IFR_GUID; |
1192 |
|
1190 |
|
1193 |
typedef struct _EFI_IFR_REFRESH_ID { |
1191 |
typedef struct _EFI_IFR_REFRESH_ID { |
1194 |
EFI_IFR_OP_HEADER Header; |
1192 |
EFI_IFR_OP_HEADER Header; |
1195 |
EFI_GUID RefreshEventGroupId; |
1193 |
EFI_GUID RefreshEventGroupId; |
1196 |
} EFI_IFR_REFRESH_ID; |
1194 |
} EFI_IFR_REFRESH_ID; |
1197 |
|
1195 |
|
1198 |
typedef struct _EFI_IFR_DUP { |
1196 |
typedef struct _EFI_IFR_DUP { |
1199 |
EFI_IFR_OP_HEADER Header; |
1197 |
EFI_IFR_OP_HEADER Header; |
1200 |
} EFI_IFR_DUP; |
1198 |
} EFI_IFR_DUP; |
1201 |
|
1199 |
|
1202 |
typedef struct _EFI_IFR_EQ_ID_ID { |
1200 |
typedef struct _EFI_IFR_EQ_ID_ID { |
1203 |
EFI_IFR_OP_HEADER Header; |
1201 |
EFI_IFR_OP_HEADER Header; |
1204 |
EFI_QUESTION_ID QuestionId1; |
1202 |
EFI_QUESTION_ID QuestionId1; |
1205 |
EFI_QUESTION_ID QuestionId2; |
1203 |
EFI_QUESTION_ID QuestionId2; |
1206 |
} EFI_IFR_EQ_ID_ID; |
1204 |
} EFI_IFR_EQ_ID_ID; |
1207 |
|
1205 |
|
1208 |
typedef struct _EFI_IFR_EQ_ID_VAL { |
1206 |
typedef struct _EFI_IFR_EQ_ID_VAL { |
1209 |
EFI_IFR_OP_HEADER Header; |
1207 |
EFI_IFR_OP_HEADER Header; |
1210 |
EFI_QUESTION_ID QuestionId; |
1208 |
EFI_QUESTION_ID QuestionId; |
1211 |
UINT16 Value; |
1209 |
UINT16 Value; |
1212 |
} EFI_IFR_EQ_ID_VAL; |
1210 |
} EFI_IFR_EQ_ID_VAL; |
1213 |
|
1211 |
|
1214 |
typedef struct _EFI_IFR_EQ_ID_VAL_LIST { |
1212 |
typedef struct _EFI_IFR_EQ_ID_VAL_LIST { |
1215 |
EFI_IFR_OP_HEADER Header; |
1213 |
EFI_IFR_OP_HEADER Header; |
1216 |
EFI_QUESTION_ID QuestionId; |
1214 |
EFI_QUESTION_ID QuestionId; |
1217 |
UINT16 ListLength; |
1215 |
UINT16 ListLength; |
1218 |
UINT16 ValueList[1]; |
1216 |
UINT16 ValueList[1]; |
1219 |
} EFI_IFR_EQ_ID_VAL_LIST; |
1217 |
} EFI_IFR_EQ_ID_VAL_LIST; |
1220 |
|
1218 |
|
1221 |
typedef struct _EFI_IFR_UINT8 { |
1219 |
typedef struct _EFI_IFR_UINT8 { |
1222 |
EFI_IFR_OP_HEADER Header; |
1220 |
EFI_IFR_OP_HEADER Header; |
1223 |
UINT8 Value; |
1221 |
UINT8 Value; |
1224 |
} EFI_IFR_UINT8; |
1222 |
} EFI_IFR_UINT8; |
1225 |
|
1223 |
|
1226 |
typedef struct _EFI_IFR_UINT16 { |
1224 |
typedef struct _EFI_IFR_UINT16 { |
1227 |
EFI_IFR_OP_HEADER Header; |
1225 |
EFI_IFR_OP_HEADER Header; |
1228 |
UINT16 Value; |
1226 |
UINT16 Value; |
1229 |
} EFI_IFR_UINT16; |
1227 |
} EFI_IFR_UINT16; |
1230 |
|
1228 |
|
1231 |
typedef struct _EFI_IFR_UINT32 { |
1229 |
typedef struct _EFI_IFR_UINT32 { |
1232 |
EFI_IFR_OP_HEADER Header; |
1230 |
EFI_IFR_OP_HEADER Header; |
1233 |
UINT32 Value; |
1231 |
UINT32 Value; |
1234 |
} EFI_IFR_UINT32; |
1232 |
} EFI_IFR_UINT32; |
1235 |
|
1233 |
|
1236 |
typedef struct _EFI_IFR_UINT64 { |
1234 |
typedef struct _EFI_IFR_UINT64 { |
1237 |
EFI_IFR_OP_HEADER Header; |
1235 |
EFI_IFR_OP_HEADER Header; |
1238 |
UINT64 Value; |
1236 |
UINT64 Value; |
1239 |
} EFI_IFR_UINT64; |
1237 |
} EFI_IFR_UINT64; |
1240 |
|
1238 |
|
1241 |
typedef struct _EFI_IFR_QUESTION_REF1 { |
1239 |
typedef struct _EFI_IFR_QUESTION_REF1 { |
1242 |
EFI_IFR_OP_HEADER Header; |
1240 |
EFI_IFR_OP_HEADER Header; |
1243 |
EFI_QUESTION_ID QuestionId; |
1241 |
EFI_QUESTION_ID QuestionId; |
1244 |
} EFI_IFR_QUESTION_REF1; |
1242 |
} EFI_IFR_QUESTION_REF1; |
1245 |
|
1243 |
|
1246 |
typedef struct _EFI_IFR_QUESTION_REF2 { |
1244 |
typedef struct _EFI_IFR_QUESTION_REF2 { |
1247 |
EFI_IFR_OP_HEADER Header; |
1245 |
EFI_IFR_OP_HEADER Header; |
1248 |
} EFI_IFR_QUESTION_REF2; |
1246 |
} EFI_IFR_QUESTION_REF2; |
1249 |
|
1247 |
|
1250 |
typedef struct _EFI_IFR_QUESTION_REF3 { |
1248 |
typedef struct _EFI_IFR_QUESTION_REF3 { |
1251 |
EFI_IFR_OP_HEADER Header; |
1249 |
EFI_IFR_OP_HEADER Header; |
1252 |
} EFI_IFR_QUESTION_REF3; |
1250 |
} EFI_IFR_QUESTION_REF3; |
1253 |
|
1251 |
|
1254 |
typedef struct _EFI_IFR_QUESTION_REF3_2 { |
1252 |
typedef struct _EFI_IFR_QUESTION_REF3_2 { |
1255 |
EFI_IFR_OP_HEADER Header; |
1253 |
EFI_IFR_OP_HEADER Header; |
1256 |
EFI_STRING_ID DevicePath; |
1254 |
EFI_STRING_ID DevicePath; |
1257 |
} EFI_IFR_QUESTION_REF3_2; |
1255 |
} EFI_IFR_QUESTION_REF3_2; |
1258 |
|
1256 |
|
1259 |
typedef struct _EFI_IFR_QUESTION_REF3_3 { |
1257 |
typedef struct _EFI_IFR_QUESTION_REF3_3 { |
1260 |
EFI_IFR_OP_HEADER Header; |
1258 |
EFI_IFR_OP_HEADER Header; |
1261 |
EFI_STRING_ID DevicePath; |
1259 |
EFI_STRING_ID DevicePath; |
1262 |
EFI_GUID Guid; |
1260 |
EFI_GUID Guid; |
1263 |
} EFI_IFR_QUESTION_REF3_3; |
1261 |
} EFI_IFR_QUESTION_REF3_3; |
1264 |
|
1262 |
|
1265 |
typedef struct _EFI_IFR_RULE_REF { |
1263 |
typedef struct _EFI_IFR_RULE_REF { |
1266 |
EFI_IFR_OP_HEADER Header; |
1264 |
EFI_IFR_OP_HEADER Header; |
1267 |
UINT8 RuleId; |
1265 |
UINT8 RuleId; |
1268 |
} EFI_IFR_RULE_REF; |
1266 |
} EFI_IFR_RULE_REF; |
1269 |
|
1267 |
|
1270 |
typedef struct _EFI_IFR_STRING_REF1 { |
1268 |
typedef struct _EFI_IFR_STRING_REF1 { |
1271 |
EFI_IFR_OP_HEADER Header; |
1269 |
EFI_IFR_OP_HEADER Header; |
1272 |
EFI_STRING_ID StringId; |
1270 |
EFI_STRING_ID StringId; |
1273 |
} EFI_IFR_STRING_REF1; |
1271 |
} EFI_IFR_STRING_REF1; |
1274 |
|
1272 |
|
1275 |
typedef struct _EFI_IFR_STRING_REF2 { |
1273 |
typedef struct _EFI_IFR_STRING_REF2 { |
1276 |
EFI_IFR_OP_HEADER Header; |
1274 |
EFI_IFR_OP_HEADER Header; |
1277 |
} EFI_IFR_STRING_REF2; |
1275 |
} EFI_IFR_STRING_REF2; |
1278 |
|
1276 |
|
1279 |
typedef struct _EFI_IFR_THIS { |
1277 |
typedef struct _EFI_IFR_THIS { |
1280 |
EFI_IFR_OP_HEADER Header; |
1278 |
EFI_IFR_OP_HEADER Header; |
1281 |
} EFI_IFR_THIS; |
1279 |
} EFI_IFR_THIS; |
1282 |
|
1280 |
|
1283 |
typedef struct _EFI_IFR_TRUE { |
1281 |
typedef struct _EFI_IFR_TRUE { |
1284 |
EFI_IFR_OP_HEADER Header; |
1282 |
EFI_IFR_OP_HEADER Header; |
1285 |
} EFI_IFR_TRUE; |
1283 |
} EFI_IFR_TRUE; |
1286 |
|
1284 |
|
1287 |
typedef struct _EFI_IFR_FALSE { |
1285 |
typedef struct _EFI_IFR_FALSE { |
1288 |
EFI_IFR_OP_HEADER Header; |
1286 |
EFI_IFR_OP_HEADER Header; |
1289 |
} EFI_IFR_FALSE; |
1287 |
} EFI_IFR_FALSE; |
1290 |
|
1288 |
|
1291 |
typedef struct _EFI_IFR_ONE { |
1289 |
typedef struct _EFI_IFR_ONE { |
1292 |
EFI_IFR_OP_HEADER Header; |
1290 |
EFI_IFR_OP_HEADER Header; |
1293 |
} EFI_IFR_ONE; |
1291 |
} EFI_IFR_ONE; |
1294 |
|
1292 |
|
1295 |
typedef struct _EFI_IFR_ONES { |
1293 |
typedef struct _EFI_IFR_ONES { |
1296 |
EFI_IFR_OP_HEADER Header; |
1294 |
EFI_IFR_OP_HEADER Header; |
1297 |
} EFI_IFR_ONES; |
1295 |
} EFI_IFR_ONES; |
1298 |
|
1296 |
|
1299 |
typedef struct _EFI_IFR_ZERO { |
1297 |
typedef struct _EFI_IFR_ZERO { |
1300 |
EFI_IFR_OP_HEADER Header; |
1298 |
EFI_IFR_OP_HEADER Header; |
1301 |
} EFI_IFR_ZERO; |
1299 |
} EFI_IFR_ZERO; |
1302 |
|
1300 |
|
1303 |
typedef struct _EFI_IFR_UNDEFINED { |
1301 |
typedef struct _EFI_IFR_UNDEFINED { |
1304 |
EFI_IFR_OP_HEADER Header; |
1302 |
EFI_IFR_OP_HEADER Header; |
1305 |
} EFI_IFR_UNDEFINED; |
1303 |
} EFI_IFR_UNDEFINED; |
1306 |
|
1304 |
|
1307 |
typedef struct _EFI_IFR_VERSION { |
1305 |
typedef struct _EFI_IFR_VERSION { |
1308 |
EFI_IFR_OP_HEADER Header; |
1306 |
EFI_IFR_OP_HEADER Header; |
1309 |
} EFI_IFR_VERSION; |
1307 |
} EFI_IFR_VERSION; |
1310 |
|
1308 |
|
1311 |
typedef struct _EFI_IFR_LENGTH { |
1309 |
typedef struct _EFI_IFR_LENGTH { |
1312 |
EFI_IFR_OP_HEADER Header; |
1310 |
EFI_IFR_OP_HEADER Header; |
1313 |
} EFI_IFR_LENGTH; |
1311 |
} EFI_IFR_LENGTH; |
1314 |
|
1312 |
|
1315 |
typedef struct _EFI_IFR_NOT { |
1313 |
typedef struct _EFI_IFR_NOT { |
1316 |
EFI_IFR_OP_HEADER Header; |
1314 |
EFI_IFR_OP_HEADER Header; |
1317 |
} EFI_IFR_NOT; |
1315 |
} EFI_IFR_NOT; |
1318 |
|
1316 |
|
1319 |
typedef struct _EFI_IFR_BITWISE_NOT { |
1317 |
typedef struct _EFI_IFR_BITWISE_NOT { |
1320 |
EFI_IFR_OP_HEADER Header; |
1318 |
EFI_IFR_OP_HEADER Header; |
1321 |
} EFI_IFR_BITWISE_NOT; |
1319 |
} EFI_IFR_BITWISE_NOT; |
1322 |
|
1320 |
|
1323 |
typedef struct _EFI_IFR_TO_BOOLEAN { |
1321 |
typedef struct _EFI_IFR_TO_BOOLEAN { |
1324 |
EFI_IFR_OP_HEADER Header; |
1322 |
EFI_IFR_OP_HEADER Header; |
1325 |
} EFI_IFR_TO_BOOLEAN; |
1323 |
} EFI_IFR_TO_BOOLEAN; |
1326 |
|
1324 |
|
1327 |
/// |
1325 |
/// |
Lines 1332-1341
typedef struct _EFI_IFR_TO_BOOLEAN {
Link Here
|
1332 |
/// 2 = hexadecimal (lower-case alpha). |
1330 |
/// 2 = hexadecimal (lower-case alpha). |
1333 |
/// 3 = hexadecimal (upper-case alpha). |
1331 |
/// 3 = hexadecimal (upper-case alpha). |
1334 |
///@{ |
1332 |
///@{ |
1335 |
#define EFI_IFR_STRING_UNSIGNED_DEC 0 |
1333 |
#define EFI_IFR_STRING_UNSIGNED_DEC 0 |
1336 |
#define EFI_IFR_STRING_SIGNED_DEC 1 |
1334 |
#define EFI_IFR_STRING_SIGNED_DEC 1 |
1337 |
#define EFI_IFR_STRING_LOWERCASE_HEX 2 |
1335 |
#define EFI_IFR_STRING_LOWERCASE_HEX 2 |
1338 |
#define EFI_IFR_STRING_UPPERCASE_HEX 3 |
1336 |
#define EFI_IFR_STRING_UPPERCASE_HEX 3 |
1339 |
///@} |
1337 |
///@} |
1340 |
|
1338 |
|
1341 |
/// |
1339 |
/// |
Lines 1343-1452
typedef struct _EFI_IFR_TO_BOOLEAN {
Link Here
|
1343 |
/// 0 = ASCII. |
1341 |
/// 0 = ASCII. |
1344 |
/// 8 = Unicode. |
1342 |
/// 8 = Unicode. |
1345 |
///@{ |
1343 |
///@{ |
1346 |
#define EFI_IFR_STRING_ASCII 0 |
1344 |
#define EFI_IFR_STRING_ASCII 0 |
1347 |
#define EFI_IFR_STRING_UNICODE 8 |
1345 |
#define EFI_IFR_STRING_UNICODE 8 |
1348 |
///@} |
1346 |
///@} |
1349 |
|
1347 |
|
1350 |
typedef struct _EFI_IFR_TO_STRING { |
1348 |
typedef struct _EFI_IFR_TO_STRING { |
1351 |
EFI_IFR_OP_HEADER Header; |
1349 |
EFI_IFR_OP_HEADER Header; |
1352 |
UINT8 Format; |
1350 |
UINT8 Format; |
1353 |
} EFI_IFR_TO_STRING; |
1351 |
} EFI_IFR_TO_STRING; |
1354 |
|
1352 |
|
1355 |
typedef struct _EFI_IFR_TO_UINT { |
1353 |
typedef struct _EFI_IFR_TO_UINT { |
1356 |
EFI_IFR_OP_HEADER Header; |
1354 |
EFI_IFR_OP_HEADER Header; |
1357 |
} EFI_IFR_TO_UINT; |
1355 |
} EFI_IFR_TO_UINT; |
1358 |
|
1356 |
|
1359 |
typedef struct _EFI_IFR_TO_UPPER { |
1357 |
typedef struct _EFI_IFR_TO_UPPER { |
1360 |
EFI_IFR_OP_HEADER Header; |
1358 |
EFI_IFR_OP_HEADER Header; |
1361 |
} EFI_IFR_TO_UPPER; |
1359 |
} EFI_IFR_TO_UPPER; |
1362 |
|
1360 |
|
1363 |
typedef struct _EFI_IFR_TO_LOWER { |
1361 |
typedef struct _EFI_IFR_TO_LOWER { |
1364 |
EFI_IFR_OP_HEADER Header; |
1362 |
EFI_IFR_OP_HEADER Header; |
1365 |
} EFI_IFR_TO_LOWER; |
1363 |
} EFI_IFR_TO_LOWER; |
1366 |
|
1364 |
|
1367 |
typedef struct _EFI_IFR_ADD { |
1365 |
typedef struct _EFI_IFR_ADD { |
1368 |
EFI_IFR_OP_HEADER Header; |
1366 |
EFI_IFR_OP_HEADER Header; |
1369 |
} EFI_IFR_ADD; |
1367 |
} EFI_IFR_ADD; |
1370 |
|
1368 |
|
1371 |
typedef struct _EFI_IFR_AND { |
1369 |
typedef struct _EFI_IFR_AND { |
1372 |
EFI_IFR_OP_HEADER Header; |
1370 |
EFI_IFR_OP_HEADER Header; |
1373 |
} EFI_IFR_AND; |
1371 |
} EFI_IFR_AND; |
1374 |
|
1372 |
|
1375 |
typedef struct _EFI_IFR_BITWISE_AND { |
1373 |
typedef struct _EFI_IFR_BITWISE_AND { |
1376 |
EFI_IFR_OP_HEADER Header; |
1374 |
EFI_IFR_OP_HEADER Header; |
1377 |
} EFI_IFR_BITWISE_AND; |
1375 |
} EFI_IFR_BITWISE_AND; |
1378 |
|
1376 |
|
1379 |
typedef struct _EFI_IFR_BITWISE_OR { |
1377 |
typedef struct _EFI_IFR_BITWISE_OR { |
1380 |
EFI_IFR_OP_HEADER Header; |
1378 |
EFI_IFR_OP_HEADER Header; |
1381 |
} EFI_IFR_BITWISE_OR; |
1379 |
} EFI_IFR_BITWISE_OR; |
1382 |
|
1380 |
|
1383 |
typedef struct _EFI_IFR_CATENATE { |
1381 |
typedef struct _EFI_IFR_CATENATE { |
1384 |
EFI_IFR_OP_HEADER Header; |
1382 |
EFI_IFR_OP_HEADER Header; |
1385 |
} EFI_IFR_CATENATE; |
1383 |
} EFI_IFR_CATENATE; |
1386 |
|
1384 |
|
1387 |
typedef struct _EFI_IFR_DIVIDE { |
1385 |
typedef struct _EFI_IFR_DIVIDE { |
1388 |
EFI_IFR_OP_HEADER Header; |
1386 |
EFI_IFR_OP_HEADER Header; |
1389 |
} EFI_IFR_DIVIDE; |
1387 |
} EFI_IFR_DIVIDE; |
1390 |
|
1388 |
|
1391 |
typedef struct _EFI_IFR_EQUAL { |
1389 |
typedef struct _EFI_IFR_EQUAL { |
1392 |
EFI_IFR_OP_HEADER Header; |
1390 |
EFI_IFR_OP_HEADER Header; |
1393 |
} EFI_IFR_EQUAL; |
1391 |
} EFI_IFR_EQUAL; |
1394 |
|
1392 |
|
1395 |
typedef struct _EFI_IFR_GREATER_EQUAL { |
1393 |
typedef struct _EFI_IFR_GREATER_EQUAL { |
1396 |
EFI_IFR_OP_HEADER Header; |
1394 |
EFI_IFR_OP_HEADER Header; |
1397 |
} EFI_IFR_GREATER_EQUAL; |
1395 |
} EFI_IFR_GREATER_EQUAL; |
1398 |
|
1396 |
|
1399 |
typedef struct _EFI_IFR_GREATER_THAN { |
1397 |
typedef struct _EFI_IFR_GREATER_THAN { |
1400 |
EFI_IFR_OP_HEADER Header; |
1398 |
EFI_IFR_OP_HEADER Header; |
1401 |
} EFI_IFR_GREATER_THAN; |
1399 |
} EFI_IFR_GREATER_THAN; |
1402 |
|
1400 |
|
1403 |
typedef struct _EFI_IFR_LESS_EQUAL { |
1401 |
typedef struct _EFI_IFR_LESS_EQUAL { |
1404 |
EFI_IFR_OP_HEADER Header; |
1402 |
EFI_IFR_OP_HEADER Header; |
1405 |
} EFI_IFR_LESS_EQUAL; |
1403 |
} EFI_IFR_LESS_EQUAL; |
1406 |
|
1404 |
|
1407 |
typedef struct _EFI_IFR_LESS_THAN { |
1405 |
typedef struct _EFI_IFR_LESS_THAN { |
1408 |
EFI_IFR_OP_HEADER Header; |
1406 |
EFI_IFR_OP_HEADER Header; |
1409 |
} EFI_IFR_LESS_THAN; |
1407 |
} EFI_IFR_LESS_THAN; |
1410 |
|
1408 |
|
1411 |
typedef struct _EFI_IFR_MATCH { |
1409 |
typedef struct _EFI_IFR_MATCH { |
1412 |
EFI_IFR_OP_HEADER Header; |
1410 |
EFI_IFR_OP_HEADER Header; |
1413 |
} EFI_IFR_MATCH; |
1411 |
} EFI_IFR_MATCH; |
1414 |
|
1412 |
|
1415 |
typedef struct _EFI_IFR_MATCH2 { |
1413 |
typedef struct _EFI_IFR_MATCH2 { |
1416 |
EFI_IFR_OP_HEADER Header; |
1414 |
EFI_IFR_OP_HEADER Header; |
1417 |
EFI_GUID SyntaxType; |
1415 |
EFI_GUID SyntaxType; |
1418 |
} EFI_IFR_MATCH2; |
1416 |
} EFI_IFR_MATCH2; |
1419 |
|
1417 |
|
1420 |
typedef struct _EFI_IFR_MULTIPLY { |
1418 |
typedef struct _EFI_IFR_MULTIPLY { |
1421 |
EFI_IFR_OP_HEADER Header; |
1419 |
EFI_IFR_OP_HEADER Header; |
1422 |
} EFI_IFR_MULTIPLY; |
1420 |
} EFI_IFR_MULTIPLY; |
1423 |
|
1421 |
|
1424 |
typedef struct _EFI_IFR_MODULO { |
1422 |
typedef struct _EFI_IFR_MODULO { |
1425 |
EFI_IFR_OP_HEADER Header; |
1423 |
EFI_IFR_OP_HEADER Header; |
1426 |
} EFI_IFR_MODULO; |
1424 |
} EFI_IFR_MODULO; |
1427 |
|
1425 |
|
1428 |
typedef struct _EFI_IFR_NOT_EQUAL { |
1426 |
typedef struct _EFI_IFR_NOT_EQUAL { |
1429 |
EFI_IFR_OP_HEADER Header; |
1427 |
EFI_IFR_OP_HEADER Header; |
1430 |
} EFI_IFR_NOT_EQUAL; |
1428 |
} EFI_IFR_NOT_EQUAL; |
1431 |
|
1429 |
|
1432 |
typedef struct _EFI_IFR_OR { |
1430 |
typedef struct _EFI_IFR_OR { |
1433 |
EFI_IFR_OP_HEADER Header; |
1431 |
EFI_IFR_OP_HEADER Header; |
1434 |
} EFI_IFR_OR; |
1432 |
} EFI_IFR_OR; |
1435 |
|
1433 |
|
1436 |
typedef struct _EFI_IFR_SHIFT_LEFT { |
1434 |
typedef struct _EFI_IFR_SHIFT_LEFT { |
1437 |
EFI_IFR_OP_HEADER Header; |
1435 |
EFI_IFR_OP_HEADER Header; |
1438 |
} EFI_IFR_SHIFT_LEFT; |
1436 |
} EFI_IFR_SHIFT_LEFT; |
1439 |
|
1437 |
|
1440 |
typedef struct _EFI_IFR_SHIFT_RIGHT { |
1438 |
typedef struct _EFI_IFR_SHIFT_RIGHT { |
1441 |
EFI_IFR_OP_HEADER Header; |
1439 |
EFI_IFR_OP_HEADER Header; |
1442 |
} EFI_IFR_SHIFT_RIGHT; |
1440 |
} EFI_IFR_SHIFT_RIGHT; |
1443 |
|
1441 |
|
1444 |
typedef struct _EFI_IFR_SUBTRACT { |
1442 |
typedef struct _EFI_IFR_SUBTRACT { |
1445 |
EFI_IFR_OP_HEADER Header; |
1443 |
EFI_IFR_OP_HEADER Header; |
1446 |
} EFI_IFR_SUBTRACT; |
1444 |
} EFI_IFR_SUBTRACT; |
1447 |
|
1445 |
|
1448 |
typedef struct _EFI_IFR_CONDITIONAL { |
1446 |
typedef struct _EFI_IFR_CONDITIONAL { |
1449 |
EFI_IFR_OP_HEADER Header; |
1447 |
EFI_IFR_OP_HEADER Header; |
1450 |
} EFI_IFR_CONDITIONAL; |
1448 |
} EFI_IFR_CONDITIONAL; |
1451 |
|
1449 |
|
1452 |
// |
1450 |
// |
Lines 1456-1494
typedef struct _EFI_IFR_CONDITIONAL {
Link Here
|
1456 |
#define EFI_IFR_FF_CASE_INSENSITIVE 0x01 |
1454 |
#define EFI_IFR_FF_CASE_INSENSITIVE 0x01 |
1457 |
|
1455 |
|
1458 |
typedef struct _EFI_IFR_FIND { |
1456 |
typedef struct _EFI_IFR_FIND { |
1459 |
EFI_IFR_OP_HEADER Header; |
1457 |
EFI_IFR_OP_HEADER Header; |
1460 |
UINT8 Format; |
1458 |
UINT8 Format; |
1461 |
} EFI_IFR_FIND; |
1459 |
} EFI_IFR_FIND; |
1462 |
|
1460 |
|
1463 |
typedef struct _EFI_IFR_MID { |
1461 |
typedef struct _EFI_IFR_MID { |
1464 |
EFI_IFR_OP_HEADER Header; |
1462 |
EFI_IFR_OP_HEADER Header; |
1465 |
} EFI_IFR_MID; |
1463 |
} EFI_IFR_MID; |
1466 |
|
1464 |
|
1467 |
typedef struct _EFI_IFR_TOKEN { |
1465 |
typedef struct _EFI_IFR_TOKEN { |
1468 |
EFI_IFR_OP_HEADER Header; |
1466 |
EFI_IFR_OP_HEADER Header; |
1469 |
} EFI_IFR_TOKEN; |
1467 |
} EFI_IFR_TOKEN; |
1470 |
|
1468 |
|
1471 |
// |
1469 |
// |
1472 |
// Flags specifying whether to find the first matching string |
1470 |
// Flags specifying whether to find the first matching string |
1473 |
// or the first non-matching string. |
1471 |
// or the first non-matching string. |
1474 |
// |
1472 |
// |
1475 |
#define EFI_IFR_FLAGS_FIRST_MATCHING 0x00 |
1473 |
#define EFI_IFR_FLAGS_FIRST_MATCHING 0x00 |
1476 |
#define EFI_IFR_FLAGS_FIRST_NON_MATCHING 0x01 |
1474 |
#define EFI_IFR_FLAGS_FIRST_NON_MATCHING 0x01 |
1477 |
|
1475 |
|
1478 |
typedef struct _EFI_IFR_SPAN { |
1476 |
typedef struct _EFI_IFR_SPAN { |
1479 |
EFI_IFR_OP_HEADER Header; |
1477 |
EFI_IFR_OP_HEADER Header; |
1480 |
UINT8 Flags; |
1478 |
UINT8 Flags; |
1481 |
} EFI_IFR_SPAN; |
1479 |
} EFI_IFR_SPAN; |
1482 |
|
1480 |
|
1483 |
typedef struct _EFI_IFR_SECURITY { |
1481 |
typedef struct _EFI_IFR_SECURITY { |
1484 |
/// |
1482 |
/// |
1485 |
/// Standard opcode header, where Header.Op = EFI_IFR_SECURITY_OP. |
1483 |
/// Standard opcode header, where Header.Op = EFI_IFR_SECURITY_OP. |
1486 |
/// |
1484 |
/// |
1487 |
EFI_IFR_OP_HEADER Header; |
1485 |
EFI_IFR_OP_HEADER Header; |
1488 |
/// |
1486 |
/// |
1489 |
/// Security permission level. |
1487 |
/// Security permission level. |
1490 |
/// |
1488 |
/// |
1491 |
EFI_GUID Permissions; |
1489 |
EFI_GUID Permissions; |
1492 |
} EFI_IFR_SECURITY; |
1490 |
} EFI_IFR_SECURITY; |
1493 |
|
1491 |
|
1494 |
typedef struct _EFI_IFR_FORM_MAP_METHOD { |
1492 |
typedef struct _EFI_IFR_FORM_MAP_METHOD { |
Lines 1496-1507
typedef struct _EFI_IFR_FORM_MAP_METHOD {
Link Here
|
1496 |
/// The string identifier which provides the human-readable name of |
1494 |
/// The string identifier which provides the human-readable name of |
1497 |
/// the configuration method for this standards map form. |
1495 |
/// the configuration method for this standards map form. |
1498 |
/// |
1496 |
/// |
1499 |
EFI_STRING_ID MethodTitle; |
1497 |
EFI_STRING_ID MethodTitle; |
1500 |
/// |
1498 |
/// |
1501 |
/// Identifier which uniquely specifies the configuration methods |
1499 |
/// Identifier which uniquely specifies the configuration methods |
1502 |
/// associated with this standards map form. |
1500 |
/// associated with this standards map form. |
1503 |
/// |
1501 |
/// |
1504 |
EFI_GUID MethodIdentifier; |
1502 |
EFI_GUID MethodIdentifier; |
1505 |
} EFI_IFR_FORM_MAP_METHOD; |
1503 |
} EFI_IFR_FORM_MAP_METHOD; |
1506 |
|
1504 |
|
1507 |
typedef struct _EFI_IFR_FORM_MAP { |
1505 |
typedef struct _EFI_IFR_FORM_MAP { |
Lines 1509-1519
typedef struct _EFI_IFR_FORM_MAP {
Link Here
|
1509 |
/// The sequence that defines the type of opcode as well as the length |
1507 |
/// The sequence that defines the type of opcode as well as the length |
1510 |
/// of the opcode being defined. Header.OpCode = EFI_IFR_FORM_MAP_OP. |
1508 |
/// of the opcode being defined. Header.OpCode = EFI_IFR_FORM_MAP_OP. |
1511 |
/// |
1509 |
/// |
1512 |
EFI_IFR_OP_HEADER Header; |
1510 |
EFI_IFR_OP_HEADER Header; |
1513 |
/// |
1511 |
/// |
1514 |
/// The unique identifier for this particular form. |
1512 |
/// The unique identifier for this particular form. |
1515 |
/// |
1513 |
/// |
1516 |
EFI_FORM_ID FormId; |
1514 |
EFI_FORM_ID FormId; |
1517 |
/// |
1515 |
/// |
1518 |
/// One or more configuration method's name and unique identifier. |
1516 |
/// One or more configuration method's name and unique identifier. |
1519 |
/// |
1517 |
/// |
Lines 1525-1536
typedef struct _EFI_IFR_SET {
Link Here
|
1525 |
/// The sequence that defines the type of opcode as well as the length |
1523 |
/// The sequence that defines the type of opcode as well as the length |
1526 |
/// of the opcode being defined. Header.OpCode = EFI_IFR_SET_OP. |
1524 |
/// of the opcode being defined. Header.OpCode = EFI_IFR_SET_OP. |
1527 |
/// |
1525 |
/// |
1528 |
EFI_IFR_OP_HEADER Header; |
1526 |
EFI_IFR_OP_HEADER Header; |
1529 |
/// |
1527 |
/// |
1530 |
/// Specifies the identifier of a previously declared variable store to |
1528 |
/// Specifies the identifier of a previously declared variable store to |
1531 |
/// use when storing the question's value. |
1529 |
/// use when storing the question's value. |
1532 |
/// |
1530 |
/// |
1533 |
EFI_VARSTORE_ID VarStoreId; |
1531 |
EFI_VARSTORE_ID VarStoreId; |
1534 |
union { |
1532 |
union { |
1535 |
/// |
1533 |
/// |
1536 |
/// A 16-bit Buffer Storage offset. |
1534 |
/// A 16-bit Buffer Storage offset. |
Lines 1544-1550
typedef struct _EFI_IFR_SET {
Link Here
|
1544 |
/// |
1542 |
/// |
1545 |
/// Specifies the type used for storage. |
1543 |
/// Specifies the type used for storage. |
1546 |
/// |
1544 |
/// |
1547 |
UINT8 VarStoreType; |
1545 |
UINT8 VarStoreType; |
1548 |
} EFI_IFR_SET; |
1546 |
} EFI_IFR_SET; |
1549 |
|
1547 |
|
1550 |
typedef struct _EFI_IFR_GET { |
1548 |
typedef struct _EFI_IFR_GET { |
Lines 1552-1563
typedef struct _EFI_IFR_GET {
Link Here
|
1552 |
/// The sequence that defines the type of opcode as well as the length |
1550 |
/// The sequence that defines the type of opcode as well as the length |
1553 |
/// of the opcode being defined. Header.OpCode = EFI_IFR_GET_OP. |
1551 |
/// of the opcode being defined. Header.OpCode = EFI_IFR_GET_OP. |
1554 |
/// |
1552 |
/// |
1555 |
EFI_IFR_OP_HEADER Header; |
1553 |
EFI_IFR_OP_HEADER Header; |
1556 |
/// |
1554 |
/// |
1557 |
/// Specifies the identifier of a previously declared variable store to |
1555 |
/// Specifies the identifier of a previously declared variable store to |
1558 |
/// use when retrieving the value. |
1556 |
/// use when retrieving the value. |
1559 |
/// |
1557 |
/// |
1560 |
EFI_VARSTORE_ID VarStoreId; |
1558 |
EFI_VARSTORE_ID VarStoreId; |
1561 |
union { |
1559 |
union { |
1562 |
/// |
1560 |
/// |
1563 |
/// A 16-bit Buffer Storage offset. |
1561 |
/// A 16-bit Buffer Storage offset. |
Lines 1571-1589
typedef struct _EFI_IFR_GET {
Link Here
|
1571 |
/// |
1569 |
/// |
1572 |
/// Specifies the type used for storage. |
1570 |
/// Specifies the type used for storage. |
1573 |
/// |
1571 |
/// |
1574 |
UINT8 VarStoreType; |
1572 |
UINT8 VarStoreType; |
1575 |
} EFI_IFR_GET; |
1573 |
} EFI_IFR_GET; |
1576 |
|
1574 |
|
1577 |
typedef struct _EFI_IFR_READ { |
1575 |
typedef struct _EFI_IFR_READ { |
1578 |
EFI_IFR_OP_HEADER Header; |
1576 |
EFI_IFR_OP_HEADER Header; |
1579 |
} EFI_IFR_READ; |
1577 |
} EFI_IFR_READ; |
1580 |
|
1578 |
|
1581 |
typedef struct _EFI_IFR_WRITE { |
1579 |
typedef struct _EFI_IFR_WRITE { |
1582 |
EFI_IFR_OP_HEADER Header; |
1580 |
EFI_IFR_OP_HEADER Header; |
1583 |
} EFI_IFR_WRITE; |
1581 |
} EFI_IFR_WRITE; |
1584 |
|
1582 |
|
1585 |
typedef struct _EFI_IFR_MAP { |
1583 |
typedef struct _EFI_IFR_MAP { |
1586 |
EFI_IFR_OP_HEADER Header; |
1584 |
EFI_IFR_OP_HEADER Header; |
1587 |
} EFI_IFR_MAP; |
1585 |
} EFI_IFR_MAP; |
1588 |
// |
1586 |
// |
1589 |
// Definitions for Keyboard Package |
1587 |
// Definitions for Keyboard Package |
Lines 1698-1741
typedef enum {
Link Here
|
1698 |
EfiKeyF12, |
1696 |
EfiKeyF12, |
1699 |
EfiKeyPrint, |
1697 |
EfiKeyPrint, |
1700 |
EfiKeySLck, |
1698 |
EfiKeySLck, |
1701 |
EfiKeyPause |
1699 |
EfiKeyPause, |
|
|
1700 |
EfiKeyIntl0, |
1701 |
EfiKeyIntl1, |
1702 |
EfiKeyIntl2, |
1703 |
EfiKeyIntl3, |
1704 |
EfiKeyIntl4, |
1705 |
EfiKeyIntl5, |
1706 |
EfiKeyIntl6, |
1707 |
EfiKeyIntl7, |
1708 |
EfiKeyIntl8, |
1709 |
EfiKeyIntl9 |
1702 |
} EFI_KEY; |
1710 |
} EFI_KEY; |
1703 |
|
1711 |
|
1704 |
typedef struct { |
1712 |
typedef struct { |
1705 |
/// |
1713 |
/// |
1706 |
/// Used to describe a physical key on a keyboard. |
1714 |
/// Used to describe a physical key on a keyboard. |
1707 |
/// |
1715 |
/// |
1708 |
EFI_KEY Key; |
1716 |
EFI_KEY Key; |
1709 |
/// |
1717 |
/// |
1710 |
/// Unicode character code for the Key. |
1718 |
/// Unicode character code for the Key. |
1711 |
/// |
1719 |
/// |
1712 |
CHAR16 Unicode; |
1720 |
CHAR16 Unicode; |
1713 |
/// |
1721 |
/// |
1714 |
/// Unicode character code for the key with the shift key being held down. |
1722 |
/// Unicode character code for the key with the shift key being held down. |
1715 |
/// |
1723 |
/// |
1716 |
CHAR16 ShiftedUnicode; |
1724 |
CHAR16 ShiftedUnicode; |
1717 |
/// |
1725 |
/// |
1718 |
/// Unicode character code for the key with the Alt-GR being held down. |
1726 |
/// Unicode character code for the key with the Alt-GR being held down. |
1719 |
/// |
1727 |
/// |
1720 |
CHAR16 AltGrUnicode; |
1728 |
CHAR16 AltGrUnicode; |
1721 |
/// |
1729 |
/// |
1722 |
/// Unicode character code for the key with the Alt-GR and shift keys being held down. |
1730 |
/// Unicode character code for the key with the Alt-GR and shift keys being held down. |
1723 |
/// |
1731 |
/// |
1724 |
CHAR16 ShiftedAltGrUnicode; |
1732 |
CHAR16 ShiftedAltGrUnicode; |
1725 |
/// |
1733 |
/// |
1726 |
/// Modifier keys are defined to allow for special functionality that is not necessarily |
1734 |
/// Modifier keys are defined to allow for special functionality that is not necessarily |
1727 |
/// accomplished by a printable character. Many of these modifier keys are flags to toggle |
1735 |
/// accomplished by a printable character. Many of these modifier keys are flags to toggle |
1728 |
/// certain state bits on and off inside of a keyboard driver. |
1736 |
/// certain state bits on and off inside of a keyboard driver. |
1729 |
/// |
1737 |
/// |
1730 |
UINT16 Modifier; |
1738 |
UINT16 Modifier; |
1731 |
UINT16 AffectedAttribute; |
1739 |
UINT16 AffectedAttribute; |
1732 |
} EFI_KEY_DESCRIPTOR; |
1740 |
} EFI_KEY_DESCRIPTOR; |
1733 |
|
1741 |
|
1734 |
/// |
1742 |
/// |
1735 |
/// A key which is affected by all the standard shift modifiers. |
1743 |
/// A key which is affected by all the standard shift modifiers. |
1736 |
/// Most keys would be expected to have this bit active. |
1744 |
/// Most keys would be expected to have this bit active. |
1737 |
/// |
1745 |
/// |
1738 |
#define EFI_AFFECTED_BY_STANDARD_SHIFT 0x0001 |
1746 |
#define EFI_AFFECTED_BY_STANDARD_SHIFT 0x0001 |
1739 |
|
1747 |
|
1740 |
/// |
1748 |
/// |
1741 |
/// This key is affected by the caps lock so that if a keyboard driver |
1749 |
/// This key is affected by the caps lock so that if a keyboard driver |
Lines 1743-1807
typedef struct {
Link Here
|
1743 |
/// versus an "a" character. Having this bit turned on would tell |
1751 |
/// versus an "a" character. Having this bit turned on would tell |
1744 |
/// the keyboard driver to use the appropriate shifted state or not. |
1752 |
/// the keyboard driver to use the appropriate shifted state or not. |
1745 |
/// |
1753 |
/// |
1746 |
#define EFI_AFFECTED_BY_CAPS_LOCK 0x0002 |
1754 |
#define EFI_AFFECTED_BY_CAPS_LOCK 0x0002 |
1747 |
|
1755 |
|
1748 |
/// |
1756 |
/// |
1749 |
/// Similar to the case of CAPS lock, if this bit is active, the key |
1757 |
/// Similar to the case of CAPS lock, if this bit is active, the key |
1750 |
/// is affected by the num lock being turned on. |
1758 |
/// is affected by the num lock being turned on. |
1751 |
/// |
1759 |
/// |
1752 |
#define EFI_AFFECTED_BY_NUM_LOCK 0x0004 |
1760 |
#define EFI_AFFECTED_BY_NUM_LOCK 0x0004 |
1753 |
|
1761 |
|
1754 |
typedef struct { |
1762 |
typedef struct { |
1755 |
UINT16 LayoutLength; |
1763 |
UINT16 LayoutLength; |
1756 |
EFI_GUID Guid; |
1764 |
EFI_GUID Guid; |
1757 |
UINT32 LayoutDescriptorStringOffset; |
1765 |
UINT32 LayoutDescriptorStringOffset; |
1758 |
UINT8 DescriptorCount; |
1766 |
UINT8 DescriptorCount; |
1759 |
// EFI_KEY_DESCRIPTOR Descriptors[]; |
1767 |
// EFI_KEY_DESCRIPTOR Descriptors[]; |
1760 |
} EFI_HII_KEYBOARD_LAYOUT; |
1768 |
} EFI_HII_KEYBOARD_LAYOUT; |
1761 |
|
1769 |
|
1762 |
typedef struct { |
1770 |
typedef struct { |
1763 |
EFI_HII_PACKAGE_HEADER Header; |
1771 |
EFI_HII_PACKAGE_HEADER Header; |
1764 |
UINT16 LayoutCount; |
1772 |
UINT16 LayoutCount; |
1765 |
// EFI_HII_KEYBOARD_LAYOUT Layout[]; |
1773 |
// EFI_HII_KEYBOARD_LAYOUT Layout[]; |
1766 |
} EFI_HII_KEYBOARD_PACKAGE_HDR; |
1774 |
} EFI_HII_KEYBOARD_PACKAGE_HDR; |
1767 |
|
1775 |
|
1768 |
// |
1776 |
// |
1769 |
// Modifier values |
1777 |
// Modifier values |
1770 |
// |
1778 |
// |
1771 |
#define EFI_NULL_MODIFIER 0x0000 |
1779 |
#define EFI_NULL_MODIFIER 0x0000 |
1772 |
#define EFI_LEFT_CONTROL_MODIFIER 0x0001 |
1780 |
#define EFI_LEFT_CONTROL_MODIFIER 0x0001 |
1773 |
#define EFI_RIGHT_CONTROL_MODIFIER 0x0002 |
1781 |
#define EFI_RIGHT_CONTROL_MODIFIER 0x0002 |
1774 |
#define EFI_LEFT_ALT_MODIFIER 0x0003 |
1782 |
#define EFI_LEFT_ALT_MODIFIER 0x0003 |
1775 |
#define EFI_RIGHT_ALT_MODIFIER 0x0004 |
1783 |
#define EFI_RIGHT_ALT_MODIFIER 0x0004 |
1776 |
#define EFI_ALT_GR_MODIFIER 0x0005 |
1784 |
#define EFI_ALT_GR_MODIFIER 0x0005 |
1777 |
#define EFI_INSERT_MODIFIER 0x0006 |
1785 |
#define EFI_INSERT_MODIFIER 0x0006 |
1778 |
#define EFI_DELETE_MODIFIER 0x0007 |
1786 |
#define EFI_DELETE_MODIFIER 0x0007 |
1779 |
#define EFI_PAGE_DOWN_MODIFIER 0x0008 |
1787 |
#define EFI_PAGE_DOWN_MODIFIER 0x0008 |
1780 |
#define EFI_PAGE_UP_MODIFIER 0x0009 |
1788 |
#define EFI_PAGE_UP_MODIFIER 0x0009 |
1781 |
#define EFI_HOME_MODIFIER 0x000A |
1789 |
#define EFI_HOME_MODIFIER 0x000A |
1782 |
#define EFI_END_MODIFIER 0x000B |
1790 |
#define EFI_END_MODIFIER 0x000B |
1783 |
#define EFI_LEFT_SHIFT_MODIFIER 0x000C |
1791 |
#define EFI_LEFT_SHIFT_MODIFIER 0x000C |
1784 |
#define EFI_RIGHT_SHIFT_MODIFIER 0x000D |
1792 |
#define EFI_RIGHT_SHIFT_MODIFIER 0x000D |
1785 |
#define EFI_CAPS_LOCK_MODIFIER 0x000E |
1793 |
#define EFI_CAPS_LOCK_MODIFIER 0x000E |
1786 |
#define EFI_NUM_LOCK_MODIFIER 0x000F |
1794 |
#define EFI_NUM_LOCK_MODIFIER 0x000F |
1787 |
#define EFI_LEFT_ARROW_MODIFIER 0x0010 |
1795 |
#define EFI_LEFT_ARROW_MODIFIER 0x0010 |
1788 |
#define EFI_RIGHT_ARROW_MODIFIER 0x0011 |
1796 |
#define EFI_RIGHT_ARROW_MODIFIER 0x0011 |
1789 |
#define EFI_DOWN_ARROW_MODIFIER 0x0012 |
1797 |
#define EFI_DOWN_ARROW_MODIFIER 0x0012 |
1790 |
#define EFI_UP_ARROW_MODIFIER 0x0013 |
1798 |
#define EFI_UP_ARROW_MODIFIER 0x0013 |
1791 |
#define EFI_NS_KEY_MODIFIER 0x0014 |
1799 |
#define EFI_NS_KEY_MODIFIER 0x0014 |
1792 |
#define EFI_NS_KEY_DEPENDENCY_MODIFIER 0x0015 |
1800 |
#define EFI_NS_KEY_DEPENDENCY_MODIFIER 0x0015 |
1793 |
#define EFI_FUNCTION_KEY_ONE_MODIFIER 0x0016 |
1801 |
#define EFI_FUNCTION_KEY_ONE_MODIFIER 0x0016 |
1794 |
#define EFI_FUNCTION_KEY_TWO_MODIFIER 0x0017 |
1802 |
#define EFI_FUNCTION_KEY_TWO_MODIFIER 0x0017 |
1795 |
#define EFI_FUNCTION_KEY_THREE_MODIFIER 0x0018 |
1803 |
#define EFI_FUNCTION_KEY_THREE_MODIFIER 0x0018 |
1796 |
#define EFI_FUNCTION_KEY_FOUR_MODIFIER 0x0019 |
1804 |
#define EFI_FUNCTION_KEY_FOUR_MODIFIER 0x0019 |
1797 |
#define EFI_FUNCTION_KEY_FIVE_MODIFIER 0x001A |
1805 |
#define EFI_FUNCTION_KEY_FIVE_MODIFIER 0x001A |
1798 |
#define EFI_FUNCTION_KEY_SIX_MODIFIER 0x001B |
1806 |
#define EFI_FUNCTION_KEY_SIX_MODIFIER 0x001B |
1799 |
#define EFI_FUNCTION_KEY_SEVEN_MODIFIER 0x001C |
1807 |
#define EFI_FUNCTION_KEY_SEVEN_MODIFIER 0x001C |
1800 |
#define EFI_FUNCTION_KEY_EIGHT_MODIFIER 0x001D |
1808 |
#define EFI_FUNCTION_KEY_EIGHT_MODIFIER 0x001D |
1801 |
#define EFI_FUNCTION_KEY_NINE_MODIFIER 0x001E |
1809 |
#define EFI_FUNCTION_KEY_NINE_MODIFIER 0x001E |
1802 |
#define EFI_FUNCTION_KEY_TEN_MODIFIER 0x001F |
1810 |
#define EFI_FUNCTION_KEY_TEN_MODIFIER 0x001F |
1803 |
#define EFI_FUNCTION_KEY_ELEVEN_MODIFIER 0x0020 |
1811 |
#define EFI_FUNCTION_KEY_ELEVEN_MODIFIER 0x0020 |
1804 |
#define EFI_FUNCTION_KEY_TWELVE_MODIFIER 0x0021 |
1812 |
#define EFI_FUNCTION_KEY_TWELVE_MODIFIER 0x0021 |
1805 |
|
1813 |
|
1806 |
// |
1814 |
// |
1807 |
// Keys that have multiple control functions based on modifier |
1815 |
// Keys that have multiple control functions based on modifier |
Lines 1810-1824
typedef struct {
Link Here
|
1810 |
// is still a nonprinting character, but might have an alternate |
1818 |
// is still a nonprinting character, but might have an alternate |
1811 |
// control function like SYSREQUEST |
1819 |
// control function like SYSREQUEST |
1812 |
// |
1820 |
// |
1813 |
#define EFI_PRINT_MODIFIER 0x0022 |
1821 |
#define EFI_PRINT_MODIFIER 0x0022 |
1814 |
#define EFI_SYS_REQUEST_MODIFIER 0x0023 |
1822 |
#define EFI_SYS_REQUEST_MODIFIER 0x0023 |
1815 |
#define EFI_SCROLL_LOCK_MODIFIER 0x0024 |
1823 |
#define EFI_SCROLL_LOCK_MODIFIER 0x0024 |
1816 |
#define EFI_PAUSE_MODIFIER 0x0025 |
1824 |
#define EFI_PAUSE_MODIFIER 0x0025 |
1817 |
#define EFI_BREAK_MODIFIER 0x0026 |
1825 |
#define EFI_BREAK_MODIFIER 0x0026 |
1818 |
|
1826 |
|
1819 |
#define EFI_LEFT_LOGO_MODIFIER 0x0027 |
1827 |
#define EFI_LEFT_LOGO_MODIFIER 0x0027 |
1820 |
#define EFI_RIGHT_LOGO_MODIFIER 0x0028 |
1828 |
#define EFI_RIGHT_LOGO_MODIFIER 0x0028 |
1821 |
#define EFI_MENU_MODIFIER 0x0029 |
1829 |
#define EFI_MENU_MODIFIER 0x0029 |
1822 |
|
1830 |
|
1823 |
/// |
1831 |
/// |
1824 |
/// Animation IFR opcode |
1832 |
/// Animation IFR opcode |
Lines 1828-1838
typedef struct _EFI_IFR_ANIMATION {
Link Here
|
1828 |
/// Standard opcode header, where Header.OpCode is |
1836 |
/// Standard opcode header, where Header.OpCode is |
1829 |
/// EFI_IFR_ANIMATION_OP. |
1837 |
/// EFI_IFR_ANIMATION_OP. |
1830 |
/// |
1838 |
/// |
1831 |
EFI_IFR_OP_HEADER Header; |
1839 |
EFI_IFR_OP_HEADER Header; |
1832 |
/// |
1840 |
/// |
1833 |
/// Animation identifier in the HII database. |
1841 |
/// Animation identifier in the HII database. |
1834 |
/// |
1842 |
/// |
1835 |
EFI_ANIMATION_ID Id; |
1843 |
EFI_ANIMATION_ID Id; |
1836 |
} EFI_IFR_ANIMATION; |
1844 |
} EFI_IFR_ANIMATION; |
1837 |
|
1845 |
|
1838 |
/// |
1846 |
/// |
Lines 1842-1853
typedef struct _EFI_HII_ANIMATION_PACKAGE_HDR {
Link Here
|
1842 |
/// |
1850 |
/// |
1843 |
/// Standard package header, where Header.Type = EFI_HII_PACKAGE_ANIMATIONS. |
1851 |
/// Standard package header, where Header.Type = EFI_HII_PACKAGE_ANIMATIONS. |
1844 |
/// |
1852 |
/// |
1845 |
EFI_HII_PACKAGE_HEADER Header; |
1853 |
EFI_HII_PACKAGE_HEADER Header; |
1846 |
/// |
1854 |
/// |
1847 |
/// Offset, relative to this header, of the animation information. If |
1855 |
/// Offset, relative to this header, of the animation information. If |
1848 |
/// this is zero, then there are no animation sequences in the package. |
1856 |
/// this is zero, then there are no animation sequences in the package. |
1849 |
/// |
1857 |
/// |
1850 |
UINT32 AnimationInfoOffset; |
1858 |
UINT32 AnimationInfoOffset; |
1851 |
} EFI_HII_ANIMATION_PACKAGE_HDR; |
1859 |
} EFI_HII_ANIMATION_PACKAGE_HDR; |
1852 |
|
1860 |
|
1853 |
/// |
1861 |
/// |
Lines 1855-1880
typedef struct _EFI_HII_ANIMATION_PACKAGE_HDR {
Link Here
|
1855 |
/// with each block prefixed by a single byte header EFI_HII_ANIMATION_BLOCK. |
1863 |
/// with each block prefixed by a single byte header EFI_HII_ANIMATION_BLOCK. |
1856 |
/// |
1864 |
/// |
1857 |
typedef struct _EFI_HII_ANIMATION_BLOCK { |
1865 |
typedef struct _EFI_HII_ANIMATION_BLOCK { |
1858 |
UINT8 BlockType; |
1866 |
UINT8 BlockType; |
1859 |
//UINT8 BlockBody[]; |
1867 |
// UINT8 BlockBody[]; |
1860 |
} EFI_HII_ANIMATION_BLOCK; |
1868 |
} EFI_HII_ANIMATION_BLOCK; |
1861 |
|
1869 |
|
1862 |
/// |
1870 |
/// |
1863 |
/// Animation block types. |
1871 |
/// Animation block types. |
1864 |
/// |
1872 |
/// |
1865 |
#define EFI_HII_AIBT_END 0x00 |
1873 |
#define EFI_HII_AIBT_END 0x00 |
1866 |
#define EFI_HII_AIBT_OVERLAY_IMAGES 0x10 |
1874 |
#define EFI_HII_AIBT_OVERLAY_IMAGES 0x10 |
1867 |
#define EFI_HII_AIBT_CLEAR_IMAGES 0x11 |
1875 |
#define EFI_HII_AIBT_CLEAR_IMAGES 0x11 |
1868 |
#define EFI_HII_AIBT_RESTORE_SCRN 0x12 |
1876 |
#define EFI_HII_AIBT_RESTORE_SCRN 0x12 |
1869 |
#define EFI_HII_AIBT_OVERLAY_IMAGES_LOOP 0x18 |
1877 |
#define EFI_HII_AIBT_OVERLAY_IMAGES_LOOP 0x18 |
1870 |
#define EFI_HII_AIBT_CLEAR_IMAGES_LOOP 0x19 |
1878 |
#define EFI_HII_AIBT_CLEAR_IMAGES_LOOP 0x19 |
1871 |
#define EFI_HII_AIBT_RESTORE_SCRN_LOOP 0x1A |
1879 |
#define EFI_HII_AIBT_RESTORE_SCRN_LOOP 0x1A |
1872 |
#define EFI_HII_AIBT_DUPLICATE 0x20 |
1880 |
#define EFI_HII_AIBT_DUPLICATE 0x20 |
1873 |
#define EFI_HII_AIBT_SKIP2 0x21 |
1881 |
#define EFI_HII_AIBT_SKIP2 0x21 |
1874 |
#define EFI_HII_AIBT_SKIP1 0x22 |
1882 |
#define EFI_HII_AIBT_SKIP1 0x22 |
1875 |
#define EFI_HII_AIBT_EXT1 0x30 |
1883 |
#define EFI_HII_AIBT_EXT1 0x30 |
1876 |
#define EFI_HII_AIBT_EXT2 0x31 |
1884 |
#define EFI_HII_AIBT_EXT2 0x31 |
1877 |
#define EFI_HII_AIBT_EXT4 0x32 |
1885 |
#define EFI_HII_AIBT_EXT4 0x32 |
1878 |
|
1886 |
|
1879 |
/// |
1887 |
/// |
1880 |
/// Extended block headers used for variable sized animation records |
1888 |
/// Extended block headers used for variable sized animation records |
Lines 1885-1929
typedef struct _EFI_HII_AIBT_EXT1_BLOCK {
Link Here
|
1885 |
/// |
1893 |
/// |
1886 |
/// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT1. |
1894 |
/// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT1. |
1887 |
/// |
1895 |
/// |
1888 |
EFI_HII_ANIMATION_BLOCK Header; |
1896 |
EFI_HII_ANIMATION_BLOCK Header; |
1889 |
/// |
1897 |
/// |
1890 |
/// The block type. |
1898 |
/// The block type. |
1891 |
/// |
1899 |
/// |
1892 |
UINT8 BlockType2; |
1900 |
UINT8 BlockType2; |
1893 |
/// |
1901 |
/// |
1894 |
/// Size of the animation block, in bytes, including the animation block header. |
1902 |
/// Size of the animation block, in bytes, including the animation block header. |
1895 |
/// |
1903 |
/// |
1896 |
UINT8 Length; |
1904 |
UINT8 Length; |
1897 |
} EFI_HII_AIBT_EXT1_BLOCK; |
1905 |
} EFI_HII_AIBT_EXT1_BLOCK; |
1898 |
|
1906 |
|
1899 |
typedef struct _EFI_HII_AIBT_EXT2_BLOCK { |
1907 |
typedef struct _EFI_HII_AIBT_EXT2_BLOCK { |
1900 |
/// |
1908 |
/// |
1901 |
/// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT2. |
1909 |
/// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT2. |
1902 |
/// |
1910 |
/// |
1903 |
EFI_HII_ANIMATION_BLOCK Header; |
1911 |
EFI_HII_ANIMATION_BLOCK Header; |
1904 |
/// |
1912 |
/// |
1905 |
/// The block type |
1913 |
/// The block type |
1906 |
/// |
1914 |
/// |
1907 |
UINT8 BlockType2; |
1915 |
UINT8 BlockType2; |
1908 |
/// |
1916 |
/// |
1909 |
/// Size of the animation block, in bytes, including the animation block header. |
1917 |
/// Size of the animation block, in bytes, including the animation block header. |
1910 |
/// |
1918 |
/// |
1911 |
UINT16 Length; |
1919 |
UINT16 Length; |
1912 |
} EFI_HII_AIBT_EXT2_BLOCK; |
1920 |
} EFI_HII_AIBT_EXT2_BLOCK; |
1913 |
|
1921 |
|
1914 |
typedef struct _EFI_HII_AIBT_EXT4_BLOCK { |
1922 |
typedef struct _EFI_HII_AIBT_EXT4_BLOCK { |
1915 |
/// |
1923 |
/// |
1916 |
/// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT4. |
1924 |
/// Standard animation header, where Header.BlockType = EFI_HII_AIBT_EXT4. |
1917 |
/// |
1925 |
/// |
1918 |
EFI_HII_ANIMATION_BLOCK Header; |
1926 |
EFI_HII_ANIMATION_BLOCK Header; |
1919 |
/// |
1927 |
/// |
1920 |
/// The block type |
1928 |
/// The block type |
1921 |
/// |
1929 |
/// |
1922 |
UINT8 BlockType2; |
1930 |
UINT8 BlockType2; |
1923 |
/// |
1931 |
/// |
1924 |
/// Size of the animation block, in bytes, including the animation block header. |
1932 |
/// Size of the animation block, in bytes, including the animation block header. |
1925 |
/// |
1933 |
/// |
1926 |
UINT32 Length; |
1934 |
UINT32 Length; |
1927 |
} EFI_HII_AIBT_EXT4_BLOCK; |
1935 |
} EFI_HII_AIBT_EXT4_BLOCK; |
1928 |
|
1936 |
|
1929 |
typedef struct _EFI_HII_ANIMATION_CELL { |
1937 |
typedef struct _EFI_HII_ANIMATION_CELL { |
Lines 1931-1953
typedef struct _EFI_HII_ANIMATION_CELL {
Link Here
|
1931 |
/// The X offset from the upper left hand corner of the logical |
1939 |
/// The X offset from the upper left hand corner of the logical |
1932 |
/// window to position the indexed image. |
1940 |
/// window to position the indexed image. |
1933 |
/// |
1941 |
/// |
1934 |
UINT16 OffsetX; |
1942 |
UINT16 OffsetX; |
1935 |
/// |
1943 |
/// |
1936 |
/// The Y offset from the upper left hand corner of the logical |
1944 |
/// The Y offset from the upper left hand corner of the logical |
1937 |
/// window to position the indexed image. |
1945 |
/// window to position the indexed image. |
1938 |
/// |
1946 |
/// |
1939 |
UINT16 OffsetY; |
1947 |
UINT16 OffsetY; |
1940 |
/// |
1948 |
/// |
1941 |
/// The image to display at the specified offset from the upper left |
1949 |
/// The image to display at the specified offset from the upper left |
1942 |
/// hand corner of the logical window. |
1950 |
/// hand corner of the logical window. |
1943 |
/// |
1951 |
/// |
1944 |
EFI_IMAGE_ID ImageId; |
1952 |
EFI_IMAGE_ID ImageId; |
1945 |
/// |
1953 |
/// |
1946 |
/// The number of milliseconds to delay after displaying the indexed |
1954 |
/// The number of milliseconds to delay after displaying the indexed |
1947 |
/// image and before continuing on to the next linked image. If value |
1955 |
/// image and before continuing on to the next linked image. If value |
1948 |
/// is zero, no delay. |
1956 |
/// is zero, no delay. |
1949 |
/// |
1957 |
/// |
1950 |
UINT16 Delay; |
1958 |
UINT16 Delay; |
1951 |
} EFI_HII_ANIMATION_CELL; |
1959 |
} EFI_HII_ANIMATION_CELL; |
1952 |
|
1960 |
|
1953 |
/// |
1961 |
/// |
Lines 1963-1986
typedef struct _EFI_HII_AIBT_OVERLAY_IMAGES_BLOCK {
Link Here
|
1963 |
/// image that can be displayed alone. If the value is zero, no image |
1971 |
/// image that can be displayed alone. If the value is zero, no image |
1964 |
/// is displayed. |
1972 |
/// is displayed. |
1965 |
/// |
1973 |
/// |
1966 |
EFI_IMAGE_ID DftImageId; |
1974 |
EFI_IMAGE_ID DftImageId; |
1967 |
/// |
1975 |
/// |
1968 |
/// The overall width of the set of images (logical window width). |
1976 |
/// The overall width of the set of images (logical window width). |
1969 |
/// |
1977 |
/// |
1970 |
UINT16 Width; |
1978 |
UINT16 Width; |
1971 |
/// |
1979 |
/// |
1972 |
/// The overall height of the set of images (logical window height). |
1980 |
/// The overall height of the set of images (logical window height). |
1973 |
/// |
1981 |
/// |
1974 |
UINT16 Height; |
1982 |
UINT16 Height; |
1975 |
/// |
1983 |
/// |
1976 |
/// The number of EFI_HII_ANIMATION_CELL contained in the |
1984 |
/// The number of EFI_HII_ANIMATION_CELL contained in the |
1977 |
/// animation sequence. |
1985 |
/// animation sequence. |
1978 |
/// |
1986 |
/// |
1979 |
UINT16 CellCount; |
1987 |
UINT16 CellCount; |
1980 |
/// |
1988 |
/// |
1981 |
/// An array of CellCount animation cells. |
1989 |
/// An array of CellCount animation cells. |
1982 |
/// |
1990 |
/// |
1983 |
EFI_HII_ANIMATION_CELL AnimationCell[1]; |
1991 |
EFI_HII_ANIMATION_CELL AnimationCell[1]; |
1984 |
} EFI_HII_AIBT_OVERLAY_IMAGES_BLOCK; |
1992 |
} EFI_HII_AIBT_OVERLAY_IMAGES_BLOCK; |
1985 |
|
1993 |
|
1986 |
/// |
1994 |
/// |
Lines 1997-2025
typedef struct _EFI_HII_AIBT_CLEAR_IMAGES_BLOCK {
Link Here
|
1997 |
/// image that can be displayed alone. If the value is zero, no image |
2005 |
/// image that can be displayed alone. If the value is zero, no image |
1998 |
/// is displayed. |
2006 |
/// is displayed. |
1999 |
/// |
2007 |
/// |
2000 |
EFI_IMAGE_ID DftImageId; |
2008 |
EFI_IMAGE_ID DftImageId; |
2001 |
/// |
2009 |
/// |
2002 |
/// The overall width of the set of images (logical window width). |
2010 |
/// The overall width of the set of images (logical window width). |
2003 |
/// |
2011 |
/// |
2004 |
UINT16 Width; |
2012 |
UINT16 Width; |
2005 |
/// |
2013 |
/// |
2006 |
/// The overall height of the set of images (logical window height). |
2014 |
/// The overall height of the set of images (logical window height). |
2007 |
/// |
2015 |
/// |
2008 |
UINT16 Height; |
2016 |
UINT16 Height; |
2009 |
/// |
2017 |
/// |
2010 |
/// The number of EFI_HII_ANIMATION_CELL contained in the |
2018 |
/// The number of EFI_HII_ANIMATION_CELL contained in the |
2011 |
/// animation sequence. |
2019 |
/// animation sequence. |
2012 |
/// |
2020 |
/// |
2013 |
UINT16 CellCount; |
2021 |
UINT16 CellCount; |
2014 |
/// |
2022 |
/// |
2015 |
/// The color to clear the logical window to before displaying the |
2023 |
/// The color to clear the logical window to before displaying the |
2016 |
/// indexed image. |
2024 |
/// indexed image. |
2017 |
/// |
2025 |
/// |
2018 |
EFI_HII_RGB_PIXEL BackgndColor; |
2026 |
EFI_HII_RGB_PIXEL BackgndColor; |
2019 |
/// |
2027 |
/// |
2020 |
/// An array of CellCount animation cells. |
2028 |
/// An array of CellCount animation cells. |
2021 |
/// |
2029 |
/// |
2022 |
EFI_HII_ANIMATION_CELL AnimationCell[1]; |
2030 |
EFI_HII_ANIMATION_CELL AnimationCell[1]; |
2023 |
} EFI_HII_AIBT_CLEAR_IMAGES_BLOCK; |
2031 |
} EFI_HII_AIBT_CLEAR_IMAGES_BLOCK; |
2024 |
|
2032 |
|
2025 |
/// |
2033 |
/// |
Lines 2036-2080
typedef struct _EFI_HII_AIBT_RESTORE_SCRN_BLOCK {
Link Here
|
2036 |
/// image that can be displayed alone. If the value is zero, no image |
2044 |
/// image that can be displayed alone. If the value is zero, no image |
2037 |
/// is displayed. |
2045 |
/// is displayed. |
2038 |
/// |
2046 |
/// |
2039 |
EFI_IMAGE_ID DftImageId; |
2047 |
EFI_IMAGE_ID DftImageId; |
2040 |
/// |
2048 |
/// |
2041 |
/// The overall width of the set of images (logical window width). |
2049 |
/// The overall width of the set of images (logical window width). |
2042 |
/// |
2050 |
/// |
2043 |
UINT16 Width; |
2051 |
UINT16 Width; |
2044 |
/// |
2052 |
/// |
2045 |
/// The overall height of the set of images (logical window height). |
2053 |
/// The overall height of the set of images (logical window height). |
2046 |
/// |
2054 |
/// |
2047 |
UINT16 Height; |
2055 |
UINT16 Height; |
2048 |
/// |
2056 |
/// |
2049 |
/// The number of EFI_HII_ANIMATION_CELL contained in the |
2057 |
/// The number of EFI_HII_ANIMATION_CELL contained in the |
2050 |
/// animation sequence. |
2058 |
/// animation sequence. |
2051 |
/// |
2059 |
/// |
2052 |
UINT16 CellCount; |
2060 |
UINT16 CellCount; |
2053 |
/// |
2061 |
/// |
2054 |
/// An array of CellCount animation cells. |
2062 |
/// An array of CellCount animation cells. |
2055 |
/// |
2063 |
/// |
2056 |
EFI_HII_ANIMATION_CELL AnimationCell[1]; |
2064 |
EFI_HII_ANIMATION_CELL AnimationCell[1]; |
2057 |
} EFI_HII_AIBT_RESTORE_SCRN_BLOCK; |
2065 |
} EFI_HII_AIBT_RESTORE_SCRN_BLOCK; |
2058 |
|
2066 |
|
2059 |
/// |
2067 |
/// |
2060 |
/// An animation block to describe an animation sequence that continuously cycles, |
2068 |
/// An animation block to describe an animation sequence that continuously cycles, |
2061 |
/// and where one image is simply displayed over the previous image. |
2069 |
/// and where one image is simply displayed over the previous image. |
2062 |
/// |
2070 |
/// |
2063 |
typedef EFI_HII_AIBT_OVERLAY_IMAGES_BLOCK EFI_HII_AIBT_OVERLAY_IMAGES_LOOP_BLOCK; |
2071 |
typedef EFI_HII_AIBT_OVERLAY_IMAGES_BLOCK EFI_HII_AIBT_OVERLAY_IMAGES_LOOP_BLOCK; |
2064 |
|
2072 |
|
2065 |
/// |
2073 |
/// |
2066 |
/// An animation block to describe an animation sequence that continuously cycles, |
2074 |
/// An animation block to describe an animation sequence that continuously cycles, |
2067 |
/// and where the logical window is cleared to the specified color before |
2075 |
/// and where the logical window is cleared to the specified color before |
2068 |
/// the next image is displayed. |
2076 |
/// the next image is displayed. |
2069 |
/// |
2077 |
/// |
2070 |
typedef EFI_HII_AIBT_CLEAR_IMAGES_BLOCK EFI_HII_AIBT_CLEAR_IMAGES_LOOP_BLOCK; |
2078 |
typedef EFI_HII_AIBT_CLEAR_IMAGES_BLOCK EFI_HII_AIBT_CLEAR_IMAGES_LOOP_BLOCK; |
2071 |
|
2079 |
|
2072 |
/// |
2080 |
/// |
2073 |
/// An animation block to describe an animation sequence that continuously cycles, |
2081 |
/// An animation block to describe an animation sequence that continuously cycles, |
2074 |
/// and where the screen is restored to the original state before |
2082 |
/// and where the screen is restored to the original state before |
2075 |
/// the next image is displayed. |
2083 |
/// the next image is displayed. |
2076 |
/// |
2084 |
/// |
2077 |
typedef EFI_HII_AIBT_RESTORE_SCRN_BLOCK EFI_HII_AIBT_RESTORE_SCRN_LOOP_BLOCK; |
2085 |
typedef EFI_HII_AIBT_RESTORE_SCRN_BLOCK EFI_HII_AIBT_RESTORE_SCRN_LOOP_BLOCK; |
2078 |
|
2086 |
|
2079 |
/// |
2087 |
/// |
2080 |
/// Assigns a new character value to a previously defined animation sequence. |
2088 |
/// Assigns a new character value to a previously defined animation sequence. |
Lines 2084-2090
typedef struct _EFI_HII_AIBT_DUPLICATE_BLOCK {
Link Here
|
2084 |
/// The previously defined animation ID with the exact same |
2092 |
/// The previously defined animation ID with the exact same |
2085 |
/// animation information. |
2093 |
/// animation information. |
2086 |
/// |
2094 |
/// |
2087 |
EFI_ANIMATION_ID AnimationId; |
2095 |
EFI_ANIMATION_ID AnimationId; |
2088 |
} EFI_HII_AIBT_DUPLICATE_BLOCK; |
2096 |
} EFI_HII_AIBT_DUPLICATE_BLOCK; |
2089 |
|
2097 |
|
2090 |
/// |
2098 |
/// |
Lines 2094-2100
typedef struct _EFI_HII_AIBT_SKIP1_BLOCK {
Link Here
|
2094 |
/// |
2102 |
/// |
2095 |
/// The unsigned 8-bit value to add to AnimationIdCurrent. |
2103 |
/// The unsigned 8-bit value to add to AnimationIdCurrent. |
2096 |
/// |
2104 |
/// |
2097 |
UINT8 SkipCount; |
2105 |
UINT8 SkipCount; |
2098 |
} EFI_HII_AIBT_SKIP1_BLOCK; |
2106 |
} EFI_HII_AIBT_SKIP1_BLOCK; |
2099 |
|
2107 |
|
2100 |
/// |
2108 |
/// |
Lines 2104-2116
typedef struct _EFI_HII_AIBT_SKIP2_BLOCK {
Link Here
|
2104 |
/// |
2112 |
/// |
2105 |
/// The unsigned 16-bit value to add to AnimationIdCurrent. |
2113 |
/// The unsigned 16-bit value to add to AnimationIdCurrent. |
2106 |
/// |
2114 |
/// |
2107 |
UINT16 SkipCount; |
2115 |
UINT16 SkipCount; |
2108 |
} EFI_HII_AIBT_SKIP2_BLOCK; |
2116 |
} EFI_HII_AIBT_SKIP2_BLOCK; |
2109 |
|
2117 |
|
2110 |
#pragma pack() |
2118 |
#pragma pack() |
2111 |
|
2119 |
|
2112 |
|
|
|
2113 |
|
2114 |
/// |
2120 |
/// |
2115 |
/// References to string tokens must use this macro to enable scanning for |
2121 |
/// References to string tokens must use this macro to enable scanning for |
2116 |
/// token usages. |
2122 |
/// token usages. |
Lines 2119-2130
typedef struct _EFI_HII_AIBT_SKIP2_BLOCK {
Link Here
|
2119 |
/// STRING_TOKEN is not defined in UEFI specification. But it is placed |
2125 |
/// STRING_TOKEN is not defined in UEFI specification. But it is placed |
2120 |
/// here for the easy access by C files and VFR source files. |
2126 |
/// here for the easy access by C files and VFR source files. |
2121 |
/// |
2127 |
/// |
2122 |
#define STRING_TOKEN(t) t |
2128 |
#define STRING_TOKEN(t) t |
2123 |
|
2129 |
|
2124 |
/// |
2130 |
/// |
2125 |
/// IMAGE_TOKEN is not defined in UEFI specification. But it is placed |
2131 |
/// IMAGE_TOKEN is not defined in UEFI specification. But it is placed |
2126 |
/// here for the easy access by C files and VFR source files. |
2132 |
/// here for the easy access by C files and VFR source files. |
2127 |
/// |
2133 |
/// |
2128 |
#define IMAGE_TOKEN(t) t |
2134 |
#define IMAGE_TOKEN(t) t |
2129 |
|
2135 |
|
2130 |
#endif |
2136 |
#endif |