]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | Header file for NV data structure definition.\r | |
3 | \r | |
4 | Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r | |
5 | This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions\r | |
7 | of the BSD License which accompanies this distribution. The full\r | |
8 | text of the license may be found at<BR>\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef __VLAN_CONFIG_NV_DATA_H__\r | |
17 | #define __VLAN_CONFIG_NV_DATA_H__\r | |
18 | \r | |
19 | #include <Guid/HiiPlatformSetupFormset.h>\r | |
20 | #include <Guid/VlanConfigHii.h>\r | |
21 | \r | |
22 | #define VLAN_CONFIGURATION_VARSTORE_ID 0x0001\r | |
23 | #define VLAN_CONFIGURATION_FORM_ID 0x0001\r | |
24 | #define VLAN_HEAD_FORM_ID 0x0002\r | |
25 | \r | |
26 | #define VLAN_ADD_QUESTION_ID 0x1000\r | |
27 | #define VLAN_REMOVE_QUESTION_ID 0x2000\r | |
28 | #define VLAN_UPDATE_QUESTION_ID 0x3000\r | |
29 | \r | |
30 | #define LABEL_VLAN_LIST 0x0001\r | |
31 | #define LABEL_END 0xffff\r | |
32 | \r | |
33 | //\r | |
34 | // The maximum number of VLAN that will be displayed on the menu\r | |
35 | //\r | |
36 | #define MAX_VLAN_NUMBER 100\r | |
37 | \r | |
38 | //\r | |
39 | // Nv Data structure referenced by IFR\r | |
40 | //\r | |
41 | typedef struct {\r | |
42 | UINT16 VlanId;\r | |
43 | UINT8 Priority;\r | |
44 | UINT8 VlanList[MAX_VLAN_NUMBER];\r | |
45 | } VLAN_CONFIGURATION;\r | |
46 | \r | |
47 | #endif\r |