Discussion:
[edk2] [Patch] MdeModulePkg: Remove two protocols and add HttpLib access
Wang Fan
2015-07-14 03:33:15 UTC
Permalink
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
--
1.9.5.msysgit.1
Fu, Siyuan
2015-07-14 03:37:01 UTC
Permalink
Reviewed-by: Fu Siyuan <***@intel.com>

-----Original Message-----
From: Wang, Fan
Sent: Tuesday, July 14, 2015 11:33 AM
To: Wu, Jiaxin; Fu, Siyuan; Ye, Ting; edk2-***@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 <***@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
Wu, Jiaxin
2015-07-14 03:52:00 UTC
Permalink
Reviewed-by: Jiaxin Wu <***@intel.com>


-----Original Message-----
From: Wang, Fan
Sent: Tuesday, July 14, 2015 11:33 AM
To: Wu, Jiaxin; Fu, Siyuan; Ye, Ting; edk2-***@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 <***@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

Loading...