]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c
Retire NetLibQueueDpc() and NetLibDispatchDpc() and use QueueDpc() and DispatchDpc...
[mirror_edk2.git] / MdeModulePkg / Library / DxeIpIoLib / DxeIpIoLib.c
index c3dc515c45a0ceeac7c9a96da279254651513cda..0843173a64548b5caede71d3e3caecb8b73fa27f 100644 (file)
@@ -21,6 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
+#include <Library/DpcLib.h>\r
 \r
 \r
 LIST_ENTRY  mActiveIpIoList = {\r
@@ -564,7 +565,7 @@ IpIoTransmitHandler (
   //\r
   // Request IpIoTransmitHandlerDpc as a DPC at TPL_CALLBACK\r
   //\r
-  NetLibQueueDpc (TPL_CALLBACK, IpIoTransmitHandlerDpc, Context);\r
+  QueueDpc (TPL_CALLBACK, IpIoTransmitHandlerDpc, Context);\r
 }\r
 \r
 \r
@@ -618,7 +619,7 @@ IpIoDummyHandler (
   //\r
   // Request IpIoDummyHandlerDpc as a DPC at TPL_CALLBACK\r
   //\r
-  NetLibQueueDpc (TPL_CALLBACK, IpIoDummyHandlerDpc, Context);\r
+  QueueDpc (TPL_CALLBACK, IpIoDummyHandlerDpc, Context);\r
 }\r
 \r
 \r
@@ -738,7 +739,7 @@ IpIoListenHandler (
   //\r
   // Request IpIoListenHandlerDpc as a DPC at TPL_CALLBACK\r
   //\r
-  NetLibQueueDpc (TPL_CALLBACK, IpIoListenHandlerDpc, Context);\r
+  QueueDpc (TPL_CALLBACK, IpIoListenHandlerDpc, Context);\r
 }\r
 \r
 \r