Reviewed-by: Fu Siyuan <siyuan...@intel.com>

-----Original Message-----
From: Wang, Fan 
Sent: Tuesday, July 14, 2015 11:33 AM
To: Wu, Jiaxin; Fu, Siyuan; Ye, Ting; edk2-devel@lists.sourceforge.net
Cc: Qiu, Shumin
Subject: [Patch] MdeModulePkg: Remove two protocols and add HttpLib access

Remove two protocols never used in DxeNetLib.inf and add HttpLib access in 
MdeModulePkg.dec.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: fanwang2 <fan.w...@intel.com>
---
 MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf | 2 --
 MdeModulePkg/MdeModulePkg.dec                | 4 ++++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf 
b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
index dc8c462..50fbcc2 100644
--- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
+++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
@@ -59,7 +59,5 @@
   gEfiManagedNetworkProtocolGuid                ## SOMETIMES_CONSUMES
   gEfiManagedNetworkServiceBindingProtocolGuid  ## SOMETIMES_CONSUMES
   gEfiIp4Config2ProtocolGuid                    ## SOMETIMES_CONSUMES
   gEfiComponentNameProtocolGuid                 ## SOMETIMES_CONSUMES
   gEfiComponentName2ProtocolGuid                ## SOMETIMES_CONSUMES
-  gEfiHttpProtocolGuid
-  gEfiHttpServiceBindingProtocolGuid
\ No newline at end of file
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec 
index 623b07f..2eeb146 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -41,10 +41,14 @@
 
   ##  @libraryclass  The helper routines to access TCP service.
   #   This library is only intended to be used by UEFI network stack modules.
   TcpIoLib|Include/Library/TcpIoLib.h
 
+  ##  @libraryclass  The helper routines to access HTTP service.
+  #   This library is only intended to be used by UEFI network stack modules.
+  HttpLib|Include/Library/HttpLib.h
+
   ##  @libraryclass  Defines a set of methods to reset whole system.
   ResetSystemLib|Include/Library/ResetSystemLib.h
 
   ##  @libraryclass  Defines a set of methods related do S3 mode.
   #   This library class is no longer used and modules using this library 
should
--
1.9.5.msysgit.1



------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to