]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/AdapterInformation.h
MdePkg/ProcessorBind: add defines for page allocation granularity
[mirror_edk2.git] / MdePkg / Include / Protocol / AdapterInformation.h
index b9dac1ad7d54f649d7a0d57421f4727bca2c60fe..275e1b63af02fc0d8584ae3c43d0e66a1c29094c 100644 (file)
@@ -3,7 +3,7 @@
   The EFI Adapter Information Protocol is used to dynamically and quickly discover\r
   or set device information for an adapter.\r
 \r
-  Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution. The full text of the license may be found at\r
     0x114da5ef, 0x2cf1, 0x4e12, {0x9b, 0xbb, 0xc4, 0x70, 0xb5, 0x52, 0x5, 0xd9 } \\r
   }\r
 \r
+#define EFI_ADAPTER_INFO_UNDI_IPV6_SUPPORT_GUID \\r
+  { \\r
+    0x4bd56be3, 0x4975, 0x4d8a, {0xa0, 0xad, 0xc4, 0x91, 0x20, 0x4b, 0x5d, 0x4d} \\r
+  }\r
+\r
 typedef struct _EFI_ADAPTER_INFORMATION_PROTOCOL EFI_ADAPTER_INFORMATION_PROTOCOL;\r
 \r
 ///\r
@@ -54,7 +59,7 @@ typedef struct {
   /// not any media attached to the network.\r
   ///\r
   EFI_STATUS                    MediaState;\r
-}EFI_ADAPTER_INFO_MEDIA_STATE;\r
+} EFI_ADAPTER_INFO_MEDIA_STATE;\r
 \r
 ///\r
 /// EFI_ADAPTER_INFO_NETWORK_BOOT\r
@@ -63,7 +68,7 @@ typedef struct {
   ///\r
   /// TRUE if the adapter supports booting from iSCSI IPv4 targets.\r
   ///\r
-  BOOLEAN                       iSsciIpv4BootCapablity;\r
+  BOOLEAN                       iScsiIpv4BootCapablity;\r
   ///\r
   /// TRUE if the adapter supports booting from iSCSI IPv6 targets.\r
   ///\r
@@ -96,7 +101,7 @@ typedef struct {
   /// TRUE if the adapter is currently configured to boot from FCoE targets.\r
   ///\r
   BOOLEAN                       FCoeBoot;\r
-}EFI_ADAPTER_INFO_NETWORK_BOOT;\r
+} EFI_ADAPTER_INFO_NETWORK_BOOT;\r
 \r
 ///\r
 /// EFI_ADAPTER_INFO_SAN_MAC_ADDRESS\r
@@ -107,7 +112,17 @@ typedef struct {
   /// networking and Fibre-Channel Over Ethernet (FCOE), this conveys the FCOE SAN MAC address from the adapter.\r
   ///\r
   EFI_MAC_ADDRESS                    SanMacAddress;\r
-}EFI_ADAPTER_INFO_SAN_MAC_ADDRESS;\r
+} EFI_ADAPTER_INFO_SAN_MAC_ADDRESS;\r
+\r
+///\r
+/// EFI_ADAPTER_INFO_UNDI_IPV6_SUPPORT\r
+///\r
+typedef struct {\r
+  ///\r
+  /// Returns capability of UNDI to support IPv6 traffic.\r
+  ///\r
+  BOOLEAN                            Ipv6Support; \r
+} EFI_ADAPTER_INFO_UNDI_IPV6_SUPPORT;\r
 \r
 /**\r
   Returns the current state information for the adapter.\r
@@ -179,9 +194,9 @@ EFI_STATUS
   InfoTypesBufferCount.\r
 \r
   @param[in]  This                  A pointer to the EFI_ADAPTER_INFORMATION_PROTOCOL instance.\r
-  @param[out] InfoTypesBuffer       A pointer to the list of InformationType GUID pointers that are supported\r
+  @param[out] InfoTypesBuffer       A pointer to the array of InformationType GUIDs that are supported\r
                                     by This.\r
-  @param[out] InfoTypesBufferCount  A pointer to the number of GUID pointers present in InfoTypesBuffer.\r
+  @param[out] InfoTypesBufferCount  A pointer to the number of GUIDs present in InfoTypesBuffer.\r
 \r
   @retval EFI_SUCCESS               The list of information type GUIDs that are supported on this adapter was\r
                                     returned in InfoTypesBuffer. The number of information type GUIDs was\r
@@ -207,7 +222,7 @@ EFI_STATUS
 /// - Sets device information for adapter.\r
 /// - Gets a list of supported information types for this instance of the protocol.\r
 ///\r
-typedef struct _EFI_ADAPTER_INFORMATION_PROTOCOL {\r
+struct _EFI_ADAPTER_INFORMATION_PROTOCOL {\r
   EFI_ADAPTER_INFO_GET_INFO              GetInformation;\r
   EFI_ADAPTER_INFO_SET_INFO              SetInformation;\r
   EFI_ADAPTER_INFO_GET_SUPPORTED_TYPES   GetSupportedTypes;\r
@@ -221,4 +236,6 @@ extern EFI_GUID gEfiAdapterInfoNetworkBootGuid;
 \r
 extern EFI_GUID gEfiAdapterInfoSanMacAddressGuid;\r
 \r
+extern EFI_GUID gEfiAdapterInfoUndiIpv6SupportGuid;\r
+\r
 #endif\r