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
This commit is contained in:
@ -21,6 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#include <Library/UefiBootServicesTableLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
#include <Library/DpcLib.h>
|
||||
|
||||
|
||||
/**
|
||||
@ -96,7 +97,7 @@ UdpIoOnDgramSent (
|
||||
//
|
||||
// Request UdpIoOnDgramSentDpc as a DPC at TPL_CALLBACK
|
||||
//
|
||||
NetLibQueueDpc (TPL_CALLBACK, UdpIoOnDgramSentDpc, Context);
|
||||
QueueDpc (TPL_CALLBACK, UdpIoOnDgramSentDpc, Context);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -214,7 +215,7 @@ UdpIoOnDgramRcvd (
|
||||
//
|
||||
// Request UdpIoOnDgramRcvdDpc as a DPC at TPL_CALLBACK
|
||||
//
|
||||
NetLibQueueDpc (TPL_CALLBACK, UdpIoOnDgramRcvdDpc, Context);
|
||||
QueueDpc (TPL_CALLBACK, UdpIoOnDgramRcvdDpc, Context);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user