TianoCore EDK2 master
Loading...
Searching...
No Matches
MdeModuleHii.h
Go to the documentation of this file.
1
9#ifndef __MDEMODULE_HII_H__
10#define __MDEMODULE_HII_H__
11
12#define NARROW_CHAR 0xFFF0
13#define WIDE_CHAR 0xFFF1
14#define NON_BREAKING_CHAR 0xFFF2
15
19#define BROWSER_STATE_VALIDATE_PASSWORD 0
20#define BROWSER_STATE_SET_PASSWORD 1
21
25#define EFI_IFR_TIANO_GUID \
26 { 0xf0b1735, 0x87a0, 0x4193, {0xb2, 0x66, 0x53, 0x8c, 0x38, 0xaf, 0x48, 0xce} }
27
28#pragma pack(1)
29
33#define EFI_IFR_EXTEND_OP_LABEL 0x0
34#define EFI_IFR_EXTEND_OP_BANNER 0x1
35#define EFI_IFR_EXTEND_OP_TIMEOUT 0x2
36#define EFI_IFR_EXTEND_OP_CLASS 0x3
37#define EFI_IFR_EXTEND_OP_SUBCLASS 0x4
38
42typedef struct _EFI_IFR_GUID_LABEL {
43 EFI_IFR_OP_HEADER Header;
55 UINT16 Number;
57
58#define EFI_IFR_BANNER_ALIGN_LEFT 0
59#define EFI_IFR_BANNER_ALIGN_CENTER 1
60#define EFI_IFR_BANNER_ALIGN_RIGHT 2
61
65typedef struct _EFI_IFR_GUID_BANNER {
66 EFI_IFR_OP_HEADER Header;
75 EFI_STRING_ID Title;
76 UINT16 LineNumber;
77 UINT8 Alignment;
79
83typedef struct _EFI_IFR_GUID_TIMEOUT {
84 EFI_IFR_OP_HEADER Header;
93 UINT16 TimeOut;
95
96#define EFI_NON_DEVICE_CLASS 0x00
97#define EFI_DISK_DEVICE_CLASS 0x01
98#define EFI_VIDEO_DEVICE_CLASS 0x02
99#define EFI_NETWORK_DEVICE_CLASS 0x04
100#define EFI_INPUT_DEVICE_CLASS 0x08
101#define EFI_ON_BOARD_DEVICE_CLASS 0x10
102#define EFI_OTHER_DEVICE_CLASS 0x20
103
107typedef struct _EFI_IFR_GUID_CLASS {
108 EFI_IFR_OP_HEADER Header;
117 UINT16 Class;
119
120#define EFI_SETUP_APPLICATION_SUBCLASS 0x00
121#define EFI_GENERAL_APPLICATION_SUBCLASS 0x01
122#define EFI_FRONT_PAGE_SUBCLASS 0x02
123#define EFI_SINGLE_USE_SUBCLASS 0x03
124
129 EFI_IFR_OP_HEADER Header;
138 UINT16 SubClass;
140
144#define EFI_IFR_FRAMEWORK_GUID \
145 { 0x31ca5d1a, 0xd511, 0x4931, { 0xb7, 0x82, 0xae, 0x6b, 0x2b, 0x17, 0x8c, 0xd7 } }
146
152#define EFI_IFR_EXTEND_OP_OPTIONKEY 0x0
153#define EFI_IFR_EXTEND_OP_VAREQNAME 0x1
154
159 EFI_IFR_OP_HEADER Header;
171 EFI_QUESTION_ID QuestionId;
179 UINT16 KeyValue;
181
186 EFI_IFR_OP_HEADER Header;
198 EFI_QUESTION_ID QuestionId;
205 UINT16 NameId;
207
211#define EDKII_IFR_BIT_VARSTORE_GUID \
212 {0x82DDD68B, 0x9163, 0x4187, {0x9B, 0x27, 0x20, 0xA8, 0xFD, 0x60,0xA7, 0x1D}}
213
218#define EDKII_IFR_DISPLAY_BIT 0xC0
219#define EDKII_IFR_DISPLAY_INT_DEC_BIT 0x00
220#define EDKII_IFR_DISPLAY_UINT_DEC_BIT 0x40
221#define EDKII_IFR_DISPLAY_UINT_HEX_BIT 0x80
222
223#define EDKII_IFR_NUMERIC_SIZE_BIT 0x3F
224
225#pragma pack()
226
227extern EFI_GUID gEfiIfrTianoGuid;
228extern EFI_GUID gEfiIfrFrameworkGuid;
229extern EFI_GUID gEdkiiIfrBitVarstoreGuid;
230
231#endif
struct _EFI_IFR_GUID_OPTIONKEY EFI_IFR_GUID_OPTIONKEY
struct _EFI_IFR_GUID_CLASS EFI_IFR_GUID_CLASS
struct _EFI_IFR_GUID_SUBCLASS EFI_IFR_GUID_SUBCLASS
struct _EFI_IFR_GUID_VAREQNAME EFI_IFR_GUID_VAREQNAME
struct _EFI_IFR_GUID_BANNER EFI_IFR_GUID_BANNER
struct _EFI_IFR_GUID_LABEL EFI_IFR_GUID_LABEL
struct _EFI_IFR_GUID_TIMEOUT EFI_IFR_GUID_TIMEOUT
UINT8 Alignment
left, center, or right-aligned.
Definition: MdeModuleHii.h:77
EFI_STRING_ID Title
The string token for the banner title.
Definition: MdeModuleHii.h:75
UINT16 LineNumber
1-based line number.
Definition: MdeModuleHii.h:76
UINT16 Class
Device Class from the above.
Definition: MdeModuleHii.h:117
EFI_IFR_TYPE_VALUE OptionValue
Definition: MdeModuleHii.h:175
EFI_QUESTION_ID QuestionId
Definition: MdeModuleHii.h:171
UINT16 SubClass
Sub Class type from the above.
Definition: MdeModuleHii.h:138
UINT16 TimeOut
TimeOut Value.
Definition: MdeModuleHii.h:93
EFI_QUESTION_ID QuestionId
Definition: MdeModuleHii.h:198
Definition: Base.h:213