summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DxeIpIoLib
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-11 22:51:51 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-11 22:51:51 +0000
commitd8d26fb207e02aa5ef57e2bcb213f9dda16166cc (patch)
tree067de377b9c658c7ec82302c176aa26d582c35cf /MdeModulePkg/Library/DxeIpIoLib
parente9880e25390e86a0f54d3f5224e65c8cf3d01568 (diff)
downloadedk2-d8d26fb207e02aa5ef57e2bcb213f9dda16166cc.zip
edk2-d8d26fb207e02aa5ef57e2bcb213f9dda16166cc.tar.gz
edk2-d8d26fb207e02aa5ef57e2bcb213f9dda16166cc.tar.bz2
Retire NetLibQueueDpc() and NetLibDispatchDpc() and use QueueDpc() and DispatchDpc() from the DpcLib instead.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8897 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/DxeIpIoLib')
-rw-r--r--MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c7
-rw-r--r--MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf1
2 files changed, 5 insertions, 3 deletions
diff --git a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c
index c3dc515..0843173 100644
--- a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c
+++ b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c
@@ -21,6 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/BaseMemoryLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/MemoryAllocationLib.h>
+#include <Library/DpcLib.h>
LIST_ENTRY mActiveIpIoList = {
@@ -564,7 +565,7 @@ IpIoTransmitHandler (
//
// Request IpIoTransmitHandlerDpc as a DPC at TPL_CALLBACK
//
- NetLibQueueDpc (TPL_CALLBACK, IpIoTransmitHandlerDpc, Context);
+ QueueDpc (TPL_CALLBACK, IpIoTransmitHandlerDpc, Context);
}
@@ -618,7 +619,7 @@ IpIoDummyHandler (
//
// Request IpIoDummyHandlerDpc as a DPC at TPL_CALLBACK
//
- NetLibQueueDpc (TPL_CALLBACK, IpIoDummyHandlerDpc, Context);
+ QueueDpc (TPL_CALLBACK, IpIoDummyHandlerDpc, Context);
}
@@ -738,7 +739,7 @@ IpIoListenHandler (
//
// Request IpIoListenHandlerDpc as a DPC at TPL_CALLBACK
//
- NetLibQueueDpc (TPL_CALLBACK, IpIoListenHandlerDpc, Context);
+ QueueDpc (TPL_CALLBACK, IpIoListenHandlerDpc, Context);
}
diff --git a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
index 1e812c8..1e83b67 100644
--- a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
+++ b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
@@ -45,3 +45,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
UefiBootServicesTableLib
MemoryAllocationLib
BaseMemoryLib
+ DpcLib