/** @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
#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
/// 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