-#/** @file\r
-# Component name for module Ip4Config\r
+## @file\r
+# This module produces EFI IPv4 Configuration Protocol.\r
#\r
-# FIX ME!\r
-# Copyright (c) 2006, Intel Corporation\r
+# This module produces EFI IPv4 Configuration Protocol upon EFI MNP Protocol,\r
+# to performs platform- and policy-dependent configuration for the EFI IPv4\r
+# Protocol driver. It installs EFI HII Configuration Access Protocol to provide\r
+# one way to configurate the IPv4 network setting.\r
#\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2014, 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
# http://opensource.org/licenses/bsd-license.php\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
#\r
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = Ip4ConfigDxe\r
+ MODULE_UNI_FILE = Ip4ConfigDxe.uni\r
FILE_GUID = 26841BDE-920A-4e7a-9FBE-637F477143A6\r
- MODULE_TYPE = DXE_DRIVER\r
+ MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
ENTRY_POINT = Ip4ConfigDriverEntryPoint\r
-\r
+ UNLOAD_IMAGE = NetLibDefaultUnload\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
ComponentName.c\r
NicIp4Variable.c\r
Ip4ConfigDriver.c\r
Ip4Config.h\r
NicIp4Variable.h\r
Ip4Config.c\r
+ Ip4ConfigDxe.vfr\r
+ Ip4ConfigDxeStrings.uni\r
+ Ip4NvData.h\r
+ Ip4ConfigNv.h\r
+ Ip4ConfigNv.c\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
UefiRuntimeServicesTableLib\r
DebugLib\r
NetLib\r
-\r
+ HiiLib\r
+ PrintLib\r
+ DpcLib\r
+ DevicePathLib\r
\r
[Protocols]\r
- gEfiDhcp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiManagedNetworkServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiIp4ConfigProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiManagedNetworkProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiDhcp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiNicIp4ConfigVariableGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiNicIp4ConfigProtocolGuid # PROTOCOL ALWAYS_CONSUMED
\ No newline at end of file
+ gEfiIp4ConfigProtocolGuid ## BY_START\r
+ gEfiManagedNetworkServiceBindingProtocolGuid ## TO_START\r
+ gEfiManagedNetworkProtocolGuid ## TO_START\r
+ gEfiDhcp4ServiceBindingProtocolGuid ## TO_START\r
+ gEfiDhcp4ProtocolGuid ## TO_START\r
+ gEfiHiiConfigAccessProtocolGuid ## BY_START\r
+ ## TO_START\r
+ ## BY_START\r
+ gEfiDevicePathProtocolGuid\r
+\r
+[Guids]\r
+ ## SOMETIMES_CONSUMES ## GUID # HiiIsConfigHdrMatch EFI_NIC_IP4_CONFIG_VARIABLE\r
+ ## SOMETIMES_PRODUCES ## GUID # HiiConstructConfigHdr EFI_NIC_IP4_CONFIG_VARIABLE\r
+ ## SOMETIMES_PRODUCES ## Variable\r
+ ## SOMETIMES_CONSUMES ## Variable\r
+ ## SOMETIMES_PRODUCES ## GUID # Device Path Node\r
+ gEfiNicIp4ConfigVariableGuid\r
+ ## SOMETIMES_CONSUMES ## GUID # HiiIsConfigHdrMatch EFI_NIC_IP4_CONFIG_VARIABLE\r
+ ## SOMETIMES_PRODUCES ## GUID # HiiConstructConfigHdr EFI_NIC_IP4_CONFIG_VARIABLE\r
+ ## SOMETIMES_PRODUCES ## GUID # HiiGetBrowserData EFI_NIC_IP4_CONFIG_VARIABLE\r
+ ## SOMETIMES_CONSUMES ## HII\r
+ gNicIp4ConfigNvDataGuid\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ Ip4ConfigDxeExtra.uni\r