From d8d26fb207e02aa5ef57e2bcb213f9dda16166cc Mon Sep 17 00:00:00 2001 From: mdkinney Date: Sat, 11 Jul 2009 22:51:51 +0000 Subject: 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 --- MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c | 4 ++-- MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.h | 1 + MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf | 5 +---- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'MdeModulePkg/Universal/Network/UefiPxeBcDxe') diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c index 4a91f1c3d1..3eeacdcc5c 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c @@ -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); diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.h b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.h index adc205b347..bc039ec730 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.h +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.h @@ -39,6 +39,7 @@ typedef struct _PXEBC_PRIVATE_DATA PXEBC_PRIVATE_DATA; #include #include #include +#include #include "PxeBcDriver.h" #include "PxeArch.h" diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf index b070f161cb..7f8acd73d4 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf @@ -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 - -- cgit v1.2.3