]> 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 3e95393221aa6c5e5b9a3ad3fc0d87296df3aa22..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