Last change
on this file since 80721 was 80721, checked in by vboxsync, 5 years ago |
Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
987 bytes
|
Line | |
---|
1 | /** @file
|
---|
2 | Header file for NV data structure definition.
|
---|
3 |
|
---|
4 | Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #ifndef __VLAN_CONFIG_NV_DATA_H__
|
---|
10 | #define __VLAN_CONFIG_NV_DATA_H__
|
---|
11 |
|
---|
12 | #include <Guid/HiiPlatformSetupFormset.h>
|
---|
13 | #include <Guid/VlanConfigHii.h>
|
---|
14 |
|
---|
15 | #define VLAN_CONFIGURATION_VARSTORE_ID 0x0001
|
---|
16 | #define VLAN_CONFIGURATION_FORM_ID 0x0001
|
---|
17 | #define VLAN_HEAD_FORM_ID 0x0002
|
---|
18 |
|
---|
19 | #define VLAN_ADD_QUESTION_ID 0x1000
|
---|
20 | #define VLAN_REMOVE_QUESTION_ID 0x2000
|
---|
21 | #define VLAN_UPDATE_QUESTION_ID 0x3000
|
---|
22 |
|
---|
23 | #define LABEL_VLAN_LIST 0x0001
|
---|
24 | #define LABEL_END 0xffff
|
---|
25 |
|
---|
26 | //
|
---|
27 | // The maximum number of VLAN that will be displayed on the menu
|
---|
28 | //
|
---|
29 | #define MAX_VLAN_NUMBER 100
|
---|
30 |
|
---|
31 | //
|
---|
32 | // Nv Data structure referenced by IFR
|
---|
33 | //
|
---|
34 | typedef struct {
|
---|
35 | UINT16 VlanId;
|
---|
36 | UINT8 Priority;
|
---|
37 | UINT8 VlanList[MAX_VLAN_NUMBER];
|
---|
38 | } VLAN_CONFIGURATION;
|
---|
39 |
|
---|
40 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.