]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add the definition of UNDI_CONFIG_TABLE defined in UEFI Specification, 2.3.1
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 25 Oct 2011 02:25:24 +0000 (02:25 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 25 Oct 2011 02:25:24 +0000 (02:25 +0000)
Signed-off-by: vanjeff
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12560 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/NetworkInterfaceIdentifier.h

index 777d50799d29b25441142bec239520dbfb008836..417a6cdc2bfc56927bec5d66974d79763ca83cd0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   EFI Network Interface Identifier Protocol.\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under\r
 the terms and conditions of the BSD License that accompanies this distribution.\r
 The full text of the license may be found at\r
@@ -85,6 +85,29 @@ typedef enum {
   EfiNetworkInterfaceUndi = 1\r
 } EFI_NETWORK_INTERFACE_TYPE;\r
 \r
+///\r
+/// Forward reference for pure ANSI compatability.\r
+///\r
+typedef struct undiconfig_table  UNDI_CONFIG_TABLE;\r
+\r
+///\r
+/// The format of the configuration table for UNDI\r
+///\r
+struct undiconfig_table {\r
+  UINT32             NumberOfInterfaces;    ///< The number of NIC devices\r
+                                            ///< that this UNDI controls.\r
+  UINT32             reserved;\r
+  UNDI_CONFIG_TABLE  *nextlink;             ///< A pointer to the next UNDI\r
+                                            ///< configuration table.\r
+  ///\r
+  /// The length of this array is given in the NumberOfInterfaces field.\r
+  ///\r
+  struct {\r
+    VOID             *NII_InterfacePointer; ///< Pointer to the NII interface structure.\r
+    VOID             *DevicePathPointer;    ///< Pointer to the device path for this NIC.\r
+  } NII_entry[1]; \r
+};\r
+\r
 extern EFI_GUID gEfiNetworkInterfaceIdentifierProtocolGuid;\r
 extern EFI_GUID gEfiNetworkInterfaceIdentifierProtocolGuid_31;\r
 \r