summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Fan <fan.wang@intel.com>2017-08-24 17:17:19 +0800
committerFu Siyuan <siyuan.fu@intel.com>2017-09-06 13:06:06 +0800
commitd51b0122bf9bd1df831c77b5669bfbb66aaa4874 (patch)
treeab0408ca4608284e9cbf79f7fd71da0e31635292
parent4d150848c51f39363fec01779514baa8394d68c5 (diff)
downloadedk2-d51b0122bf9bd1df831c77b5669bfbb66aaa4874.tar.gz
edk2-d51b0122bf9bd1df831c77b5669bfbb66aaa4874.tar.bz2
edk2-d51b0122bf9bd1df831c77b5669bfbb66aaa4874.zip
MdePkg: Add UEFI 2.7 defined GUID and structure for AIP network media type.
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wang Fan <fan.wang@intel.com>
-rw-r--r--MdePkg/Include/Protocol/AdapterInformation.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/MdePkg/Include/Protocol/AdapterInformation.h b/MdePkg/Include/Protocol/AdapterInformation.h
index 275e1b63af..6421e56d9a 100644
--- a/MdePkg/Include/Protocol/AdapterInformation.h
+++ b/MdePkg/Include/Protocol/AdapterInformation.h
@@ -3,7 +3,7 @@
The EFI Adapter Information Protocol is used to dynamically and quickly discover
or set device information for an adapter.
- Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -46,6 +46,12 @@
0x4bd56be3, 0x4975, 0x4d8a, {0xa0, 0xad, 0xc4, 0x91, 0x20, 0x4b, 0x5d, 0x4d} \
}
+#define EFI_ADAPTER_INFO_MEDIA_TYPE_GUID \
+ { \
+ 0x8484472f, 0x71ec, 0x411a, { 0xb3, 0x9c, 0x62, 0xcd, 0x94, 0xd9, 0x91, 0x6e } \
+ }
+
+
typedef struct _EFI_ADAPTER_INFORMATION_PROTOCOL EFI_ADAPTER_INFORMATION_PROTOCOL;
///
@@ -62,6 +68,19 @@ typedef struct {
} EFI_ADAPTER_INFO_MEDIA_STATE;
///
+/// EFI_ADAPTER_INFO_MEDIA_TYPE
+///
+typedef struct {
+ ///
+ /// Indicates the current media type. MediaType can have any of the following values:
+ /// 1: Ethernet Network Adapter
+ /// 2: Ethernet Wireless Network Adapter
+ /// 3~255: Reserved
+ ///
+ UINT8 MediaType;
+} EFI_ADAPTER_INFO_MEDIA_TYPE;
+
+///
/// EFI_ADAPTER_INFO_NETWORK_BOOT
///
typedef struct {