]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4NvData.h
MdeModulePkg: INF/DEC file updates to EDK II packages
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4ConfigDxe / Ip4NvData.h
index 9e3ddf7b33148f8f9177b9702b33a7926c59bc64..2a0952706a810a3c16413b5ad38e22233a774740 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Routines used to operate the Ip4 configure variable.\r
 \r
-Copyright (c) 2009, Intel Corporation.<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2009 - 2011, 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<BR>\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -15,14 +15,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef _NIC_IP4_NV_DATA_H_\r
 #define _NIC_IP4_NV_DATA_H_\r
 \r
-#define EFI_NIC_IP4_CONFIG_NVDATA_GUID \\r
-  { \\r
-    0x9d5b53f, 0xf4b0, 0x4f59, { 0xa0, 0xb1, 0x7b, 0x57, 0xd3, 0x5c, 0xe, 0x5 } \\r
-  }\r
+#include <Guid/Ip4ConfigHii.h>\r
 \r
 #define FORMID_MAIN_FORM    1\r
 #define FORMID_DEVICE_FORM  2\r
 \r
+#define KEY_ENABLE                0x100\r
 #define KEY_DHCP_ENABLE           0x101\r
 #define KEY_LOCAL_IP              0x102\r
 #define KEY_SUBNET_MASK           0x103\r
@@ -39,8 +37,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 /// of variable length.\r
 ///\r
 typedef struct {\r
-  UINT16          NicAddr[3];                        ///< NIC MAC address\r
-  UINT8           Reserved;                          ///< Reserved bits\r
+  UINT8           Configure;                         ///< NIC configure status\r
   UINT8           DhcpEnable;                        ///< Static or DHCP\r
   CHAR16          StationAddress[IP4_STR_MAX_SIZE];  ///< IP addresses\r
   CHAR16          SubnetMask[IP4_STR_MAX_SIZE];      ///< Subnet address\r