]>
Commit | Line | Data |
---|---|---|
779ae357 | 1 | /** @file\r |
2 | Header file for NV data structure definition.\r | |
3 | \r | |
9ea13d79 | 4 | Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r |
e5eed7d3 | 5 | This program and the accompanying materials\r |
779ae357 | 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 | \r | |
21 | \r | |
22 | #define VLAN_CONFIG_PRIVATE_GUID \\r | |
23 | { \\r | |
24 | 0xd79df6b0, 0xef44, 0x43bd, {0x97, 0x97, 0x43, 0xe9, 0x3b, 0xcf, 0x5f, 0xa8 } \\r | |
25 | }\r | |
26 | \r | |
27 | #define VLAN_CONFIGURATION_VARSTORE_ID 0x0001\r | |
28 | #define VLAN_CONFIGURATION_FORM_ID 0x0001\r | |
9ea13d79 | 29 | #define VLAN_HEAD_FORM_ID 0x0002\r |
779ae357 | 30 | \r |
31 | #define VLAN_ADD_QUESTION_ID 0x1000\r | |
32 | #define VLAN_REMOVE_QUESTION_ID 0x2000\r | |
9ea13d79 | 33 | #define VLAN_UPDATE_QUESTION_ID 0x3000\r |
779ae357 | 34 | \r |
35 | #define LABEL_VLAN_LIST 0x0001\r | |
36 | #define LABEL_END 0xffff\r | |
37 | \r | |
38 | //\r | |
39 | // The maximum number of VLAN that will be displayed on the menu\r | |
40 | //\r | |
41 | #define MAX_VLAN_NUMBER 100\r | |
42 | \r | |
43 | //\r | |
44 | // Nv Data structure referenced by IFR\r | |
45 | //\r | |
46 | typedef struct {\r | |
47 | UINT16 VlanId;\r | |
48 | UINT8 Priority;\r | |
49 | UINT8 VlanList[MAX_VLAN_NUMBER];\r | |
50 | } VLAN_CONFIGURATION;\r | |
51 | \r | |
52 | #endif\r |