Clear up network stack to use R9 MdeLib:

1.Use driver model APIs in UefiLib
2.Register Unload Image in INF/MSA to be included in autogen code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3962 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2007-09-28 06:02:01 +00:00
parent ba7e162ec1
commit da1d02010d
26 changed files with 1284 additions and 1445 deletions

View File

@@ -85,15 +85,14 @@ Returns:
--*/
{
return NetLibInstallAllDriverProtocolsWithUnload (
return EfiLibInstallAllDriverProtocols (
ImageHandle,
SystemTable,
&gIp4ConfigDriverBinding,
ImageHandle,
&gIp4ConfigComponentName,
NULL,
NULL,
EfiIp4ConfigUnload
NULL
);
}

View File

@@ -25,7 +25,7 @@
EFI_SPECIFICATION_VERSION = 0x00020000
ENTRY_POINT = Ip4ConfigDriverEntryPoint
UNLOAD_IMAGE = EfiIp4ConfigUnload
#
# The following information is for reference only and not required by the build tools.
#

View File

@@ -72,6 +72,7 @@
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
<Extern>
<ModuleEntryPoint>Ip4ConfigDriverEntryPoint</ModuleEntryPoint>
<ModuleUnloadImage>EfiIp4ConfigUnload</ModuleUnloadImage>
</Extern>
</Externs>
</ModuleSurfaceArea>