summaryrefslogtreecommitdiffstats
path: root/Vlv2TbltDevicePkg/PlatformSetupDxe/Main.vfi
blob: 24bc29791ca70020512d919fe44b3665b6e40785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
//
//
// Copyright (c) 2004  - 2014, Intel Corporation. All rights reserved.<BR>
//                                                                                  
// This program and the accompanying materials are licensed and made available under
// the terms and conditions of the BSD License that accompanies this distribution.  
// The full text of the license may be found at                                     
// http://opensource.org/licenses/bsd-license.php.                                  
//                                                                                  
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,            
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.    
//                                                                                  
//
//
//
// Module Name:
//
//   Main.vfi
//
// Abstract:
//
//   Driver Setup formset.
//
// Revision History:
//
// --*/

form formid = ROOT_MAIN_FORM_ID,

  title    = STRING_TOKEN(STR_MAIN_TITLE);

  subtitle text = STRING_TOKEN(STR_BIOS_INFORMATION_TITLE);

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_IFWI_VERSION_STRING),
    text   = STRING_TOKEN(STR_IFWI_VERSION_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_BIOS_VERSION_STRING),
    text   = STRING_TOKEN(STR_BIOS_VERSION_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_BIOS_VENDOR_STRING),
    text   = STRING_TOKEN(STR_BIOS_VENDOR_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_CORE_VERSION_STRING),
    text   = STRING_TOKEN(STR_CORE_VERSION_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_BIOS_BUILD_TIME_STRING),
    text   = STRING_TOKEN(STR_BIOS_BUILD_TIME_VALUE),
    flags  = 0,
    key    = 0;

  subtitle text = STRING_TOKEN(STR_NULL_STRING);

  subtitle text = STRING_TOKEN(STR_PROCESSOR_INFO_STRING);
  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_VERSION_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_VERSION_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_SKU_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_SKU_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_SPEED_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_SPEED_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_ID_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_ID_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_MICROCODE_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_MICROCODE_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_CORE_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_CORE_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_EM64T_CAPABILITY_STRING),
    text   = STRING_TOKEN(STR_EM64T_CAPABILITY_VALUE),
    flags  = 0,
    key    = 0;

  subtitle text = STRING_TOKEN(STR_NULL_STRING);

  goto PLATFORM_INFORMATION_FORM_ID,
    prompt = STRING_TOKEN(STR_PLATFORM_INFORMATION_TITLE),
    help   = STRING_TOKEN(STR_PLATFORM_INFORMATION_HELP);

  subtitle text = STRING_TOKEN(STR_NULL_STRING);
  //
  // Date and Time section
  //
  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
    prompt      = STRING_TOKEN(STR_DATE_PROMPT),
    help        = STRING_TOKEN(STR_DATE_YEAR_HELP),
    minimum     = 2003,
    maximum     = 2100,
    step        = 1,
    default     = 2003,

    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
    prompt      = STRING_TOKEN(STR_DATE_PROMPT),
    help        = STRING_TOKEN(STR_DATE_MONTH_HELP),
    minimum     = 1,
    maximum     = 12,
    step        = 1,
    default     = 1,

    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
    prompt      = STRING_TOKEN(STR_DATE_PROMPT),
    help        = STRING_TOKEN(STR_DATE_DAY_HELP),
    minimum     = 1,
    maximum     = 31,
    step        = 0x1,
    default     = 1,

    // If the day is 31 AND months is any of the following 2, 4, 6, 9, 11
    inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP),
      ideqval Date.Day == 31
      AND
      ideqvallist Date.Month == 2 4 6 9 11
    endif

    // If the day is 30 AND month is 2
    inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP),
      ideqval Date.Day == 30
      AND
      ideqval Date.Month == 2
    endif

    // If the day is 29 AND month is 2 AND it year is NOT a leapyear
    inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP),
      ideqval Date.Day == 0x29
      AND
      ideqval Date.Month == 2
      AND
      NOT
      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
    endif

  enddate;

  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
    prompt      = STRING_TOKEN(STR_TIME_PROMPT),
    help        = STRING_TOKEN(STR_TIME_HOUR_HELP),
    minimum     = 0,
    maximum     = 23,
    step        = 1,
    default     = 0,

    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
    prompt        = STRING_TOKEN(STR_TIME_PROMPT),
    help          = STRING_TOKEN(STR_TIME_MINUTE_HELP),
    minimum       = 0,
    maximum       = 59,
    step          = 1,
    default       = 0,

    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
    prompt        = STRING_TOKEN(STR_TIME_PROMPT),
    help          = STRING_TOKEN(STR_TIME_SECOND_HELP),
    minimum       = 0,
    maximum       = 59,
    step          = 1,
    default       = 0,
  endtime;

endform;

form formid = PLATFORM_INFORMATION_FORM_ID,

  title    = STRING_TOKEN(STR_PLATFORM_INFORMATION_TITLE);

  subtitle text = STRING_TOKEN(STR_NULL_STRING);

  subtitle text = STRING_TOKEN(STR_PLATFORM_FIRMWARE_STRING);
  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_SOC_STRING),
    text   = STRING_TOKEN(STR_SOC_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_MRC_VERSION_STRING),
    text   = STRING_TOKEN(STR_MRC_VERSION_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_PUNIT_FW_STRING),
    text   = STRING_TOKEN(STR_PUNIT_FW_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_PMC_FW_STRING),
    text   = STRING_TOKEN(STR_PMC_FW_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_KSC_FW_STRING),
    text   = STRING_TOKEN(STR_KSC_FW_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_SEC_VERSION_STRING),
    text   = STRING_TOKEN(STR_SEC_VERSION_VALUE),
    flags  = 0,
    key    = 0;

  suppressif ideqval Setup.GOPEnable == 0;
  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_GOP_STRING),
    text   = STRING_TOKEN(STR_GOP_VALUE),
    flags  = 0,
    key    = 0;
  endif;

  suppressif ideqval Setup.GOPEnable == 1;
  text
    help   = STRING_TOKEN(STR_CHIP_IGD_VBIOS_REV_HELP),
    text   = STRING_TOKEN(STR_CHIP_IGD_VBIOS_REV_NAME),
    text   = STRING_TOKEN(STR_CHIP_IGD_VBIOS_REV_VALUE),
    flags  = 0,
    key    = 0;
  endif;

  text
    help   = STRING_TOKEN(STR_CPU_FLAVOR_HELP),
    text   = STRING_TOKEN(STR_CPU_FLAVOR_NAME),
    text   = STRING_TOKEN(STR_CPU_FLAVOR_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_BOARD_ID_HELP),
    text   = STRING_TOKEN(STR_BOARD_ID_NAME),
    text   = STRING_TOKEN(STR_BOARD_ID_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_FAB_ID_HELP),
    text   = STRING_TOKEN(STR_FAB_ID_STRING),
    text   = STRING_TOKEN(STR_FAB_ID_VALUE),
    flags  = 0,
    key = 0;


  subtitle text = STRING_TOKEN(STR_NULL_STRING);

  subtitle text = STRING_TOKEN(STR_MEMORY_INFORMATION_STRING);
  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_TOTAL_MEMORY_SIZE_PROMPT),
    text   = STRING_TOKEN(STR_TOTAL_MEMORY_SIZE_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_SYSTEM_MEMORY_SPEED_STRING),
    text   = STRING_TOKEN(STR_SYSTEM_MEMORY_SPEED_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_L1_DATA_CACHE_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_L1_DATA_CACHE_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_L1_INSTR_CACHE_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_L1_INSTR_CACHE_VALUE),
    flags  = 0,
    key    = 0;

  text
    help   = STRING_TOKEN(STR_NULL_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_L2_CACHE_STRING),
    text   = STRING_TOKEN(STR_PROCESSOR_L2_CACHE_VALUE),
    flags  = 0,
    key    = 0;

endform;