Per UEFI spec, on CallBack action EFI_BROWSER_ACTION_CHANGING, the return value of...
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / BdsDxe / BootMaint / Bm.vfr
1 ///** @file
2 //
3 // Boot Maintenance Utility Formset
4 //
5 // Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
6 // This program and the accompanying materials
7 // are licensed and made available under the terms and conditions of the BSD License
8 // which accompanies this distribution. The full text of the license may be found at
9 // http://opensource.org/licenses/bsd-license.php
10 //
11 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 //
14 //**/
15
16 #include "FormGuid.h"
17
18 formset
19 guid = BOOT_MAINT_FORMSET_GUID,
20 title = STRING_TOKEN(STR_FORM_MAIN_TITLE),
21 help = STRING_TOKEN(STR_NULL_STRING),
22 classguid = BOOT_MAINT_FORMSET_GUID,
23 class = 0,
24 subclass = 0,
25
26 varstore BMM_FAKE_NV_DATA,
27 varid = VARSTORE_ID_BOOT_MAINT,
28 name = BmmData,
29 guid = BOOT_MAINT_FORMSET_GUID;
30
31 form formid = FORM_MAIN_ID,
32 title = STRING_TOKEN(STR_FORM_MAIN_TITLE);
33
34 goto FORM_BOOT_SETUP_ID,
35 prompt = STRING_TOKEN(STR_FORM_BOOT_SETUP_TITLE),
36 help = STRING_TOKEN(STR_FORM_BOOT_SETUP_HELP),
37 flags = INTERACTIVE,
38 key = FORM_BOOT_SETUP_ID;
39
40 subtitle text = STRING_TOKEN(STR_NULL_STRING);
41
42 goto FORM_DRIVER_SETUP_ID,
43 prompt = STRING_TOKEN(STR_FORM_DRIVER_SETUP_TITLE),
44 help = STRING_TOKEN(STR_FORM_DRIVER_SETUP_HELP),
45 flags = INTERACTIVE,
46 key = FORM_DRIVER_SETUP_ID;
47
48 subtitle text = STRING_TOKEN(STR_NULL_STRING);
49
50 goto FORM_CON_MAIN_ID,
51 prompt = STRING_TOKEN(STR_FORM_CON_MAIN_TITLE),
52 help = STRING_TOKEN(STR_FORM_CON_MAIN_HELP),
53 flags = INTERACTIVE,
54 key = FORM_CON_MAIN_ID;
55
56 subtitle text = STRING_TOKEN(STR_NULL_STRING);
57
58 goto FORM_CON_MAIN_ID,
59 prompt = STRING_TOKEN(STR_BOOT_FROM_FILE),
60 help = STRING_TOKEN(STR_BOOT_FROM_FILE_HELP),
61 flags = INTERACTIVE,
62 key = KEY_VALUE_BOOT_FROM_FILE;
63
64 subtitle text = STRING_TOKEN(STR_NULL_STRING);
65
66 // label FORM_MAIN_ID;
67
68 goto FORM_BOOT_NEXT_ID,
69 prompt = STRING_TOKEN(STR_FORM_BOOT_NEXT_TITLE),
70 help = STRING_TOKEN(STR_FORM_BOOT_NEXT_HELP),
71 flags = INTERACTIVE,
72 key = FORM_BOOT_NEXT_ID;
73
74 goto FORM_TIME_OUT_ID,
75 prompt = STRING_TOKEN(STR_FORM_TIME_OUT_TITLE),
76 help = STRING_TOKEN(STR_FORM_TIME_OUT_HELP),
77 flags = INTERACTIVE,
78 key = FORM_TIME_OUT_ID;
79
80 subtitle text = STRING_TOKEN(STR_NULL_STRING);
81
82 text
83 help = STRING_TOKEN(STR_RESET),
84 text = STRING_TOKEN(STR_RESET),
85 text = STRING_TOKEN(STR_NULL_STRING),
86 flags = INTERACTIVE,
87 key = FORM_RESET;
88
89 endform;
90
91 form formid = FORM_BOOT_SETUP_ID,
92 title = STRING_TOKEN(STR_FORM_BOOT_SETUP_TITLE);
93
94 goto FORM_MAIN_ID,
95 prompt = STRING_TOKEN(STR_FORM_GOTO_MAIN),
96 help = STRING_TOKEN(STR_FORM_GOTO_MAIN);
97 //flags = INTERACTIVE,
98 //key = FORM_MAIN_ID;
99
100 goto FORM_BOOT_ADD_ID,
101 prompt = STRING_TOKEN(STR_FORM_BOOT_ADD_TITLE),
102 help = STRING_TOKEN(STR_FORM_BOOT_ADD_HELP),
103 flags = INTERACTIVE,
104 key = FORM_BOOT_ADD_ID;
105
106 goto FORM_BOOT_DEL_ID,
107 prompt = STRING_TOKEN(STR_FORM_BOOT_DEL_TITLE),
108 help = STRING_TOKEN(STR_FORM_BOOT_IMMEDIATE_HELP),
109 flags = INTERACTIVE,
110 key = FORM_BOOT_DEL_ID;
111
112 goto FORM_BOOT_CHG_ID,
113 prompt = STRING_TOKEN(STR_FORM_BOOT_CHG_TITLE),
114 help = STRING_TOKEN(STR_FORM_BOOT_IMMEDIATE_HELP),
115 flags = INTERACTIVE,
116 key = FORM_BOOT_CHG_ID;
117
118 subtitle text = STRING_TOKEN(STR_NULL_STRING);
119 //
120 // We will add "Select Legacy Boot Floppy Drive" and "Select Legacy Boot Hard Drive"
121 // here dynamically
122 //
123 label FORM_BOOT_LEGACY_DEVICE_ID;
124 label LABEL_END;
125
126 endform;
127
128 form formid = FORM_DRIVER_SETUP_ID,
129 title = STRING_TOKEN(STR_FORM_DRIVER_SETUP_TITLE);
130
131 goto FORM_MAIN_ID,
132 prompt = STRING_TOKEN(STR_FORM_GOTO_MAIN),
133 help = STRING_TOKEN(STR_FORM_GOTO_MAIN);
134 //help = STRING_TOKEN(STR_FORM_GOTO_MAIN),
135 //flags = INTERACTIVE,
136 //key = FORM_MAIN_ID;
137
138 goto FORM_DRV_ADD_ID,
139 prompt = STRING_TOKEN(STR_FORM_DRV_ADD_TITLE),
140 help = STRING_TOKEN(STR_FORM_DRV_ADD_HELP),
141 flags = INTERACTIVE,
142 key = FORM_DRV_ADD_ID;
143
144 goto FORM_DRV_DEL_ID,
145 prompt = STRING_TOKEN(STR_FORM_DRV_DEL_TITLE),
146 help = STRING_TOKEN(STR_FORM_NEXT_BOOT_HELP),
147 flags = INTERACTIVE,
148 key = FORM_DRV_DEL_ID;
149
150 goto FORM_DRV_CHG_ID,
151 prompt = STRING_TOKEN(STR_FORM_DRV_CHG_TITLE),
152 help = STRING_TOKEN(STR_FORM_NEXT_BOOT_HELP),
153 flags = INTERACTIVE,
154 key = FORM_DRV_CHG_ID;
155 endform;
156
157 form formid = FORM_BOOT_ADD_ID,
158 title = STRING_TOKEN(STR_FORM_BOOT_ADD_TITLE);
159
160 label FORM_BOOT_ADD_ID;
161 label LABEL_END;
162 endform;
163
164 form formid = FORM_BOOT_DEL_ID,
165 title = STRING_TOKEN(STR_FORM_BOOT_DEL_TITLE);
166
167 label FORM_BOOT_DEL_ID;
168 label LABEL_END;
169 endform;
170
171 form formid = FORM_BOOT_CHG_ID,
172 title = STRING_TOKEN(STR_FORM_BOOT_CHG_TITLE);
173
174 label FORM_BOOT_CHG_ID;
175 label LABEL_END;
176
177 endform;
178
179 form formid = FORM_BOOT_NEXT_ID,
180 title = STRING_TOKEN(STR_FORM_BOOT_NEXT_TITLE);
181
182 label FORM_BOOT_NEXT_ID;
183 label LABEL_END;
184 endform;
185
186 form formid = FORM_TIME_OUT_ID,
187 title = STRING_TOKEN(STR_FORM_TIME_OUT_TITLE);
188
189 label FORM_TIME_OUT_ID;
190 label LABEL_END;
191 endform;
192
193 form formid = FORM_DRV_ADD_ID,
194 title = STRING_TOKEN(STR_FORM_DRV_ADD_TITLE);
195
196 goto FORM_MAIN_ID,
197 prompt = STRING_TOKEN(STR_FORM_GOTO_MAIN),
198 help = STRING_TOKEN(STR_FORM_GOTO_MAIN);
199 //flags = INTERACTIVE,
200 //key = FORM_MAIN_ID;
201
202 goto FORM_DRV_ADD_FILE_ID,
203 prompt = STRING_TOKEN(STR_FORM_DRV_ADD_FILE_TITLE),
204 help = STRING_TOKEN(STR_FORM_DRV_ADD_FILE_TITLE),
205 flags = INTERACTIVE,
206 key = FORM_DRV_ADD_FILE_ID;
207
208 endform;
209
210 form formid = FORM_DRV_DEL_ID,
211 title = STRING_TOKEN(STR_FORM_DRV_DEL_TITLE);
212
213 label FORM_DRV_DEL_ID;
214 label LABEL_END;
215
216 endform;
217
218 form formid = FORM_DRV_CHG_ID,
219 title = STRING_TOKEN(STR_FORM_DRV_CHG_TITLE);
220
221 label FORM_DRV_CHG_ID;
222 label LABEL_END;
223
224 endform;
225
226 form formid = FORM_CON_MAIN_ID,
227 title = STRING_TOKEN(STR_FORM_CON_MAIN_TITLE);
228
229 goto FORM_MAIN_ID,
230 prompt = STRING_TOKEN(STR_FORM_GOTO_MAIN),
231 help = STRING_TOKEN(STR_FORM_GOTO_MAIN);
232 //flags = INTERACTIVE,
233 //key = FORM_MAIN_ID;
234
235 goto FORM_CON_IN_ID,
236 prompt = STRING_TOKEN(STR_FORM_CON_IN_TITLE),
237 help = STRING_TOKEN(STR_FORM_CON_IN_HELP),
238 flags = INTERACTIVE,
239 key = FORM_CON_IN_ID;
240
241 goto FORM_CON_OUT_ID,
242 prompt = STRING_TOKEN(STR_FORM_CON_OUT_TITLE),
243 help = STRING_TOKEN(STR_FORM_CON_OUT_HELP),
244 flags = INTERACTIVE,
245 key = FORM_CON_OUT_ID;
246
247 goto FORM_CON_ERR_ID,
248 prompt = STRING_TOKEN(STR_FORM_STD_ERR_TITLE),
249 help = STRING_TOKEN(STR_FORM_STD_ERR_HELP),
250 flags = INTERACTIVE,
251 key = FORM_CON_ERR_ID;
252
253 goto FORM_CON_MODE_ID,
254 prompt = STRING_TOKEN(STR_FORM_MODE_TITLE),
255 help = STRING_TOKEN(STR_FORM_MODE_HELP),
256 flags = INTERACTIVE,
257 key = FORM_CON_MODE_ID;
258
259 goto FORM_CON_COM_ID,
260 prompt = STRING_TOKEN(STR_FORM_COM_TITLE),
261 help = STRING_TOKEN(STR_FORM_COM_HELP),
262 flags = INTERACTIVE,
263 key = FORM_CON_COM_ID;
264 endform;
265
266 form formid = FORM_CON_MODE_ID,
267 title = STRING_TOKEN(STR_FORM_MODE_TITLE);
268
269 label FORM_CON_MODE_ID;
270 label LABEL_END;
271 endform;
272
273 form formid = FORM_CON_COM_ID,
274 title = STRING_TOKEN(STR_FORM_COM_TITLE);
275
276 label FORM_CON_COM_ID;
277 label LABEL_END;
278 endform;
279
280 form formid = FORM_CON_COM_SETUP_ID,
281 title = STRING_TOKEN(STR_CON_COM_SETUP);
282
283 label FORM_CON_COM_SETUP_ID;
284 label LABEL_END;
285 endform;
286
287 form formid = FORM_FILE_SEEK_ID,
288 title = STRING_TOKEN(STR_FORM_BOOT_ADD_TITLE);
289
290 label FORM_FILE_SEEK_ID;
291 label LABEL_END;
292 endform;
293
294 form formid = FORM_FILE_NEW_SEEK_ID,
295 title = STRING_TOKEN(STR_FORM_BOOT_ADD_TITLE);
296
297 label FORM_FILE_NEW_SEEK_ID;
298 label LABEL_END;
299 endform;
300
301 form formid = FORM_DRV_ADD_FILE_ID,
302 title = STRING_TOKEN(STR_FORM_DRV_ADD_FILE_TITLE);
303
304 label FORM_DRV_ADD_FILE_ID;
305 label LABEL_END;
306 endform;
307
308 form formid = FORM_DRV_ADD_HANDLE_ID,
309 title = STRING_TOKEN(STR_FORM_DRV_ADD_HANDLE_TITLE);
310
311 label FORM_DRV_ADD_HANDLE_ID;
312 label LABEL_END;
313 endform;
314
315 form formid = FORM_DRV_ADD_HANDLE_DESC_ID,
316 title = STRING_TOKEN(STR_FORM_DRV_ADD_DESC_TITLE);
317
318 label FORM_DRV_ADD_HANDLE_DESC_ID;
319 label LABEL_END;
320
321 endform;
322
323 form formid = FORM_CON_IN_ID,
324 title = STRING_TOKEN(STR_FORM_CON_IN_TITLE);
325
326 label FORM_CON_IN_ID;
327 label LABEL_END;
328
329 endform;
330
331 form formid = FORM_CON_OUT_ID,
332 title = STRING_TOKEN(STR_FORM_CON_OUT_TITLE);
333
334 label FORM_CON_OUT_ID;
335 label LABEL_END;
336
337 endform;
338
339 form formid = FORM_CON_ERR_ID,
340 title = STRING_TOKEN(STR_FORM_STD_ERR_TITLE);
341
342 label FORM_CON_ERR_ID;
343 label LABEL_END;
344
345 endform;
346
347 form formid = FORM_SET_FD_ORDER_ID,
348 title = STRING_TOKEN(STR_FORM_SET_FD_ORDER_TITLE);
349
350 label FORM_SET_FD_ORDER_ID;
351 label LABEL_END;
352 endform;
353
354 form formid = FORM_SET_HD_ORDER_ID,
355 title = STRING_TOKEN(STR_FORM_SET_HD_ORDER_TITLE);
356
357 label FORM_SET_HD_ORDER_ID;
358 label LABEL_END;
359 endform;
360
361 form formid = FORM_SET_CD_ORDER_ID,
362 title = STRING_TOKEN(STR_FORM_SET_CD_ORDER_TITLE);
363
364 label FORM_SET_CD_ORDER_ID;
365 label LABEL_END;
366 endform;
367
368 form formid = FORM_SET_NET_ORDER_ID,
369 title = STRING_TOKEN(STR_FORM_SET_NET_ORDER_TITLE);
370
371 label FORM_SET_NET_ORDER_ID;
372 label LABEL_END;
373 endform;
374
375 form formid = FORM_SET_BEV_ORDER_ID,
376 title = STRING_TOKEN(STR_FORM_SET_BEV_ORDER_TITLE);
377
378 label FORM_SET_BEV_ORDER_ID;
379 label LABEL_END;
380 endform;
381
382 endformset;