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@3970 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2007-09-28 09:12:52 +00:00
parent 9e8ababcb3
commit 806b6f31d9
2 changed files with 3 additions and 4 deletions

View File

@ -1018,15 +1018,14 @@ Returns:
// Install the Driver Protocols // Install the Driver Protocols
// //
Status = NetLibInstallAllDriverProtocolsWithUnload ( Status = EfiLibInstallAllDriverProtocols (
ImageHandle, ImageHandle,
SystemTable, SystemTable,
&gSnpNt32DriverBinding, &gSnpNt32DriverBinding,
ImageHandle, ImageHandle,
&gSnpNt32DriverComponentName, &gSnpNt32DriverComponentName,
NULL, NULL,
NULL, NULL
SnpNt32Unload
); );
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {
return Status; return Status;

View File

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