summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Network/ArpDxe
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-28 06:02:01 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-28 06:02:01 +0000
commitda1d02010d73465a9c2b21f619e8c01cb00bd1fa (patch)
tree926eb3e0419e731712c9aafb78b2f8b0e742f901 /MdeModulePkg/Universal/Network/ArpDxe
parentba7e162ec1407988cfe305b15499e9b2fd9c51ef (diff)
downloadedk2-platforms-da1d02010d73465a9c2b21f619e8c01cb00bd1fa.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Universal/Network/ArpDxe')
-rw-r--r--MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.c2
-rw-r--r--MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf2
-rw-r--r--MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.msa1
3 files changed, 3 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.c b/MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.c
index 6a52ed1958..924028531a 100644
--- a/MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.c
+++ b/MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.c
@@ -749,7 +749,7 @@ Returns:
--*/
{
- return NetLibInstallAllDriverProtocols (
+ return EfiLibInstallAllDriverProtocols (
ImageHandle,
SystemTable,
&gArpDriverBinding,
diff --git a/MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf b/MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
index 5a50e93d0f..ef954fe61e 100644
--- a/MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
+++ b/MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
@@ -24,7 +24,7 @@
EFI_SPECIFICATION_VERSION = 0x00020000
ENTRY_POINT = ArpDriverEntryPoint
-
+ UNLOAD_IMAGE = NetLibDefaultUnload
#
# The following information is for reference only and not required by the build tools.
#
diff --git a/MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.msa b/MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.msa
index 12f19d6535..47286726c8 100644
--- a/MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.msa
+++ b/MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.msa
@@ -67,6 +67,7 @@
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
<Extern>
<ModuleEntryPoint>ArpDriverEntryPoint</ModuleEntryPoint>
+ <ModuleUnloadImage>NetLibDefaultUnload</ModuleUnloadImage>
</Extern>
</Externs>
</ModuleSurfaceArea> \ No newline at end of file