Changeset 58459 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr
- Timestamp:
- Oct 28, 2015 8:17:18 PM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
-
Property svn:mergeinfo
set to (toggle deleted branches)
/vendor/edk2/current 103735-103757
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr
r48674 r58459 3 3 // Sample Setup formset. 4 4 // 5 // Copyright (c) 2004 - 201 1, Intel Corporation. All rights reserved.<BR>5 // Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR> 6 6 // This program and the accompanying materials 7 7 // are licensed and made available under the terms and conditions of the BSD License … … 126 126 help = STRING_TOKEN(STR_EXIT_TEXT), 127 127 text = STRING_TOKEN(STR_EXIT_TEXT), 128 text = STRING_TOKEN(STR_EXIT_TEXT),129 128 flags = INTERACTIVE, // VfrCompiler will generate opcode EFI_IFR_ACTION for Text marked as INTERACTIVE 130 129 key = 0x1237; … … 133 132 help = STRING_TOKEN(STR_SAVE_TEXT), 134 133 text = STRING_TOKEN(STR_SAVE_TEXT), 135 text = STRING_TOKEN(STR_SAVE_TEXT),136 134 flags = INTERACTIVE, 137 135 key = 0x1238; … … 140 138 help = STRING_TOKEN(STR_SAVE_CURRENT), 141 139 text = STRING_TOKEN(STR_SAVE_CURRENT), 142 text = STRING_TOKEN(STR_SAVE_CURRENT),143 140 flags = INTERACTIVE, 144 141 key = 0x1243; … … 147 144 help = STRING_TOKEN(STR_DISCARD_CURRENT_AND_EXIT), 148 145 text = STRING_TOKEN(STR_DISCARD_CURRENT_AND_EXIT), 149 text = STRING_TOKEN(STR_DISCARD_CURRENT_AND_EXIT),150 146 flags = INTERACTIVE, 151 147 key = 0x1244; … … 187 183 // 188 184 flags = CHECKBOX_DEFAULT | CHECKBOX_DEFAULT_MFG, 189 key = 0, 190 default = 1, 185 default = TRUE, 191 186 endcheckbox; 192 187 endif; 193 188 endif; 194 189 195 190 // … … 212 207 prompt = STRING_TOKEN(STR_BOOT_OPTIONS), 213 208 help = STRING_TOKEN(STR_NULL_STRING), 214 option text = STRING_TOKEN(STR_BOOT_OPTION2), value = 2, flags = RESET_REQUIRED; 215 option text = STRING_TOKEN(STR_BOOT_OPTION1), value = 1, flags = RESET_REQUIRED; 216 option text = STRING_TOKEN(STR_BOOT_OPTION3), value = 3, flags = RESET_REQUIRED; 209 flags = RESET_REQUIRED, 210 option text = STRING_TOKEN(STR_BOOT_OPTION2), value = 2, flags = 0; 211 option text = STRING_TOKEN(STR_BOOT_OPTION1), value = 1, flags = 0; 212 option text = STRING_TOKEN(STR_BOOT_OPTION3), value = 3, flags = 0; 217 213 suppressif ideqval MyIfrNVData.BootOrderLarge == 0; 218 option text = STRING_TOKEN(STR_BOOT_OPTION4), value = 4, flags = RESET_REQUIRED;214 option text = STRING_TOKEN(STR_BOOT_OPTION4), value = 4, flags = 0; 219 215 endif 220 216 endlist; … … 232 228 prompt = STRING_TOKEN(STR_TEST_OPCODE), 233 229 help = STRING_TOKEN(STR_TEXT_HELP), 234 option text = STRING_TOKEN(STR_ONE_OF_TEXT1), value = 3, flags = RESET_REQUIRED; 235 option text = STRING_TOKEN(STR_ONE_OF_TEXT2), value = 2, flags = RESET_REQUIRED; 236 option text = STRING_TOKEN(STR_ONE_OF_TEXT3), value = 1, flags = RESET_REQUIRED; 230 flags = RESET_REQUIRED, 231 option text = STRING_TOKEN(STR_ONE_OF_TEXT1), value = 3, flags = 0; 232 option text = STRING_TOKEN(STR_ONE_OF_TEXT2), value = 2, flags = 0; 233 option text = STRING_TOKEN(STR_ONE_OF_TEXT3), value = 1, flags = 0; 237 234 endlist; 238 235 endif; … … 258 255 prompt = STRING_TOKEN(STR_TEST_OPCODE), 259 256 help = STRING_TOKEN(STR_ONE_OF_HELP), 260 option text = STRING_TOKEN(STR_ONE_OF_TEXT1), value = 0, flags = RESET_REQUIRED; 261 option text = STRING_TOKEN(STR_ONE_OF_TEXT2), value = 1, flags = DEFAULT | RESET_REQUIRED; 257 flags = RESET_REQUIRED, 258 option text = STRING_TOKEN(STR_ONE_OF_TEXT1), value = 0, flags = 0; 259 option text = STRING_TOKEN(STR_ONE_OF_TEXT2), value = 1, flags = DEFAULT; 260 warningif prompt = STRING_TOKEN(STR_WARNING_POPUP), timeout = 5, 261 ideqval MyIfrNVData.TestLateCheck == 0 262 endif 262 263 263 264 endoneof; … … 266 267 prompt = STRING_TOKEN(STR_TEST_OPCODE2), 267 268 help = STRING_TOKEN(STR_ONE_OF_HELP), 268 option text = STRING_TOKEN(STR_ONE_OF_TEXT1), value = 0, flags = DEFAULT | RESET_REQUIRED; 269 option text = STRING_TOKEN(STR_ONE_OF_TEXT2), value = 1, flags = RESET_REQUIRED; 269 flags = RESET_REQUIRED, 270 option text = STRING_TOKEN(STR_ONE_OF_TEXT1), value = 0, flags = DEFAULT; 271 option text = STRING_TOKEN(STR_ONE_OF_TEXT2), value = 1, flags = 0; 270 272 271 273 inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP), … … 278 280 prompt = STRING_TOKEN(STR_ONE_OF_PROMPT), 279 281 help = STRING_TOKEN(STR_ONE_OF_HELP), 280 option text = STRING_TOKEN(STR_ONE_OF_TEXT1), value = 0, flags = RESET_REQUIRED;281 option text = STRING_TOKEN(STR_ONE_OF_TEXT 2), value = 1, flags = DEFAULT | RESET_REQUIRED;282 option text = STRING_TOKEN(STR_ONE_OF_TEXT 3), value = 0x03, flags = RESET_REQUIRED;283 282 flags = RESET_REQUIRED, 283 option text = STRING_TOKEN(STR_ONE_OF_TEXT1), value = 0, flags = 0; 284 option text = STRING_TOKEN(STR_ONE_OF_TEXT2), value = 1, flags = DEFAULT; 285 option text = STRING_TOKEN(STR_ONE_OF_TEXT3), value = 3, flags = 0; 284 286 endoneof; 285 287 … … 360 362 step = 0, 361 363 locked, 364 default = 16, defaultstore = MyStandardDefault, // This is standard default value 365 default = 17, defaultstore = MyManufactureDefault, // This is manufacture default value 362 366 endnumeric; 363 367 … … 369 373 maximum = 0xffff, 370 374 step = 0, 375 default = 18, defaultstore = MyStandardDefault, // This is standard default value 376 default = 19, defaultstore = MyManufactureDefault, // This is manufacture default value 371 377 endnumeric; 372 378 … … 518 524 title = STRING_TOKEN(STR_FORM2_TITLE); // note formid is a variable (for readability) (UINT16) - also added Form to the line to signify the Op-Code 519 525 520 521 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 522 prompt = STRING_TOKEN(STR_DATE_PROMPT), 523 help = STRING_TOKEN(STR_DATE_HELP), 524 minimum = 1998, 525 maximum = 2099, 526 step = 1, 527 default = 2004, 528 529 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 530 prompt = STRING_TOKEN(STR_DATE_PROMPT), 531 help = STRING_TOKEN(STR_DATE_HELP), 532 minimum = 1, 533 maximum = 12, 534 step = 1, 535 default = 1, 536 537 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 538 prompt = STRING_TOKEN(STR_DATE_PROMPT), 539 help = STRING_TOKEN(STR_DATE_HELP), 540 minimum = 1, 541 maximum = 31, 542 step = 0x1, 543 default = 1, 526 date 527 name = Date, 528 prompt = STRING_TOKEN(STR_DATE_PROMPT), 529 help = STRING_TOKEN(STR_DATE_HELP), 530 flags = STORAGE_TIME, 531 default = 2004/1/1, 544 532 545 533 inconsistentif prompt = STRING_TOKEN(STR_ERROR_POPUP), … … 575 563 help = STRING_TOKEN(STR_SAVE_CURRENT_AND_EXIT), 576 564 text = STRING_TOKEN(STR_SAVE_CURRENT_AND_EXIT), 577 text = STRING_TOKEN(STR_SAVE_CURRENT_AND_EXIT),578 565 flags = INTERACTIVE, 579 566 key = 0x1241; … … 582 569 help = STRING_TOKEN(STR_DISCARD_CURRENT), 583 570 text = STRING_TOKEN(STR_DISCARD_CURRENT), 584 text = STRING_TOKEN(STR_DISCARD_CURRENT),585 571 flags = INTERACTIVE, 586 572 key = 0x1242; 587 573 588 time hour varid = Time.Hour, // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from 589 prompt = STRING_TOKEN(STR_TIME_PROMPT), 590 help = STRING_TOKEN(STR_TIME_HELP), 591 minimum = 0, 592 maximum = 23, 593 step = 1, 594 default = 0, 595 596 minute varid = Time.Minute, // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from 597 prompt = STRING_TOKEN(STR_TIME_PROMPT), 598 help = STRING_TOKEN(STR_TIME_HELP), 599 minimum = 0, 600 maximum = 59, 601 step = 1, 602 default = 0, 603 604 second varid = Time.Second, // Note that it is a member of NULL, so the RTC will be the system resource to retrieve and save from 605 prompt = STRING_TOKEN(STR_TIME_PROMPT), 606 help = STRING_TOKEN(STR_TIME_HELP), 607 minimum = 0, 608 maximum = 59, 609 step = 1, 610 default = 0, 611 574 time 575 prompt = STRING_TOKEN(STR_TIME_PROMPT), 576 help = STRING_TOKEN(STR_TIME_HELP), 577 flags = STORAGE_TIME, 612 578 endtime; 613 579 … … 625 591 help = STRING_TOKEN(STR_CHECK_BOX_HELP), 626 592 flags = CHECKBOX_DEFAULT, 627 key = 0,628 593 endcheckbox; 629 594 … … 759 724 help = STRING_TOKEN(STR_EXIT_TEXT), 760 725 text = STRING_TOKEN(STR_EXIT_TEXT), 761 text = STRING_TOKEN(STR_EXIT_TEXT),762 726 flags = INTERACTIVE, // VfrCompiler will generate opcode EFI_IFR_ACTION for Text marked as INTERACTIVE 763 727 key = 0x1245; … … 766 730 help = STRING_TOKEN(STR_SAVE_TEXT), 767 731 text = STRING_TOKEN(STR_SAVE_TEXT), 768 text = STRING_TOKEN(STR_SAVE_TEXT),769 732 flags = INTERACTIVE, // VfrCompiler will generate opcode EFI_IFR_ACTION for Text marked as INTERACTIVE 770 733 key = 0x1246;
Note:
See TracChangeset
for help on using the changeset viewer.