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