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:
@@ -240,7 +240,7 @@ IcmpErrorListenHandler (
|
||||
//
|
||||
// Request IpIoListenHandlerDpc as a DPC at TPL_CALLBACK
|
||||
//
|
||||
NetLibQueueDpc (TPL_CALLBACK, IcmpErrorListenHandlerDpc, Context);
|
||||
QueueDpc (TPL_CALLBACK, IcmpErrorListenHandlerDpc, Context);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -473,7 +473,7 @@ EfiPxeBcStop (
|
||||
// Dispatch the DPCs queued by the NotifyFunction of the canceled rx token's
|
||||
// events.
|
||||
//
|
||||
NetLibDispatchDpc ();
|
||||
DispatchDpc ();
|
||||
|
||||
Private->Ip4->Configure (Private->Ip4, NULL);
|
||||
|
||||
|
@@ -39,6 +39,7 @@ typedef struct _PXEBC_PRIVATE_DATA PXEBC_PRIVATE_DATA;
|
||||
#include <Library/UefiLib.h>
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/NetLib.h>
|
||||
#include <Library/DpcLib.h>
|
||||
|
||||
#include "PxeBcDriver.h"
|
||||
#include "PxeArch.h"
|
||||
|
@@ -74,13 +74,11 @@
|
||||
MemoryAllocationLib
|
||||
DebugLib
|
||||
NetLib
|
||||
|
||||
DpcLib
|
||||
|
||||
[Guids]
|
||||
gEfiSmbiosTableGuid # ALWAYS_CONSUMED
|
||||
|
||||
|
||||
|
||||
[Protocols]
|
||||
gEfiArpServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiArpProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
@@ -96,4 +94,3 @@
|
||||
gEfiNetworkInterfaceIdentifierProtocolGuid_31 ## SOMETIMES_CONSUMES
|
||||
gEfiIp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiIp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
|
||||
|
Reference in New Issue
Block a user