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:
@ -219,7 +219,7 @@ EfiNicIp4ConfigSetInfo (
|
||||
//
|
||||
if (Reconfig && (Instance->ReconfigEvent != NULL)) {
|
||||
Status = gBS->SignalEvent (Instance->ReconfigEvent);
|
||||
NetLibDispatchDpc ();
|
||||
DispatchDpc ();
|
||||
}
|
||||
|
||||
return Status;
|
||||
@ -335,7 +335,7 @@ ON_EXIT:
|
||||
gBS->SignalEvent (Instance->DoneEvent);
|
||||
Ip4ConfigCleanDhcp4 (Instance);
|
||||
|
||||
NetLibDispatchDpc ();
|
||||
DispatchDpc ();
|
||||
|
||||
return ;
|
||||
}
|
||||
@ -538,7 +538,7 @@ ON_ERROR:
|
||||
ON_EXIT:
|
||||
gBS->RestoreTPL (OldTpl);
|
||||
|
||||
NetLibDispatchDpc ();
|
||||
DispatchDpc ();
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
@ -37,6 +37,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <Library/HiiLib.h>
|
||||
#include <Library/PrintLib.h>
|
||||
#include <Library/DpcLib.h>
|
||||
|
||||
#include "NicIp4Variable.h"
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
||||
NetLib
|
||||
HiiLib
|
||||
PrintLib
|
||||
|
||||
DpcLib
|
||||
|
||||
[Protocols]
|
||||
gEfiDhcp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
@ -74,4 +74,3 @@
|
||||
[Guids]
|
||||
gEfiIfrTianoGuid ## CONSUMES ## Guid
|
||||
gEfiNicIp4ConfigVariableGuid ## CONSUMES ## Guid
|
||||
|
Reference in New Issue
Block a user