Hi Jaben, Please help to review attached patch. It used to remove UefiHandleParsingLib and Ip4Config Protocol dependency.
Thank you very much! Jiaxin -----Original Message----- From: jiaxinwu [mailto:jiaxin...@intel.com] Sent: Sunday, July 5, 2015 11:12 PM To: edk2-devel@lists.sourceforge.net Subject: [edk2] [Patch] ShellPkg: Remove UefiHandleParsingLib and Ip4Config Protocol dependency. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: jiaxinwu <jiaxin...@intel.com> --- .../UefiHandleParsingLib/UefiHandleParsingLib.c | 4 ++-- .../UefiHandleParsingLib/UefiHandleParsingLib.h | 4 ++-- .../UefiHandleParsingLib/UefiHandleParsingLib.inf | 2 +- .../UefiHandleParsingLib/UefiHandleParsingLib.uni | Bin 32274 -> 32276 bytes 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c index 3429667..39d45ce 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 @@ -906,11 +906,11 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = { {STRING_TOKEN(STR_DHCPV4), &gEfiDhcp4ProtocolGuid, NULL}, {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..1b461c0 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 @@ -83,11 +83,11 @@ #include <Protocol/ManagedNetwork.h> #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..18f41f0 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf @@ -114,11 +114,11 @@ gEfiDhcp4ProtocolGuid ## UNDEFINED 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..4c4c02529710a46102610f27b616a8c8b83cf867 100644 GIT binary patch delta 34 scmV+-0NwwR`~j5w0kC>5lk!y@lkiU@le#VvlhO_#lR!%bv+yn=PaMb&>i_@% delta 46 zcmbR8hjG#$#tl_^lO+U1CVvprn!H0#Wbztcxyg0<T$3|&Tqd6Z(%W>bHrMG-^8*0D CMiPAh -- 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
0001-ShellPkg-Remove-UefiHandleParsingLib-and-Ip4Config-P.PATCH
Description: 0001-ShellPkg-Remove-UefiHandleParsingLib-and-Ip4Config-P.PATCH
UefiHandleParsingLib.uni
Description: UefiHandleParsingLib.uni
------------------------------------------------------------------------------ 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