Wang Fan
2015-07-14 03:33:15 UTC
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 <***@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
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: fanwang2 <***@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
1.9.5.msysgit.1