From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3F8BA1A1E86 for ; Tue, 18 Oct 2016 01:46:23 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP; 18 Oct 2016 01:46:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,361,1473145200"; d="scan'208";a="180933792" Received: from ray-dev.ccr.corp.intel.com ([10.239.9.25]) by fmsmga004.fm.intel.com with ESMTP; 18 Oct 2016 01:46:22 -0700 From: Ruiyu Ni To: edk2-devel@lists.01.org Cc: Jaben Carsey Date: Tue, 18 Oct 2016 16:46:12 +0800 Message-Id: <20161018084613.58420-8-ruiyu.ni@intel.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20161018084613.58420-1-ruiyu.ni@intel.com> References: <20161018084613.58420-1-ruiyu.ni@intel.com> Subject: [PATCH v2 7/8] ShellPkg: Update sources to include MdePkg protocol definitions X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 08:46:23 -0000 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Cc: Jaben Carsey --- ShellPkg/Application/Shell/Shell.h | 5 ++--- ShellPkg/Include/Library/ShellCommandLib.h | 5 ++--- ShellPkg/Include/Library/ShellLib.h | 4 ++-- ShellPkg/Library/UefiDpLib/Dp.h | 3 +-- ShellPkg/Library/UefiDpLib/UefiDpLib.h | 7 +++---- ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h | 8 ++++---- .../Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c | 5 ++--- ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c | 6 +++--- ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h | 7 +++---- ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c | 1 - .../UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h | 7 +++---- .../UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h | 7 +++---- .../UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h | 7 +++---- .../UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h | 7 +++---- ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c | 2 +- .../UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.h | 7 +++---- ShellPkg/Library/UefiShellLib/UefiShellLib.c | 1 - ShellPkg/Library/UefiShellLib/UefiShellLib.h | 6 +++--- .../UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.h | 3 +-- .../Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.h | 3 +-- ShellPkg/ShellPkg.dsc | 2 ++ 21 files changed, 45 insertions(+), 58 deletions(-) diff --git a/ShellPkg/Application/Shell/Shell.h b/ShellPkg/Application/Shell/Shell.h index a93ea60..25ac114 100644 --- a/ShellPkg/Application/Shell/Shell.h +++ b/ShellPkg/Application/Shell/Shell.h @@ -17,17 +17,16 @@ #define _SHELL_INTERNAL_HEADER_ #include -#include #include #include #include #include -#include +#include #include #include -#include +#include #include #include diff --git a/ShellPkg/Include/Library/ShellCommandLib.h b/ShellPkg/Include/Library/ShellCommandLib.h index 3ee8200..08de133 100644 --- a/ShellPkg/Include/Library/ShellCommandLib.h +++ b/ShellPkg/Include/Library/ShellCommandLib.h @@ -21,10 +21,9 @@ #define _SHELL_COMMAND_LIB_ #include -#include -#include -#include +#include +#include #include #include diff --git a/ShellPkg/Include/Library/ShellLib.h b/ShellPkg/Include/Library/ShellLib.h index fafa041..9b611d8 100644 --- a/ShellPkg/Include/Library/ShellLib.h +++ b/ShellPkg/Include/Library/ShellLib.h @@ -21,8 +21,8 @@ #include #include #include -#include -#include +#include +#include #define SHELL_FREE_NON_NULL(Pointer) \ do { \ diff --git a/ShellPkg/Library/UefiDpLib/Dp.h b/ShellPkg/Library/UefiDpLib/Dp.h index 72e2c3b..06fee3b 100644 --- a/ShellPkg/Library/UefiDpLib/Dp.h +++ b/ShellPkg/Library/UefiDpLib/Dp.h @@ -1,7 +1,7 @@ /** @file Common declarations for the Dp Performance Reporting Utility. - Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved. + Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved. 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 @@ -15,7 +15,6 @@ #define _EFI_APP_DP_H_ #include -#include #define DP_MAJOR_VERSION 2 #define DP_MINOR_VERSION 4 diff --git a/ShellPkg/Library/UefiDpLib/UefiDpLib.h b/ShellPkg/Library/UefiDpLib/UefiDpLib.h index 3dd9ddf..283f833 100644 --- a/ShellPkg/Library/UefiDpLib/UefiDpLib.h +++ b/ShellPkg/Library/UefiDpLib/UefiDpLib.h @@ -1,7 +1,7 @@ /** @file Main file for NULL named library for dp command functions. - Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -17,12 +17,11 @@ #define _UEFI_DP_LIB_H_ #include -#include extern EFI_GUID gDpHiiGuid; -#include -#include +#include +#include #include #include #include diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h index 9a45076..ada2b4a 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h @@ -1,7 +1,7 @@ /** @file Provides interface to advanced shell functionality for parsing both handle and protocol database. - Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
(C) Copyright 2013-2016 Hewlett-Packard Development Company, L.P.
This program and the accompanying materials @@ -32,8 +32,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include @@ -136,7 +136,7 @@ #include #include #include -#include +#include #include #include diff --git a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c index dc3714d..62a52ad 100644 --- a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c +++ b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c @@ -15,13 +15,12 @@ #include -#include #include #include -#include -#include +#include +#include #include #include #include diff --git a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c index 525c1f1..7fcdedb 100644 --- a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c +++ b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c @@ -1,7 +1,7 @@ /** @file Provides application point extension for "C" style main funciton - Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
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 @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include @@ -32,7 +32,7 @@ Note that the Shell uses POSITIVE integers for error values, while UEFI uses NEGATIVE values. If the application is to be used within a script, - it needs to return one of the SHELL_STATUS values defined in ShellBase.h. + it needs to return one of the SHELL_STATUS values defined in Protocol/Shell.h. @param ImageHandle The image handle of the UEFI Application. @param SystemTable A pointer to the EFI System Table. diff --git a/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h b/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h index faf2f51..b998656 100644 --- a/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h +++ b/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h @@ -17,7 +17,6 @@ #define _UEFI_COMMAND_LIB_INTERNAL_HEADER_ #include -#include #include @@ -25,11 +24,11 @@ #include #include #include -#include -#include +#include +#include #include #include -#include +#include #include #include diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c index da8e647..736d2a3 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c @@ -18,7 +18,6 @@ **/ #include -#include #include #include #include diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h index 4a4932e..52ea56a 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h @@ -1,7 +1,7 @@ /** @file Main file for NULL named library for Profile1 shell command functions. - Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.
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 @@ -16,7 +16,6 @@ #define _UEFI_SHELL_DEBUG1_COMMANDS_LIB_H_ #include -#include #include #include @@ -24,8 +23,8 @@ #include #include -#include -#include +#include +#include #include #include #include diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h index 7d1a601..b061243 100644 --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h @@ -1,7 +1,7 @@ /** @file Main file for NULL named library for Profile1 shell command functions. - Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.
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 @@ -16,7 +16,6 @@ #define _UEFI_SHELL_DRIVER1_COMMANDS_LIB_H_ #include -#include #include #include @@ -25,8 +24,8 @@ #include -#include -#include +#include +#include #include #include #include diff --git a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h index 292abbf..04892a6 100644 --- a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h +++ b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h @@ -1,7 +1,7 @@ /** @file Main file for NULL named library for level 1 shell command functions. - Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
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 @@ -16,12 +16,11 @@ #define _UEFI_SHELL_LEVEL1_COMMANDS_LIB_H_ #include -#include #include -#include -#include +#include +#include #include #include #include diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h index 19e46a1..c262bb5 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h @@ -9,7 +9,7 @@ * functions are non-interactive only - Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
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 @@ -24,12 +24,11 @@ #define _UEFI_SHELL_LEVEL2_COMMANDS_LIB_H_ #include -#include #include -#include -#include +#include +#include #include #include #include diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c b/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c index 5940a1e..a71ade3 100644 --- a/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c +++ b/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c @@ -20,7 +20,7 @@ #include #include -#include +#include /** function to insert string items into a list in the correct alphabetical place diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.h b/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.h index bd5b9be..be88dd5 100644 --- a/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.h +++ b/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.h @@ -1,7 +1,7 @@ /** @file header file for NULL named library for level 3 shell command functions. - Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
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 @@ -16,12 +16,11 @@ #define _UEFI_SHELL_LEVEL3_COMMANDS_LIB_H_ #include -#include #include -#include -#include +#include +#include #include #include #include diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.c b/ShellPkg/Library/UefiShellLib/UefiShellLib.c index a7f84a8..2389207 100644 --- a/ShellPkg/Library/UefiShellLib/UefiShellLib.c +++ b/ShellPkg/Library/UefiShellLib/UefiShellLib.c @@ -15,7 +15,6 @@ **/ #include "UefiShellLib.h" -#include #include #include diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.h b/ShellPkg/Library/UefiShellLib/UefiShellLib.h index 955f8ac..fca6b7b 100644 --- a/ShellPkg/Library/UefiShellLib/UefiShellLib.h +++ b/ShellPkg/Library/UefiShellLib/UefiShellLib.h @@ -2,7 +2,7 @@ Provides interface to shell functionality for shell commands and applications. (C) Copyright 2016 Hewlett Packard Enterprise Development LP
- Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
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 @@ -24,8 +24,8 @@ #include #include #include -#include -#include +#include +#include #include #include diff --git a/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.h b/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.h index 98b40df..2df1b54 100644 --- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.h +++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.h @@ -1,7 +1,7 @@ /** @file header file for NULL named library for network1 shell command functions. - Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -17,7 +17,6 @@ #define _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_ #include -#include #include diff --git a/ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.h b/ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.h index bef1e1d..6767f95 100644 --- a/ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.h +++ b/ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.h @@ -1,7 +1,7 @@ /** @file header file for NULL named library for 'tftp' Shell command functions. - Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.
Copyright (c) 2015, ARM Ltd. All rights reserved.
This program and the accompanying materials @@ -18,7 +18,6 @@ #define _UEFI_SHELL_TFTP_COMMAND_LIB_H_ #include -#include #include diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc index 809bd42..6b7864b 100644 --- a/ShellPkg/ShellPkg.dsc +++ b/ShellPkg/ShellPkg.dsc @@ -84,7 +84,9 @@ [Components] # ShellPkg/Library/UefiShellLib/UefiShellLib.inf ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf + ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf + ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf -- 2.9.0.windows.1