]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfig.vfr
1. Correct File header to ## @file
[mirror_edk2.git] / MdeModulePkg / Universal / Network / VlanConfigDxe / VlanConfig.vfr
1 ///** @file
2 // VLAN configuration formset.
3 //
4 // Copyright (c) 2009, Intel Corporation.<BR>
5 // All rights reserved. This program and the accompanying materials
6 // are licensed and made available under the terms and conditions
7 // of the BSD License which accompanies this distribution. The full
8 // text of the license may be found at<BR>
9 // http://opensource.org/licenses/bsd-license.php
10 //
11 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 //
14 //**/
15
16 #include "VlanConfigNvData.h"
17
18 formset
19 guid = VLAN_CONFIG_PRIVATE_GUID,
20 title = STRING_TOKEN(STR_VLAN_FORM_SET_TITLE),
21 help = STRING_TOKEN(STR_VLAN_FORM_SET_TITLE_HELP),
22 classguid = EFI_HII_PLATFORM_SETUP_FORMSET_GUID,
23
24 varstore VLAN_CONFIGURATION,
25 varid = VLAN_CONFIGURATION_VARSTORE_ID,
26 name = VlanNvData,
27 guid = VLAN_CONFIG_PRIVATE_GUID;
28
29 form formid = VLAN_CONFIGURATION_FORM_ID,
30 title = STRING_TOKEN(STR_VLAN_FORM_TITLE);
31
32 subtitle text = STRING_TOKEN(STR_VLAN_CREATE_VLAN);
33
34 numeric varid = VlanNvData.VlanId,
35 prompt = STRING_TOKEN(STR_VLAN_VID_PROMPT),
36 help = STRING_TOKEN(STR_VLAN_VID_HELP),
37 minimum = 0,
38 maximum = 4094,
39 endnumeric;
40
41 numeric varid = VlanNvData.Priority,
42 prompt = STRING_TOKEN(STR_VLAN_PRIORITY_PROMPT),
43 help = STRING_TOKEN(STR_VLAN_PRIORITY_HELP),
44 minimum = 0,
45 maximum = 7,
46 endnumeric;
47
48 text
49 help = STRING_TOKEN(STR_VLAN_ADD_VLAN_HELP),
50 text = STRING_TOKEN(STR_VLAN_ADD_VLAN_PROMPT),
51 flags = INTERACTIVE,
52 key = VLAN_ADD_QUESTION_ID;
53
54 subtitle text = STRING_TOKEN(STR_VLAN_NULL_STRING);
55 subtitle text = STRING_TOKEN(STR_VLAN_VLAN_LIST);
56
57 label LABEL_VLAN_LIST;
58 label LABEL_END;
59
60 text
61 help = STRING_TOKEN(STR_VLAN_REMOVE_VLAN_HELP),
62 text = STRING_TOKEN(STR_VLAN_REMOVE_VLAN_PROMPT),
63 flags = INTERACTIVE,
64 key = VLAN_REMOVE_QUESTION_ID;
65
66 endform;
67
68 endformset;