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:
@@ -52,11 +52,10 @@
|
||||
UefiDriverEntryPoint
|
||||
DebugLib
|
||||
NetLib
|
||||
|
||||
DpcLib
|
||||
|
||||
[Protocols]
|
||||
gEfiManagedNetworkServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiArpServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiManagedNetworkProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiArpProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
|
||||
|
@@ -325,7 +325,7 @@ ArpOnFrameRcvd (
|
||||
//
|
||||
// Request ArpOnFrameRcvdDpc as a DPC at TPL_CALLBACK
|
||||
//
|
||||
NetLibQueueDpc (TPL_CALLBACK, ArpOnFrameRcvdDpc, Context);
|
||||
QueueDpc (TPL_CALLBACK, ArpOnFrameRcvdDpc, Context);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -386,7 +386,7 @@ ArpOnFrameSent (
|
||||
//
|
||||
// Request ArpOnFrameSentDpc as a DPC at TPL_CALLBACK
|
||||
//
|
||||
NetLibQueueDpc (TPL_CALLBACK, ArpOnFrameSentDpc, Context);
|
||||
QueueDpc (TPL_CALLBACK, ArpOnFrameSentDpc, Context);
|
||||
}
|
||||
|
||||
|
||||
@@ -812,7 +812,7 @@ ArpAddressResolved (
|
||||
//
|
||||
// Dispatch the DPCs queued by the NotifyFunction of the Context->UserRequestEvent.
|
||||
//
|
||||
NetLibDispatchDpc ();
|
||||
DispatchDpc ();
|
||||
|
||||
return Count;
|
||||
}
|
||||
|
@@ -30,6 +30,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <Library/DpcLib.h>
|
||||
|
||||
//
|
||||
// Ethernet protocol type definitions.
|
||||
|
@@ -668,7 +668,7 @@ SIGNAL_USER:
|
||||
//
|
||||
// Dispatch the DPC queued by the NotifyFunction of ResolvedEvent.
|
||||
//
|
||||
NetLibDispatchDpc ();
|
||||
DispatchDpc ();
|
||||
}
|
||||
|
||||
return Status;
|
||||
@@ -737,7 +737,7 @@ ArpCancel (
|
||||
// Dispatch the DPCs queued by the NotifyFunction of the events signaled
|
||||
// by ArpCancleRequest.
|
||||
//
|
||||
NetLibDispatchDpc ();
|
||||
DispatchDpc ();
|
||||
|
||||
gBS->RestoreTPL (OldTpl);
|
||||
|
||||
|
Reference in New Issue
Block a user