From d8d26fb207e02aa5ef57e2bcb213f9dda16166cc Mon Sep 17 00:00:00 2001 From: mdkinney Date: Sat, 11 Jul 2009 22:51:51 +0000 Subject: 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 --- MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | 7 ++++--- MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'MdeModulePkg/Library/DxeIpIoLib') diff --git a/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c b/MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c index c3dc515c45..0843173a64 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 #include #include +#include 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 1e812c8f83..1e83b67df7 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 -- cgit v1.2.3