Reviewed-by: Qiu Shumin <shumin....@intel.com> 

-----Original Message-----
From: jiaxinwu [mailto:jiaxin...@intel.com] 
Sent: Monday, July 06, 2015 1:12 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] [PATCH v2] ShellPkg: Remove UefiHandleParsingLib and Ip4Config 
Protocol dependency.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: jiaxinwu <jiaxin...@intel.com>
---
 .../UefiHandleParsingLib/UefiHandleParsingLib.c     |   3 ++-
 .../UefiHandleParsingLib/UefiHandleParsingLib.h     |   3 ++-
 .../UefiHandleParsingLib/UefiHandleParsingLib.inf   |   1 +
 .../UefiHandleParsingLib/UefiHandleParsingLib.uni   | Bin 32274 -> 32404 bytes
 4 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c 
b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
index 3429667..bf41047 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
@@ -1,10 +1,10 @@
 /** @file
   Provides interface to advanced shell functionality for parsing both handle 
and protocol database.
 
   (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>
-  Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2010 - 2015, Intel Corporation. All rights 
+ reserved.<BR>
   This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD 
License
   which accompanies this distribution.  The full text of the license may be 
found at
   http://opensource.org/licenses/bsd-license.php
 
@@ -907,10 +907,11 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = {
   {STRING_TOKEN(STR_TCPV4_SB),              
&gEfiTcp4ServiceBindingProtocolGuid,              NULL},
   {STRING_TOKEN(STR_TCPV4),                 &gEfiTcp4ProtocolGuid,             
               NULL},
   {STRING_TOKEN(STR_IPV4_SB),               
&gEfiIp4ServiceBindingProtocolGuid,               NULL},
   {STRING_TOKEN(STR_IPV4),                  &gEfiIp4ProtocolGuid,              
               NULL},
   {STRING_TOKEN(STR_IPV4_CFG),              &gEfiIp4ConfigProtocolGuid,        
               NULL},
+  {STRING_TOKEN(STR_IPV4_CFG2),             &gEfiIp4Config2ProtocolGuid,       
               NULL},
   {STRING_TOKEN(STR_UDPV4_SB),              
&gEfiUdp4ServiceBindingProtocolGuid,              NULL},
   {STRING_TOKEN(STR_UDPV4),                 &gEfiUdp4ProtocolGuid,             
               NULL},
   {STRING_TOKEN(STR_MTFTPV4_SB),            
&gEfiMtftp4ServiceBindingProtocolGuid,            NULL},
   {STRING_TOKEN(STR_MTFTPV4),               &gEfiMtftp4ProtocolGuid,           
               NULL},
   {STRING_TOKEN(STR_AUTH_INFO),             
&gEfiAuthenticationInfoProtocolGuid,              NULL},
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h 
b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h
index de987f8..b9141fa 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h
@@ -1,10 +1,10 @@
 /** @file
   Provides interface to advanced shell functionality for parsing both handle 
and protocol database.
 
   (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>
-  Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2011 - 2015, Intel Corporation. All rights 
+ reserved.<BR>
   This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD 
License
   which accompanies this distribution.  The full text of the license may be 
found at
   http://opensource.org/licenses/bsd-license.php
 
@@ -84,10 +84,11 @@
 #include <Protocol/Arp.h>
 #include <Protocol/Dhcp4.h>
 #include <Protocol/Tcp4.h>
 #include <Protocol/Ip4.h>
 #include <Protocol/Ip4Config.h>
+#include <Protocol/Ip4Config2.h>
 #include <Protocol/Udp4.h>
 #include <Protocol/Mtftp4.h>
 #include <Protocol/AuthenticationInfo.h>  #include <Protocol/Hash.h>  #include 
<Protocol/HiiFont.h> diff --git 
a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf 
b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
index e1a9a24..4cd81f5 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
@@ -115,10 +115,11 @@
   gEfiTcp4ServiceBindingProtocolGuid                      ## UNDEFINED
   gEfiTcp4ProtocolGuid                                    ## UNDEFINED
   gEfiIp4ServiceBindingProtocolGuid                       ## UNDEFINED
   gEfiIp4ProtocolGuid                                     ## UNDEFINED
   gEfiIp4ConfigProtocolGuid                               ## UNDEFINED
+  gEfiIp4Config2ProtocolGuid                              ## UNDEFINED
   gEfiUdp4ServiceBindingProtocolGuid                      ## UNDEFINED
   gEfiUdp4ProtocolGuid                                    ## UNDEFINED
   gEfiMtftp4ServiceBindingProtocolGuid                    ## UNDEFINED
   gEfiMtftp4ProtocolGuid                                  ## UNDEFINED
   gEfiAuthenticationInfoProtocolGuid                      ## UNDEFINED
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni 
b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
index 
d4eef989ac9dbd2d8b7b5028b3d698c620f8ab01..d8e45d049638a4956ee09e51574bcdae0376f411
 100644 GIT binary patch delta 38
wcmV+>0NMYN`~j5x0kG;WlWHyylk!y@lkiU@le#VvlhO_#lR!%bv+yn=PhS@hmjD0&

delta 30
ocmV+(0O9|X{Q;8v0kG;Wlm0IXlV~hNlT0uQleR26v;HrZPT$uJs{jB1

--
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

------------------------------------------------------------------------------
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