• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
18formset
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
24  varstore BMM_FAKE_NV_DATA,
25    varid = VARSTORE_ID_BOOT_MAINT,
26    name = BmmData,
27    guid = BOOT_MAINT_FORMSET_GUID;
28
29  form formid = FORM_MAIN_ID,
30       title = STRING_TOKEN(STR_FORM_MAIN_TITLE);
31
32    goto FORM_BOOT_SETUP_ID,
33         prompt = STRING_TOKEN(STR_FORM_BOOT_SETUP_TITLE),
34         help = STRING_TOKEN(STR_FORM_BOOT_SETUP_HELP),
35         flags = INTERACTIVE,
36         key = FORM_BOOT_SETUP_ID;
37
38    subtitle text = STRING_TOKEN(STR_NULL_STRING);
39
40    goto FORM_DRIVER_SETUP_ID,
41         prompt = STRING_TOKEN(STR_FORM_DRIVER_SETUP_TITLE),
42         help = STRING_TOKEN(STR_FORM_DRIVER_SETUP_HELP),
43         flags = INTERACTIVE,
44         key = FORM_DRIVER_SETUP_ID;
45
46    subtitle text = STRING_TOKEN(STR_NULL_STRING);
47
48    goto FORM_CON_MAIN_ID,
49         prompt = STRING_TOKEN(STR_FORM_CON_MAIN_TITLE),
50         help = STRING_TOKEN(STR_FORM_CON_MAIN_HELP),
51         flags = INTERACTIVE,
52         key = FORM_CON_MAIN_ID;
53
54    subtitle text = STRING_TOKEN(STR_NULL_STRING);
55
56    goto FORM_BOOT_FROM_FILE_ID,
57         prompt = STRING_TOKEN(STR_BOOT_FROM_FILE),
58         help   = STRING_TOKEN(STR_BOOT_FROM_FILE_HELP),
59         flags = INTERACTIVE,
60         key = KEY_VALUE_BOOT_FROM_FILE;
61
62    subtitle text = STRING_TOKEN(STR_NULL_STRING);
63
64//    label FORM_MAIN_ID;
65
66    goto FORM_BOOT_NEXT_ID,
67         prompt = STRING_TOKEN(STR_FORM_BOOT_NEXT_TITLE),
68         help = STRING_TOKEN(STR_FORM_BOOT_NEXT_HELP),
69         flags = INTERACTIVE,
70         key = FORM_BOOT_NEXT_ID;
71
72    goto FORM_TIME_OUT_ID,
73         prompt = STRING_TOKEN(STR_FORM_TIME_OUT_TITLE),
74         help = STRING_TOKEN(STR_FORM_TIME_OUT_HELP),
75         flags = INTERACTIVE,
76         key = FORM_TIME_OUT_ID;
77
78    subtitle text = STRING_TOKEN(STR_NULL_STRING);
79
80    text
81         help   = STRING_TOKEN(STR_RESET),
82         text   = STRING_TOKEN(STR_RESET),
83         flags  = INTERACTIVE,
84         key    = FORM_RESET;
85
86  endform;
87
88  form formid = FORM_BOOT_SETUP_ID,
89       title = STRING_TOKEN(STR_FORM_BOOT_SETUP_TITLE);
90
91       goto FORM_MAIN_ID,
92            prompt = STRING_TOKEN(STR_FORM_GOTO_MAIN),
93            help = STRING_TOKEN(STR_FORM_GOTO_MAIN);
94            //flags = INTERACTIVE,
95            //key = FORM_MAIN_ID;
96
97       goto FORM_BOOT_ADD_ID,
98            prompt = STRING_TOKEN(STR_FORM_BOOT_ADD_TITLE),
99            help = STRING_TOKEN(STR_FORM_BOOT_ADD_HELP),
100            flags = INTERACTIVE,
101            key = FORM_BOOT_ADD_ID;
102
103       goto FORM_BOOT_DEL_ID,
104            prompt = STRING_TOKEN(STR_FORM_BOOT_DEL_TITLE),
105            help = STRING_TOKEN(STR_FORM_BOOT_IMMEDIATE_HELP),
106            flags = INTERACTIVE,
107            key = FORM_BOOT_DEL_ID;
108
109       goto FORM_BOOT_CHG_ID,
110            prompt = STRING_TOKEN(STR_FORM_BOOT_CHG_TITLE),
111            help = STRING_TOKEN(STR_FORM_BOOT_IMMEDIATE_HELP),
112            flags = INTERACTIVE,
113            key = FORM_BOOT_CHG_ID;
114
115       subtitle text = STRING_TOKEN(STR_NULL_STRING);
116           //
117	   // We will add "Select Legacy Boot Floppy Drive" and "Select Legacy Boot Hard Drive"
118	   // here dynamically
119	   //
120       label FORM_BOOT_LEGACY_DEVICE_ID;
121       label LABEL_END;
122
123  endform;
124
125  form formid = FORM_DRIVER_SETUP_ID,
126       title = STRING_TOKEN(STR_FORM_DRIVER_SETUP_TITLE);
127
128       goto FORM_MAIN_ID,
129            prompt = STRING_TOKEN(STR_FORM_GOTO_MAIN),
130            help = STRING_TOKEN(STR_FORM_GOTO_MAIN);
131            //help = STRING_TOKEN(STR_FORM_GOTO_MAIN),
132            //flags = INTERACTIVE,
133            //key = FORM_MAIN_ID;
134
135       goto FORM_DRV_ADD_ID,
136            prompt = STRING_TOKEN(STR_FORM_DRV_ADD_TITLE),
137            help = STRING_TOKEN(STR_FORM_DRV_ADD_HELP),
138            flags = INTERACTIVE,
139            key = FORM_DRV_ADD_ID;
140
141       goto FORM_DRV_DEL_ID,
142            prompt = STRING_TOKEN(STR_FORM_DRV_DEL_TITLE),
143            help = STRING_TOKEN(STR_FORM_NEXT_BOOT_HELP),
144            flags = INTERACTIVE,
145            key = FORM_DRV_DEL_ID;
146
147       goto FORM_DRV_CHG_ID,
148            prompt = STRING_TOKEN(STR_FORM_DRV_CHG_TITLE),
149            help = STRING_TOKEN(STR_FORM_NEXT_BOOT_HELP),
150            flags = INTERACTIVE,
151            key = FORM_DRV_CHG_ID;
152  endform;
153
154  form formid = FORM_BOOT_DEL_ID,
155       title = STRING_TOKEN(STR_FORM_BOOT_DEL_TITLE);
156
157       label FORM_BOOT_DEL_ID;
158       label LABEL_END;
159  endform;
160
161  form formid = FORM_BOOT_CHG_ID,
162       title = STRING_TOKEN(STR_FORM_BOOT_CHG_TITLE);
163
164       label FORM_BOOT_CHG_ID;
165       label LABEL_END;
166
167  endform;
168
169  form formid = FORM_BOOT_NEXT_ID,
170       title = STRING_TOKEN(STR_FORM_BOOT_NEXT_TITLE);
171
172       label FORM_BOOT_NEXT_ID;
173       label LABEL_END;
174  endform;
175
176  form formid = FORM_TIME_OUT_ID,
177       title = STRING_TOKEN(STR_FORM_TIME_OUT_TITLE);
178
179       label FORM_TIME_OUT_ID;
180       label LABEL_END;
181  endform;
182
183  form formid = FORM_DRV_ADD_ID,
184       title = STRING_TOKEN(STR_FORM_DRV_ADD_TITLE);
185
186       goto FORM_MAIN_ID,
187            prompt = STRING_TOKEN(STR_FORM_GOTO_MAIN),
188            help = STRING_TOKEN(STR_FORM_GOTO_MAIN);
189            //flags = INTERACTIVE,
190            //key = FORM_MAIN_ID;
191
192       goto FORM_DRV_ADD_FILE_ID,
193            prompt = STRING_TOKEN(STR_FORM_DRV_ADD_FILE_TITLE),
194            help = STRING_TOKEN(STR_FORM_DRV_ADD_FILE_TITLE),
195            flags = INTERACTIVE,
196            key = FORM_DRV_ADD_FILE_ID;
197
198  endform;
199
200  form formid = FORM_DRV_DEL_ID,
201       title = STRING_TOKEN(STR_FORM_DRV_DEL_TITLE);
202
203       label FORM_DRV_DEL_ID;
204       label LABEL_END;
205
206  endform;
207
208  form formid = FORM_DRV_CHG_ID,
209       title = STRING_TOKEN(STR_FORM_DRV_CHG_TITLE);
210
211       label FORM_DRV_CHG_ID;
212       label LABEL_END;
213
214  endform;
215
216  form formid = FORM_CON_MAIN_ID,
217       title = STRING_TOKEN(STR_FORM_CON_MAIN_TITLE);
218
219       goto FORM_MAIN_ID,
220       prompt = STRING_TOKEN(STR_FORM_GOTO_MAIN),
221       help = STRING_TOKEN(STR_FORM_GOTO_MAIN);
222       //flags = INTERACTIVE,
223       //key = FORM_MAIN_ID;
224
225       goto FORM_CON_IN_ID,
226       prompt = STRING_TOKEN(STR_FORM_CON_IN_TITLE),
227       help = STRING_TOKEN(STR_FORM_CON_IN_HELP),
228       flags = INTERACTIVE,
229       key = FORM_CON_IN_ID;
230
231       goto FORM_CON_OUT_ID,
232       prompt = STRING_TOKEN(STR_FORM_CON_OUT_TITLE),
233       help = STRING_TOKEN(STR_FORM_CON_OUT_HELP),
234       flags = INTERACTIVE,
235       key = FORM_CON_OUT_ID;
236
237       goto FORM_CON_ERR_ID,
238       prompt = STRING_TOKEN(STR_FORM_STD_ERR_TITLE),
239       help = STRING_TOKEN(STR_FORM_STD_ERR_HELP),
240       flags = INTERACTIVE,
241       key = FORM_CON_ERR_ID;
242
243       goto FORM_CON_MODE_ID,
244       prompt = STRING_TOKEN(STR_FORM_MODE_TITLE),
245       help = STRING_TOKEN(STR_FORM_MODE_HELP),
246       flags = INTERACTIVE,
247       key = FORM_CON_MODE_ID;
248
249       goto FORM_CON_COM_ID,
250       prompt = STRING_TOKEN(STR_FORM_COM_TITLE),
251       help = STRING_TOKEN(STR_FORM_COM_HELP),
252       flags = INTERACTIVE,
253       key = FORM_CON_COM_ID;
254  endform;
255
256  form formid = FORM_CON_MODE_ID,
257       title = STRING_TOKEN(STR_FORM_MODE_TITLE);
258
259       label FORM_CON_MODE_ID;
260       label LABEL_END;
261  endform;
262
263  form formid = FORM_CON_COM_ID,
264       title = STRING_TOKEN(STR_FORM_COM_TITLE);
265
266       label FORM_CON_COM_ID;
267       label LABEL_END;
268  endform;
269
270  form formid = FORM_CON_COM_SETUP_ID,
271       title = STRING_TOKEN(STR_CON_COM_SETUP);
272
273       label FORM_CON_COM_SETUP_ID;
274       label LABEL_END;
275  endform;
276
277  form formid = FORM_FILE_SEEK_ID,
278       title = STRING_TOKEN(STR_FORM_BOOT_ADD_TITLE);
279
280       label FORM_FILE_SEEK_ID;
281       label LABEL_END;
282  endform;
283
284  form formid = FORM_FILE_NEW_SEEK_ID,
285       title = STRING_TOKEN(STR_FORM_BOOT_ADD_TITLE);
286
287       label FORM_FILE_NEW_SEEK_ID;
288       label LABEL_END;
289  endform;
290
291  form formid = FORM_DRV_ADD_HANDLE_ID,
292       title = STRING_TOKEN(STR_FORM_DRV_ADD_HANDLE_TITLE);
293
294       label FORM_DRV_ADD_HANDLE_ID;
295       label LABEL_END;
296  endform;
297
298  form formid = FORM_DRV_ADD_HANDLE_DESC_ID,
299       title = STRING_TOKEN(STR_FORM_DRV_ADD_DESC_TITLE);
300
301       label FORM_DRV_ADD_HANDLE_DESC_ID;
302       label LABEL_END;
303
304  endform;
305
306  form formid = FORM_CON_IN_ID,
307       title = STRING_TOKEN(STR_FORM_CON_IN_TITLE);
308
309       label FORM_CON_IN_ID;
310       label LABEL_END;
311
312  endform;
313
314  form formid = FORM_CON_OUT_ID,
315       title = STRING_TOKEN(STR_FORM_CON_OUT_TITLE);
316
317       label FORM_CON_OUT_ID;
318       label LABEL_END;
319
320  endform;
321
322  form formid = FORM_CON_ERR_ID,
323       title = STRING_TOKEN(STR_FORM_STD_ERR_TITLE);
324
325       label FORM_CON_ERR_ID;
326       label LABEL_END;
327
328  endform;
329
330  form formid = FORM_SET_FD_ORDER_ID,
331       title = STRING_TOKEN(STR_FORM_SET_FD_ORDER_TITLE);
332
333       label FORM_SET_FD_ORDER_ID;
334       label LABEL_END;
335  endform;
336
337  form formid = FORM_SET_HD_ORDER_ID,
338       title = STRING_TOKEN(STR_FORM_SET_HD_ORDER_TITLE);
339
340       label FORM_SET_HD_ORDER_ID;
341       label LABEL_END;
342  endform;
343
344  form formid = FORM_SET_CD_ORDER_ID,
345       title = STRING_TOKEN(STR_FORM_SET_CD_ORDER_TITLE);
346
347       label FORM_SET_CD_ORDER_ID;
348       label LABEL_END;
349  endform;
350
351  form formid = FORM_SET_NET_ORDER_ID,
352       title = STRING_TOKEN(STR_FORM_SET_NET_ORDER_TITLE);
353
354       label FORM_SET_NET_ORDER_ID;
355       label LABEL_END;
356  endform;
357
358  form formid = FORM_SET_BEV_ORDER_ID,
359       title = STRING_TOKEN(STR_FORM_SET_BEV_ORDER_TITLE);
360
361       label FORM_SET_BEV_ORDER_ID;
362       label LABEL_END;
363  endform;
364
365endformset;
366