1//
2//
3// Copyright (c) 2004  - 2014, Intel Corporation. All rights reserved.<BR>
4//
5
6// This program and the accompanying materials are licensed and made available under
7
8// the terms and conditions of the BSD License that accompanies this distribution.
9
10// The full text of the license may be found at
11
12// http://opensource.org/licenses/bsd-license.php.
13
14//
15
16// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17
18// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19
20//
21
22//
23//
24//
25// Module Name:
26//
27//   Main.vfi
28//
29// Abstract:
30//
31//   Driver Setup formset.
32//
33// Revision History:
34//
35// --*/
36
37form formid = ROOT_MAIN_FORM_ID,
38
39  title    = STRING_TOKEN(STR_MAIN_TITLE);
40
41  subtitle text = STRING_TOKEN(STR_BIOS_INFORMATION_TITLE);
42
43  text
44    help   = STRING_TOKEN(STR_NULL_STRING),
45    text   = STRING_TOKEN(STR_IFWI_VERSION_STRING),
46    text   = STRING_TOKEN(STR_IFWI_VERSION_VALUE),
47    flags  = 0,
48    key    = 0;
49
50  text
51    help   = STRING_TOKEN(STR_NULL_STRING),
52    text   = STRING_TOKEN(STR_BIOS_VERSION_STRING),
53    text   = STRING_TOKEN(STR_BIOS_VERSION_VALUE),
54    flags  = 0,
55    key    = 0;
56
57  text
58    help   = STRING_TOKEN(STR_NULL_STRING),
59    text   = STRING_TOKEN(STR_BIOS_VENDOR_STRING),
60    text   = STRING_TOKEN(STR_BIOS_VENDOR_VALUE),
61    flags  = 0,
62    key    = 0;
63
64  text
65    help   = STRING_TOKEN(STR_NULL_STRING),
66    text   = STRING_TOKEN(STR_CORE_VERSION_STRING),
67    text   = STRING_TOKEN(STR_CORE_VERSION_VALUE),
68    flags  = 0,
69    key    = 0;
70
71  text
72    help   = STRING_TOKEN(STR_NULL_STRING),
73    text   = STRING_TOKEN(STR_BIOS_BUILD_TIME_STRING),
74    text   = STRING_TOKEN(STR_BIOS_BUILD_TIME_VALUE),
75    flags  = 0,
76    key    = 0;
77
78  subtitle text = STRING_TOKEN(STR_NULL_STRING);
79
80  subtitle text = STRING_TOKEN(STR_PROCESSOR_INFO_STRING);
81  text
82    help   = STRING_TOKEN(STR_NULL_STRING),
83    text   = STRING_TOKEN(STR_PROCESSOR_VERSION_STRING),
84    text   = STRING_TOKEN(STR_PROCESSOR_VERSION_VALUE),
85    flags  = 0,
86    key    = 0;
87
88  text
89    help   = STRING_TOKEN(STR_NULL_STRING),
90    text   = STRING_TOKEN(STR_PROCESSOR_SKU_STRING),
91    text   = STRING_TOKEN(STR_PROCESSOR_SKU_VALUE),
92    flags  = 0,
93    key    = 0;
94
95  text
96    help   = STRING_TOKEN(STR_NULL_STRING),
97    text   = STRING_TOKEN(STR_PROCESSOR_SPEED_STRING),
98    text   = STRING_TOKEN(STR_PROCESSOR_SPEED_VALUE),
99    flags  = 0,
100    key    = 0;
101
102  text
103    help   = STRING_TOKEN(STR_NULL_STRING),
104    text   = STRING_TOKEN(STR_PROCESSOR_ID_STRING),
105    text   = STRING_TOKEN(STR_PROCESSOR_ID_VALUE),
106    flags  = 0,
107    key    = 0;
108
109  text
110    help   = STRING_TOKEN(STR_NULL_STRING),
111    text   = STRING_TOKEN(STR_PROCESSOR_MICROCODE_STRING),
112    text   = STRING_TOKEN(STR_PROCESSOR_MICROCODE_VALUE),
113    flags  = 0,
114    key    = 0;
115
116  text
117    help   = STRING_TOKEN(STR_NULL_STRING),
118    text   = STRING_TOKEN(STR_PROCESSOR_CORE_STRING),
119    text   = STRING_TOKEN(STR_PROCESSOR_CORE_VALUE),
120    flags  = 0,
121    key    = 0;
122
123  text
124    help   = STRING_TOKEN(STR_NULL_STRING),
125    text   = STRING_TOKEN(STR_EM64T_CAPABILITY_STRING),
126    text   = STRING_TOKEN(STR_EM64T_CAPABILITY_VALUE),
127    flags  = 0,
128    key    = 0;
129
130  subtitle text = STRING_TOKEN(STR_NULL_STRING);
131
132  goto PLATFORM_INFORMATION_FORM_ID,
133    prompt = STRING_TOKEN(STR_PLATFORM_INFORMATION_TITLE),
134    help   = STRING_TOKEN(STR_PLATFORM_INFORMATION_HELP);
135
136  subtitle text = STRING_TOKEN(STR_NULL_STRING);
137  //
138  // Date and Time section
139  //
140  date    year varid  = Date.Year,    // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from
141    prompt      = STRING_TOKEN(STR_DATE_PROMPT),
142    help        = STRING_TOKEN(STR_DATE_YEAR_HELP),
143    minimum     = 2003,
144    maximum     = 2100,
145    step        = 1,
146    default     = 2003,
147
148    month varid = Date.Month,    // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from
149    prompt      = STRING_TOKEN(STR_DATE_PROMPT),
150    help        = STRING_TOKEN(STR_DATE_MONTH_HELP),
151    minimum     = 1,
152    maximum     = 12,
153    step        = 1,
154    default     = 1,
155
156    day varid   = Date.Day,          // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from
157    prompt      = STRING_TOKEN(STR_DATE_PROMPT),
158    help        = STRING_TOKEN(STR_DATE_DAY_HELP),
159    minimum     = 1,
160    maximum     = 31,
161    step        = 0x1,
162    default     = 1,
163
164    // If the day is 31 AND months is any of the following 2, 4, 6, 9, 11
165    inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP),
166      ideqval Date.Day == 31
167      AND
168      ideqvallist Date.Month == 2 4 6 9 11
169    endif
170
171    // If the day is 30 AND month is 2
172    inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP),
173      ideqval Date.Day == 30
174      AND
175      ideqval Date.Month == 2
176    endif
177
178    // If the day is 29 AND month is 2 AND it year is NOT a leapyear
179    inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP),
180      ideqval Date.Day == 0x29
181      AND
182      ideqval Date.Month == 2
183      AND
184      NOT
185      ideqvallist Date.Year == 2004 2008 2012 2016 2020 2024 2028 2032 2036 2040 2044 2048 2052 2056 2060 2064 2068 2072 2076 2080 2084 2088 2092 2096
186    endif
187
188  enddate;
189
190  time    hour varid  = Time.Hours,         // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from
191    prompt      = STRING_TOKEN(STR_TIME_PROMPT),
192    help        = STRING_TOKEN(STR_TIME_HOUR_HELP),
193    minimum     = 0,
194    maximum     = 23,
195    step        = 1,
196    default     = 0,
197
198    minute varid  = Time.Minutes,       // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from
199    prompt        = STRING_TOKEN(STR_TIME_PROMPT),
200    help          = STRING_TOKEN(STR_TIME_MINUTE_HELP),
201    minimum       = 0,
202    maximum       = 59,
203    step          = 1,
204    default       = 0,
205
206    second varid  = Time.Seconds,       // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from
207    prompt        = STRING_TOKEN(STR_TIME_PROMPT),
208    help          = STRING_TOKEN(STR_TIME_SECOND_HELP),
209    minimum       = 0,
210    maximum       = 59,
211    step          = 1,
212    default       = 0,
213  endtime;
214
215endform;
216
217form formid = PLATFORM_INFORMATION_FORM_ID,
218
219  title    = STRING_TOKEN(STR_PLATFORM_INFORMATION_TITLE);
220
221  subtitle text = STRING_TOKEN(STR_NULL_STRING);
222
223  subtitle text = STRING_TOKEN(STR_PLATFORM_FIRMWARE_STRING);
224  text
225    help   = STRING_TOKEN(STR_NULL_STRING),
226    text   = STRING_TOKEN(STR_SOC_STRING),
227    text   = STRING_TOKEN(STR_SOC_VALUE),
228    flags  = 0,
229    key    = 0;
230
231  text
232    help   = STRING_TOKEN(STR_NULL_STRING),
233    text   = STRING_TOKEN(STR_MRC_VERSION_STRING),
234    text   = STRING_TOKEN(STR_MRC_VERSION_VALUE),
235    flags  = 0,
236    key    = 0;
237
238  text
239    help   = STRING_TOKEN(STR_NULL_STRING),
240    text   = STRING_TOKEN(STR_PUNIT_FW_STRING),
241    text   = STRING_TOKEN(STR_PUNIT_FW_VALUE),
242    flags  = 0,
243    key    = 0;
244
245  text
246    help   = STRING_TOKEN(STR_NULL_STRING),
247    text   = STRING_TOKEN(STR_PMC_FW_STRING),
248    text   = STRING_TOKEN(STR_PMC_FW_VALUE),
249    flags  = 0,
250    key    = 0;
251
252  text
253    help   = STRING_TOKEN(STR_NULL_STRING),
254    text   = STRING_TOKEN(STR_KSC_FW_STRING),
255    text   = STRING_TOKEN(STR_KSC_FW_VALUE),
256    flags  = 0,
257    key    = 0;
258
259  text
260    help   = STRING_TOKEN(STR_NULL_STRING),
261    text   = STRING_TOKEN(STR_SEC_VERSION_STRING),
262    text   = STRING_TOKEN(STR_SEC_VERSION_VALUE),
263    flags  = 0,
264    key    = 0;
265
266  suppressif ideqval Setup.GOPEnable == 0;
267  text
268    help   = STRING_TOKEN(STR_NULL_STRING),
269    text   = STRING_TOKEN(STR_GOP_STRING),
270    text   = STRING_TOKEN(STR_GOP_VALUE),
271    flags  = 0,
272    key    = 0;
273  endif;
274
275  suppressif ideqval Setup.GOPEnable == 1;
276  text
277    help   = STRING_TOKEN(STR_CHIP_IGD_VBIOS_REV_HELP),
278    text   = STRING_TOKEN(STR_CHIP_IGD_VBIOS_REV_NAME),
279    text   = STRING_TOKEN(STR_CHIP_IGD_VBIOS_REV_VALUE),
280    flags  = 0,
281    key    = 0;
282  endif;
283
284  text
285    help   = STRING_TOKEN(STR_CPU_FLAVOR_HELP),
286    text   = STRING_TOKEN(STR_CPU_FLAVOR_NAME),
287    text   = STRING_TOKEN(STR_CPU_FLAVOR_VALUE),
288    flags  = 0,
289    key    = 0;
290
291  text
292    help   = STRING_TOKEN(STR_BOARD_ID_HELP),
293    text   = STRING_TOKEN(STR_BOARD_ID_NAME),
294    text   = STRING_TOKEN(STR_BOARD_ID_VALUE),
295    flags  = 0,
296    key    = 0;
297
298  text
299    help   = STRING_TOKEN(STR_FAB_ID_HELP),
300    text   = STRING_TOKEN(STR_FAB_ID_STRING),
301    text   = STRING_TOKEN(STR_FAB_ID_VALUE),
302    flags  = 0,
303    key = 0;
304
305
306  subtitle text = STRING_TOKEN(STR_NULL_STRING);
307
308  subtitle text = STRING_TOKEN(STR_MEMORY_INFORMATION_STRING);
309  text
310    help   = STRING_TOKEN(STR_NULL_STRING),
311    text   = STRING_TOKEN(STR_TOTAL_MEMORY_SIZE_PROMPT),
312    text   = STRING_TOKEN(STR_TOTAL_MEMORY_SIZE_VALUE),
313    flags  = 0,
314    key    = 0;
315
316  text
317    help   = STRING_TOKEN(STR_NULL_STRING),
318    text   = STRING_TOKEN(STR_SYSTEM_MEMORY_SPEED_STRING),
319    text   = STRING_TOKEN(STR_SYSTEM_MEMORY_SPEED_VALUE),
320    flags  = 0,
321    key    = 0;
322
323  text
324    help   = STRING_TOKEN(STR_NULL_STRING),
325    text   = STRING_TOKEN(STR_PROCESSOR_L1_DATA_CACHE_STRING),
326    text   = STRING_TOKEN(STR_PROCESSOR_L1_DATA_CACHE_VALUE),
327    flags  = 0,
328    key    = 0;
329
330  text
331    help   = STRING_TOKEN(STR_NULL_STRING),
332    text   = STRING_TOKEN(STR_PROCESSOR_L1_INSTR_CACHE_STRING),
333    text   = STRING_TOKEN(STR_PROCESSOR_L1_INSTR_CACHE_VALUE),
334    flags  = 0,
335    key    = 0;
336
337  text
338    help   = STRING_TOKEN(STR_NULL_STRING),
339    text   = STRING_TOKEN(STR_PROCESSOR_L2_CACHE_STRING),
340    text   = STRING_TOKEN(STR_PROCESSOR_L2_CACHE_VALUE),
341    flags  = 0,
342    key    = 0;
343
344endform;
345
346