]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/PlatformDriOverrideDxe/Vfr.vfr
Clean up the code. Action statement should not have text two opcode.
[mirror_edk2.git] / MdeModulePkg / Universal / PlatformDriOverrideDxe / Vfr.vfr
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 class = EFI_DISK_DEVICE_CLASS,
32 subclass = 0xff,
33
34 varstore PLAT_OVER_MNGR_DATA,
35 varid = VARSTORE_ID_PLAT_OVER_MNGR,
36 name = Data,
37 guid = PLAT_OVER_MNGR_GUID;
38
39 form formid = FORM_ID_DEVICE,
40 title = STRING_TOKEN(STR_TITLE);
41
42 text
43 help = STRING_TOKEN(STR_FIRST_REFRESH_HELP),
44 text = STRING_TOKEN(STR_FIRST_REFRESH),
45 flags = INTERACTIVE,
46 key = KEY_VALUE_DEVICE_REFRESH;
47
48 checkbox varid = Data.PciDeviceFilter,
49 prompt = STRING_TOKEN(STR_PCI_DEVICE_FILTER_PROMPT),
50 help = STRING_TOKEN(STR_PCI_DEVICE_FILTER_HELP),
51 flags = INTERACTIVE,
52 key = KEY_VALUE_DEVICE_FILTER,
53 endcheckbox;
54
55 label FORM_ID_DEVICE;
56 label LABEL_END;
57
58 subtitle text = STRING_TOKEN(STR_NULL_STRING);
59
60 goto FORM_ID_DEVICE,
61 prompt = STRING_TOKEN(STR_CLEAR_ALL),
62 help = STRING_TOKEN(STR_CLEAR_ALL_HELP),
63 flags = INTERACTIVE | RESET_REQUIRED,
64 key = KEY_VALUE_DEVICE_CLEAR;
65 endform;
66
67 form formid = FORM_ID_DRIVER,
68 title = STRING_TOKEN(STR_TITLE);
69
70 goto FORM_ID_DEVICE,
71 prompt = STRING_TOKEN(STR_GOTO_PREVIOUS),
72 help = STRING_TOKEN(STR_NULL_STRING),
73 flags = INTERACTIVE,
74 key = KEY_VALUE_DRIVER_GOTO_PREVIOUS;
75
76 goto FORM_ID_ORDER,
77 prompt = STRING_TOKEN(STR_TITLE_ORDER),
78 help = STRING_TOKEN(STR_TITLE_ORDER_HELP),
79 flags = INTERACTIVE,
80 key = KEY_VALUE_DRIVER_GOTO_ORDER;
81
82 label FORM_ID_DRIVER;
83 label LABEL_END;
84
85 endform;
86
87 form formid = FORM_ID_ORDER,
88 title = STRING_TOKEN(STR_TITLE);
89
90 goto FORM_ID_DRIVER,
91 prompt = STRING_TOKEN(STR_GOTO_PREVIOUS),
92 help = STRING_TOKEN(STR_NULL_STRING),
93 flags = INTERACTIVE,
94 key = KEY_VALUE_ORDER_GOTO_PREVIOUS;
95
96 label FORM_ID_ORDER;
97 label LABEL_END;
98
99 subtitle text = STRING_TOKEN(STR_NULL_STRING);
100
101 text
102 help = STRING_TOKEN (STR_NULL_STRING),
103 text = STRING_TOKEN (STR_SAVE_AND_EXIT),
104 flags = INTERACTIVE | RESET_REQUIRED,
105 key = KEY_VALUE_ORDER_SAVE_AND_EXIT;
106 endform;
107
108 endformset;