]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.c
Retire NetLibQueueDpc() and NetLibDispatchDpc() and use QueueDpc() and DispatchDpc...
[mirror_edk2.git] / MdeModulePkg / Library / DxeUdpIoLib / DxeUdpIoLib.c
index 151a67aff6a8721dc07f460141ef95e20bd20b41..91e211a9bdca379fa36d6719918c08da6fa5616a 100644 (file)
@@ -21,6 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
+#include <Library/DpcLib.h>\r
 \r
 \r
 /**\r
@@ -96,7 +97,7 @@ UdpIoOnDgramSent (
   //\r
   // Request UdpIoOnDgramSentDpc as a DPC at TPL_CALLBACK\r
   //\r
-  NetLibQueueDpc (TPL_CALLBACK, UdpIoOnDgramSentDpc, Context);\r
+  QueueDpc (TPL_CALLBACK, UdpIoOnDgramSentDpc, Context);\r
 }\r
 \r
 /**\r
@@ -214,7 +215,7 @@ UdpIoOnDgramRcvd (
   //\r
   // Request UdpIoOnDgramRcvdDpc as a DPC at TPL_CALLBACK\r
   //\r
-  NetLibQueueDpc (TPL_CALLBACK, UdpIoOnDgramRcvdDpc, Context);\r
+  QueueDpc (TPL_CALLBACK, UdpIoOnDgramRcvdDpc, Context);\r
 }\r
 \r
 /**\r
@@ -482,6 +483,7 @@ FREE_MEM:
 \r
 **/\r
 VOID\r
+EFIAPI\r
 UdpIoCancelDgrams (\r
   IN UDP_IO_PORT            *UdpIo,\r
   IN EFI_STATUS             IoStatus,\r