Main.vfi 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. //
  2. //
  3. // Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
  4. //
  5. // SPDX-License-Identifier: BSD-2-Clause-Patent
  6. //
  7. //
  8. //
  9. //
  10. // Module Name:
  11. //
  12. // Main.vfi
  13. //
  14. // Abstract:
  15. //
  16. // Driver Setup formset.
  17. //
  18. // Revision History:
  19. //
  20. // --*/
  21. form formid = ROOT_MAIN_FORM_ID,
  22. title = STRING_TOKEN(STR_MAIN_TITLE);
  23. subtitle text = STRING_TOKEN(STR_BIOS_INFORMATION_TITLE);
  24. text
  25. help = STRING_TOKEN(STR_NULL_STRING),
  26. text = STRING_TOKEN(STR_IFWI_VERSION_STRING),
  27. text = STRING_TOKEN(STR_IFWI_VERSION_VALUE),
  28. flags = 0,
  29. key = 0;
  30. text
  31. help = STRING_TOKEN(STR_NULL_STRING),
  32. text = STRING_TOKEN(STR_BIOS_VERSION_STRING),
  33. text = STRING_TOKEN(STR_BIOS_VERSION_VALUE),
  34. flags = 0,
  35. key = 0;
  36. text
  37. help = STRING_TOKEN(STR_NULL_STRING),
  38. text = STRING_TOKEN(STR_BIOS_VENDOR_STRING),
  39. text = STRING_TOKEN(STR_BIOS_VENDOR_VALUE),
  40. flags = 0,
  41. key = 0;
  42. text
  43. help = STRING_TOKEN(STR_NULL_STRING),
  44. text = STRING_TOKEN(STR_CORE_VERSION_STRING),
  45. text = STRING_TOKEN(STR_CORE_VERSION_VALUE),
  46. flags = 0,
  47. key = 0;
  48. text
  49. help = STRING_TOKEN(STR_NULL_STRING),
  50. text = STRING_TOKEN(STR_BIOS_BUILD_TIME_STRING),
  51. text = STRING_TOKEN(STR_BIOS_BUILD_TIME_VALUE),
  52. flags = 0,
  53. key = 0;
  54. subtitle text = STRING_TOKEN(STR_NULL_STRING);
  55. subtitle text = STRING_TOKEN(STR_PROCESSOR_INFO_STRING);
  56. text
  57. help = STRING_TOKEN(STR_NULL_STRING),
  58. text = STRING_TOKEN(STR_PROCESSOR_VERSION_STRING),
  59. text = STRING_TOKEN(STR_PROCESSOR_VERSION_VALUE),
  60. flags = 0,
  61. key = 0;
  62. text
  63. help = STRING_TOKEN(STR_NULL_STRING),
  64. text = STRING_TOKEN(STR_PROCESSOR_SKU_STRING),
  65. text = STRING_TOKEN(STR_PROCESSOR_SKU_VALUE),
  66. flags = 0,
  67. key = 0;
  68. text
  69. help = STRING_TOKEN(STR_NULL_STRING),
  70. text = STRING_TOKEN(STR_PROCESSOR_SPEED_STRING),
  71. text = STRING_TOKEN(STR_PROCESSOR_SPEED_VALUE),
  72. flags = 0,
  73. key = 0;
  74. text
  75. help = STRING_TOKEN(STR_NULL_STRING),
  76. text = STRING_TOKEN(STR_PROCESSOR_ID_STRING),
  77. text = STRING_TOKEN(STR_PROCESSOR_ID_VALUE),
  78. flags = 0,
  79. key = 0;
  80. text
  81. help = STRING_TOKEN(STR_NULL_STRING),
  82. text = STRING_TOKEN(STR_PROCESSOR_MICROCODE_STRING),
  83. text = STRING_TOKEN(STR_PROCESSOR_MICROCODE_VALUE),
  84. flags = 0,
  85. key = 0;
  86. text
  87. help = STRING_TOKEN(STR_NULL_STRING),
  88. text = STRING_TOKEN(STR_PROCESSOR_CORE_STRING),
  89. text = STRING_TOKEN(STR_PROCESSOR_CORE_VALUE),
  90. flags = 0,
  91. key = 0;
  92. text
  93. help = STRING_TOKEN(STR_NULL_STRING),
  94. text = STRING_TOKEN(STR_EM64T_CAPABILITY_STRING),
  95. text = STRING_TOKEN(STR_EM64T_CAPABILITY_VALUE),
  96. flags = 0,
  97. key = 0;
  98. subtitle text = STRING_TOKEN(STR_NULL_STRING);
  99. goto PLATFORM_INFORMATION_FORM_ID,
  100. prompt = STRING_TOKEN(STR_PLATFORM_INFORMATION_TITLE),
  101. help = STRING_TOKEN(STR_PLATFORM_INFORMATION_HELP);
  102. subtitle text = STRING_TOKEN(STR_NULL_STRING);
  103. //
  104. // Date and Time section
  105. //
  106. 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
  107. prompt = STRING_TOKEN(STR_DATE_PROMPT),
  108. help = STRING_TOKEN(STR_DATE_YEAR_HELP),
  109. minimum = 2003,
  110. maximum = 2100,
  111. step = 1,
  112. default = 2003,
  113. 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
  114. prompt = STRING_TOKEN(STR_DATE_PROMPT),
  115. help = STRING_TOKEN(STR_DATE_MONTH_HELP),
  116. minimum = 1,
  117. maximum = 12,
  118. step = 1,
  119. default = 1,
  120. 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
  121. prompt = STRING_TOKEN(STR_DATE_PROMPT),
  122. help = STRING_TOKEN(STR_DATE_DAY_HELP),
  123. minimum = 1,
  124. maximum = 31,
  125. step = 0x1,
  126. default = 1,
  127. // If the day is 31 AND months is any of the following 2, 4, 6, 9, 11
  128. inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP),
  129. ideqval Date.Day == 31
  130. AND
  131. ideqvallist Date.Month == 2 4 6 9 11
  132. endif
  133. // If the day is 30 AND month is 2
  134. inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP),
  135. ideqval Date.Day == 30
  136. AND
  137. ideqval Date.Month == 2
  138. endif
  139. // If the day is 29 AND month is 2 AND it year is NOT a leapyear
  140. inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP),
  141. ideqval Date.Day == 0x29
  142. AND
  143. ideqval Date.Month == 2
  144. AND
  145. NOT
  146. 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
  147. endif
  148. enddate;
  149. 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
  150. prompt = STRING_TOKEN(STR_TIME_PROMPT),
  151. help = STRING_TOKEN(STR_TIME_HOUR_HELP),
  152. minimum = 0,
  153. maximum = 23,
  154. step = 1,
  155. default = 0,
  156. 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
  157. prompt = STRING_TOKEN(STR_TIME_PROMPT),
  158. help = STRING_TOKEN(STR_TIME_MINUTE_HELP),
  159. minimum = 0,
  160. maximum = 59,
  161. step = 1,
  162. default = 0,
  163. 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
  164. prompt = STRING_TOKEN(STR_TIME_PROMPT),
  165. help = STRING_TOKEN(STR_TIME_SECOND_HELP),
  166. minimum = 0,
  167. maximum = 59,
  168. step = 1,
  169. default = 0,
  170. endtime;
  171. endform;
  172. form formid = PLATFORM_INFORMATION_FORM_ID,
  173. title = STRING_TOKEN(STR_PLATFORM_INFORMATION_TITLE);
  174. subtitle text = STRING_TOKEN(STR_NULL_STRING);
  175. subtitle text = STRING_TOKEN(STR_PLATFORM_FIRMWARE_STRING);
  176. text
  177. help = STRING_TOKEN(STR_NULL_STRING),
  178. text = STRING_TOKEN(STR_SOC_STRING),
  179. text = STRING_TOKEN(STR_SOC_VALUE),
  180. flags = 0,
  181. key = 0;
  182. text
  183. help = STRING_TOKEN(STR_NULL_STRING),
  184. text = STRING_TOKEN(STR_MRC_VERSION_STRING),
  185. text = STRING_TOKEN(STR_MRC_VERSION_VALUE),
  186. flags = 0,
  187. key = 0;
  188. text
  189. help = STRING_TOKEN(STR_NULL_STRING),
  190. text = STRING_TOKEN(STR_PUNIT_FW_STRING),
  191. text = STRING_TOKEN(STR_PUNIT_FW_VALUE),
  192. flags = 0,
  193. key = 0;
  194. text
  195. help = STRING_TOKEN(STR_NULL_STRING),
  196. text = STRING_TOKEN(STR_PMC_FW_STRING),
  197. text = STRING_TOKEN(STR_PMC_FW_VALUE),
  198. flags = 0,
  199. key = 0;
  200. text
  201. help = STRING_TOKEN(STR_NULL_STRING),
  202. text = STRING_TOKEN(STR_KSC_FW_STRING),
  203. text = STRING_TOKEN(STR_KSC_FW_VALUE),
  204. flags = 0,
  205. key = 0;
  206. text
  207. help = STRING_TOKEN(STR_NULL_STRING),
  208. text = STRING_TOKEN(STR_SEC_VERSION_STRING),
  209. text = STRING_TOKEN(STR_SEC_VERSION_VALUE),
  210. flags = 0,
  211. key = 0;
  212. suppressif ideqval Setup.GOPEnable == 0;
  213. text
  214. help = STRING_TOKEN(STR_NULL_STRING),
  215. text = STRING_TOKEN(STR_GOP_STRING),
  216. text = STRING_TOKEN(STR_GOP_VALUE),
  217. flags = 0,
  218. key = 0;
  219. endif;
  220. suppressif ideqval Setup.GOPEnable == 1;
  221. text
  222. help = STRING_TOKEN(STR_CHIP_IGD_VBIOS_REV_HELP),
  223. text = STRING_TOKEN(STR_CHIP_IGD_VBIOS_REV_NAME),
  224. text = STRING_TOKEN(STR_CHIP_IGD_VBIOS_REV_VALUE),
  225. flags = 0,
  226. key = 0;
  227. endif;
  228. text
  229. help = STRING_TOKEN(STR_CPU_FLAVOR_HELP),
  230. text = STRING_TOKEN(STR_CPU_FLAVOR_NAME),
  231. text = STRING_TOKEN(STR_CPU_FLAVOR_VALUE),
  232. flags = 0,
  233. key = 0;
  234. text
  235. help = STRING_TOKEN(STR_BOARD_ID_HELP),
  236. text = STRING_TOKEN(STR_BOARD_ID_NAME),
  237. text = STRING_TOKEN(STR_BOARD_ID_VALUE),
  238. flags = 0,
  239. key = 0;
  240. text
  241. help = STRING_TOKEN(STR_FAB_ID_HELP),
  242. text = STRING_TOKEN(STR_FAB_ID_STRING),
  243. text = STRING_TOKEN(STR_FAB_ID_VALUE),
  244. flags = 0,
  245. key = 0;
  246. subtitle text = STRING_TOKEN(STR_NULL_STRING);
  247. subtitle text = STRING_TOKEN(STR_MEMORY_INFORMATION_STRING);
  248. text
  249. help = STRING_TOKEN(STR_NULL_STRING),
  250. text = STRING_TOKEN(STR_TOTAL_MEMORY_SIZE_PROMPT),
  251. text = STRING_TOKEN(STR_TOTAL_MEMORY_SIZE_VALUE),
  252. flags = 0,
  253. key = 0;
  254. text
  255. help = STRING_TOKEN(STR_NULL_STRING),
  256. text = STRING_TOKEN(STR_SYSTEM_MEMORY_SPEED_STRING),
  257. text = STRING_TOKEN(STR_SYSTEM_MEMORY_SPEED_VALUE),
  258. flags = 0,
  259. key = 0;
  260. text
  261. help = STRING_TOKEN(STR_NULL_STRING),
  262. text = STRING_TOKEN(STR_PROCESSOR_L1_DATA_CACHE_STRING),
  263. text = STRING_TOKEN(STR_PROCESSOR_L1_DATA_CACHE_VALUE),
  264. flags = 0,
  265. key = 0;
  266. text
  267. help = STRING_TOKEN(STR_NULL_STRING),
  268. text = STRING_TOKEN(STR_PROCESSOR_L1_INSTR_CACHE_STRING),
  269. text = STRING_TOKEN(STR_PROCESSOR_L1_INSTR_CACHE_VALUE),
  270. flags = 0,
  271. key = 0;
  272. text
  273. help = STRING_TOKEN(STR_NULL_STRING),
  274. text = STRING_TOKEN(STR_PROCESSOR_L2_CACHE_STRING),
  275. text = STRING_TOKEN(STR_PROCESSOR_L2_CACHE_VALUE),
  276. flags = 0,
  277. key = 0;
  278. endform;