Wang Fan
2015-07-13 06:14:57 UTC
Formatting Protocols field of 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 | 4 ++--
MdeModulePkg/MdeModulePkg.dec | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
index dc8c462..3a20793 100644
--- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
+++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
@@ -59,7 +59,7 @@
gEfiManagedNetworkProtocolGuid ## SOMETIMES_CONSUMES
gEfiManagedNetworkServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
gEfiIp4Config2ProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentNameProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentName2ProtocolGuid ## SOMETIMES_CONSUMES
- gEfiHttpProtocolGuid
- gEfiHttpServiceBindingProtocolGuid
\ No newline at end of file
+ gEfiHttpProtocolGuid ## SOMETIMES_CONSUMES
+ gEfiHttpServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
\ No newline at end of file
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index 623b07f..091479f 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -40,10 +40,14 @@
UdpIoLib|Include/Library/UdpIoLib.h
## @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.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: fanwang2 <***@intel.com>
---
MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf | 4 ++--
MdeModulePkg/MdeModulePkg.dec | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
index dc8c462..3a20793 100644
--- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
+++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
@@ -59,7 +59,7 @@
gEfiManagedNetworkProtocolGuid ## SOMETIMES_CONSUMES
gEfiManagedNetworkServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
gEfiIp4Config2ProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentNameProtocolGuid ## SOMETIMES_CONSUMES
gEfiComponentName2ProtocolGuid ## SOMETIMES_CONSUMES
- gEfiHttpProtocolGuid
- gEfiHttpServiceBindingProtocolGuid
\ No newline at end of file
+ gEfiHttpProtocolGuid ## SOMETIMES_CONSUMES
+ gEfiHttpServiceBindingProtocolGuid ## SOMETIMES_CONSUMES
\ No newline at end of file
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index 623b07f..091479f 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -40,10 +40,14 @@
UdpIoLib|Include/Library/UdpIoLib.h
## @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.
--
1.9.5.msysgit.1
1.9.5.msysgit.1