1 // *++ 2 // 3 // Copyright (c) 2009, Intel Corporation. All rights reserved.<BR> 4 // This program and the accompanying materials 5 // are licensed and made available under the terms and conditions of the BSD License 6 // which accompanies this distribution. The full text of the license may be found at 7 // http://opensource.org/licenses/bsd-license.php 8 // 9 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 // 12 // Module Name: 13 // 14 // Vfr.vfr 15 // 16 // Abstract: 17 // 18 // Platform driver Override manager formset 19 // 20 // 21 // --*/ 22 23 #include "PlatOverMngr.h" 24 25 #define EFI_DISK_DEVICE_CLASS 0x01 26 27 formset 28 guid = PLAT_OVER_MNGR_GUID, 29 title = STRING_TOKEN(STR_ENTRY_TITLE), 30 help = STRING_TOKEN(STR_TITLE_HELP), 31 32 varstore PLAT_OVER_MNGR_DATA, 33 varid = VARSTORE_ID_PLAT_OVER_MNGR, 34 name = Data, 35 guid = PLAT_OVER_MNGR_GUID; 36 37 form formid = FORM_ID_DEVICE, 38 title = STRING_TOKEN(STR_TITLE); 39 40 text 41 help = STRING_TOKEN(STR_FIRST_REFRESH_HELP), 42 text = STRING_TOKEN(STR_FIRST_REFRESH), 43 flags = INTERACTIVE, 44 key = KEY_VALUE_DEVICE_REFRESH; 45 46 checkbox varid = Data.PciDeviceFilter, 47 prompt = STRING_TOKEN(STR_PCI_DEVICE_FILTER_PROMPT), 48 help = STRING_TOKEN(STR_PCI_DEVICE_FILTER_HELP), 49 flags = INTERACTIVE, 50 key = KEY_VALUE_DEVICE_FILTER, 51 endcheckbox; 52 53 label FORM_ID_DEVICE; 54 label LABEL_END; 55 56 subtitle text = STRING_TOKEN(STR_NULL_STRING); 57 58 goto FORM_ID_DEVICE, 59 prompt = STRING_TOKEN(STR_CLEAR_ALL), 60 help = STRING_TOKEN(STR_CLEAR_ALL_HELP), 61 flags = INTERACTIVE | RESET_REQUIRED, 62 key = KEY_VALUE_DEVICE_CLEAR; 63 endform; 64 65 form formid = FORM_ID_DRIVER, 66 title = STRING_TOKEN(STR_TITLE); 67 68 goto FORM_ID_DEVICE, 69 prompt = STRING_TOKEN(STR_GOTO_PREVIOUS), 70 help = STRING_TOKEN(STR_NULL_STRING), 71 flags = INTERACTIVE, 72 key = KEY_VALUE_DRIVER_GOTO_PREVIOUS; 73 74 goto FORM_ID_ORDER, 75 prompt = STRING_TOKEN(STR_TITLE_ORDER), 76 help = STRING_TOKEN(STR_TITLE_ORDER_HELP), 77 flags = INTERACTIVE, 78 key = KEY_VALUE_DRIVER_GOTO_ORDER; 79 80 label FORM_ID_DRIVER; 81 label LABEL_END; 82 83 endform; 84 85 form formid = FORM_ID_ORDER, 86 title = STRING_TOKEN(STR_TITLE); 87 88 goto FORM_ID_DRIVER, 89 prompt = STRING_TOKEN(STR_GOTO_PREVIOUS), 90 help = STRING_TOKEN(STR_NULL_STRING), 91 flags = INTERACTIVE, 92 key = KEY_VALUE_ORDER_GOTO_PREVIOUS; 93 94 label FORM_ID_ORDER; 95 label LABEL_END; 96 97 subtitle text = STRING_TOKEN(STR_NULL_STRING); 98 99 text 100 help = STRING_TOKEN (STR_NULL_STRING), 101 text = STRING_TOKEN (STR_SAVE_AND_EXIT), 102 flags = INTERACTIVE | RESET_REQUIRED, 103 key = KEY_VALUE_ORDER_SAVE_AND_EXIT; 104 endform; 105 106 endformset; 107