]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Update sources to include MdePkg protocol definitions
authorRuiyu Ni <ruiyu.ni@intel.com>
Tue, 18 Oct 2016 06:30:42 +0000 (14:30 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 19 Oct 2016 02:26:16 +0000 (10:26 +0800)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
21 files changed:
ShellPkg/Application/Shell/Shell.h
ShellPkg/Include/Library/ShellCommandLib.h
ShellPkg/Include/Library/ShellLib.h
ShellPkg/Library/UefiDpLib/Dp.h
ShellPkg/Library/UefiDpLib/UefiDpLib.h
ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h
ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h
ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h
ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.h
ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h
ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h
ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c
ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.h
ShellPkg/Library/UefiShellLib/UefiShellLib.c
ShellPkg/Library/UefiShellLib/UefiShellLib.h
ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.h
ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.h
ShellPkg/ShellPkg.dsc

index a93ea60ad17ec986fb60a11bb1a7de29273ff9ef..25ac114da71d3f398d5e4b6feb3438eb00cfab93 100644 (file)
 #define _SHELL_INTERNAL_HEADER_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 #include <Guid/ShellVariableGuid.h>\r
 #include <Guid/ShellAliasGuid.h>\r
 \r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/SimpleTextOut.h>\r
-#include <Protocol/EfiShell.h>\r
+#include <Protocol/Shell.h>\r
 #include <Protocol/EfiShellInterface.h>\r
 #include <Protocol/EfiShellEnvironment2.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/BlockIo.h>\r
 #include <Protocol/HiiPackageList.h>\r
 \r
index 3ee820001e9e92d19da441b5424f5b5742efaee0..08de1332c713938a8cdcadfcfbef400645ee23fe 100644 (file)
 #define _SHELL_COMMAND_LIB_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/UnicodeCollation.h>\r
 #include <Protocol/SimpleFileSystem.h>\r
 \r
index fafa041bc727a4bc93d0d6b93be9b00de35d1329..9b611d8016a8b54874f9657dcf1e612ce2596ef1 100644 (file)
@@ -21,8 +21,8 @@
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/EfiShellInterface.h>\r
 #include <Protocol/EfiShellEnvironment2.h>\r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 \r
 #define SHELL_FREE_NON_NULL(Pointer)  \\r
   do {                                \\r
index 72e2c3ba186ccbbf2fba49c97d6701932b897374..06fee3bcf4cf8672395bffff6c27cea835b42548 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Common declarations for the Dp Performance Reporting Utility.\r
 \r
-  Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.\r
+  Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -15,7 +15,6 @@
 #define _EFI_APP_DP_H_\r
 \r
 #include <Library/ShellLib.h>\r
-#include <ShellBase.h>\r
 \r
 #define DP_MAJOR_VERSION        2\r
 #define DP_MINOR_VERSION        4\r
index 3dd9ddf9ffaf6cce748d4eca8b5ec612533452d9..283f8337ffd305a9a22f7cf88dc400a2879ee832 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Main file for NULL named library for dp command functions.\r
 \r
-  Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>\r
   (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
 #define _UEFI_DP_LIB_H_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 extern EFI_GUID gDpHiiGuid;\r
 \r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/UnicodeCollation.h>\r
index 9a45076e07807a2bc38e1be8192745fe3067ebfd..ada2b4aa38da4916cc2a8a9d60fe979e13760a2e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Provides interface to advanced shell functionality for parsing both handle and protocol database.\r
 \r
-  Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>\r
   (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
   (C) Copyright 2013-2016 Hewlett-Packard Development Company, L.P.<BR>\r
   This program and the accompanying materials\r
@@ -32,8 +32,8 @@
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/EfiShellInterface.h>\r
 #include <Protocol/EfiShellEnvironment2.h>\r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/DevicePathToText.h>\r
 #include <Protocol/DriverBinding.h>\r
 #include <Protocol/DriverConfiguration2.h>\r
 #include <Protocol/IdeControllerInit.h>\r
 #include <Protocol/DiskIo2.h>\r
 #include <Protocol/AdapterInformation.h>\r
-#include <Protocol/EfiShellDynamicCommand.h>\r
+#include <Protocol/ShellDynamicCommand.h>\r
 #include <Protocol/DiskInfo.h>\r
 \r
 #include <Library/HandleParsingLib.h>\r
index dc3714d236d20dae1569421acac982208af3ee57..62a52ad4dffa62c86a37249a68d964885443aa1b 100644 (file)
 \r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 #include <Guid/GlobalVariable.h>\r
 #include <Guid/ShellLibHiiGuid.h>\r
 \r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/UnicodeCollation.h>\r
index 525c1f14cff0a8a38f12041c7bce447544d15693..7fcdedbb05c9da979f7ddd8b18bbc8ed2a006dfb 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Provides application point extension for "C" style main funciton\r
 \r
-  Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -17,7 +17,7 @@
 #include <Protocol/SimpleFileSystem.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/EfiShellInterface.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/ShellParameters.h>\r
 \r
 #include <Library/ShellCEntryLib.h>\r
 #include <Library/DebugLib.h>\r
@@ -32,7 +32,7 @@
 \r
   Note that the Shell uses POSITIVE integers for error values, while UEFI\r
   uses NEGATIVE values.  If the application is to be used within a script,\r
-  it needs to return one of the SHELL_STATUS values defined in ShellBase.h.\r
+  it needs to return one of the SHELL_STATUS values defined in Protocol/Shell.h.\r
 \r
   @param  ImageHandle  The image handle of the UEFI Application.\r
   @param  SystemTable  A pointer to the EFI System Table.\r
index faf2f516625f8eca9ffabdf0c8855e20c95bf36f..b998656b4ed9218f368864d1fc9ac76403f1f7d4 100644 (file)
@@ -17,7 +17,6 @@
 #define _UEFI_COMMAND_LIB_INTERNAL_HEADER_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 #include <Guid/FileInfo.h>\r
 \r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/EfiShellInterface.h>\r
 #include <Protocol/EfiShellEnvironment2.h>\r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/UnicodeCollation.h>\r
 #include <Protocol/BlockIo.h>\r
-#include <Protocol/EfiShellDynamicCommand.h>\r
+#include <Protocol/ShellDynamicCommand.h>\r
 \r
 #include <Library/DevicePathLib.h>\r
 #include <Library/SortLib.h>\r
index da8e6471ca429953d1d3b483a0665485e02368ca..736d2a35b3ac595de1232f1e533e60ec3d2ff256 100644 (file)
@@ -18,7 +18,6 @@
 \r
 **/\r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/DebugLib.h>\r
index 4a4932eeb7329e19d6912e01b81f7aca86a3a914..52ea56aebb81d52ba2c41f86a9a592bdbeeec10b 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Main file for NULL named library for Profile1 shell command functions.\r
 \r
-  Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -16,7 +16,6 @@
 #define _UEFI_SHELL_DEBUG1_COMMANDS_LIB_H_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 #include <Guid/GlobalVariable.h>\r
 #include <Guid/ConsoleInDevice.h>\r
@@ -24,8 +23,8 @@
 #include <Guid/FileSystemInfo.h>\r
 #include <Guid/ShellLibHiiGuid.h>\r
 \r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/UnicodeCollation.h>\r
index 7d1a601d7593c6258c626ba9f320406d363904e4..b061243af7898bc8b82411ecc735922d48094146 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Main file for NULL named library for Profile1 shell command functions.\r
 \r
-  Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -16,7 +16,6 @@
 #define _UEFI_SHELL_DRIVER1_COMMANDS_LIB_H_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 #include <Guid/GlobalVariable.h>\r
 #include <Guid/ConsoleInDevice.h>\r
@@ -25,8 +24,8 @@
 \r
 #include <IndustryStandard/Pci.h>\r
 \r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/UnicodeCollation.h>\r
index 292abbf0dddf264e0b63c483282bd366ba90bd06..04892a6f013eb00d1bd36f1b74bbba0236425fbb 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Main file for NULL named library for level 1 shell command functions.\r
 \r
-  Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 #define _UEFI_SHELL_LEVEL1_COMMANDS_LIB_H_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 #include <Guid/ShellLibHiiGuid.h>\r
 \r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/UnicodeCollation.h>\r
index 19e46a128c2d4d496a34a7873543004581c75af4..c262bb50f433770b8acf02a7d892b89f59f77489 100644 (file)
@@ -9,7 +9,7 @@
   * functions are non-interactive only\r
 \r
 \r
-  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 #define _UEFI_SHELL_LEVEL2_COMMANDS_LIB_H_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 #include <Guid/ShellLibHiiGuid.h>\r
 \r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/UnicodeCollation.h>\r
index 5940a1e67ee477123739601ffa981228e18d1813..a71ade3a20cc43fa0d9e47a95f269dbc53ed2175 100644 (file)
@@ -20,7 +20,7 @@
 #include <Library/ShellLib.h>\r
 #include <Library/HandleParsingLib.h>\r
 \r
-#include <Protocol/EfiShellDynamicCommand.h>\r
+#include <Protocol/ShellDynamicCommand.h>\r
 \r
 /**\r
    function to insert string items into a list in the correct alphabetical place\r
index bd5b9bec9cfaa6f98f35705966f4b7512153f273..be88dd5f2868fcc028d9bd9b00e37d82602c584b 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   header file for NULL named library for level 3 shell command functions.\r
 \r
-  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved. <BR>\r
+  Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved. <BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 #define _UEFI_SHELL_LEVEL3_COMMANDS_LIB_H_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 #include <Guid/ShellLibHiiGuid.h>\r
 \r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/UnicodeCollation.h>\r
index a7f84a86901e45ba0c05bfb29ef76160407fecaf..2389207a1dbe72cc163e82262cc2ca9af442b5e9 100644 (file)
@@ -15,7 +15,6 @@
 **/\r
 \r
 #include "UefiShellLib.h"\r
-#include <ShellBase.h>\r
 #include <Library/SortLib.h>\r
 #include <Library/BaseLib.h>\r
 \r
index 955f8ac6bb905abf6fa0ee2ec646e26c19c674d1..fca6b7b7e2b3ddbfc3effe98a14f972ed5429697 100644 (file)
@@ -2,7 +2,7 @@
   Provides interface to shell functionality for shell commands and applications.\r
 \r
   (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
-  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -24,8 +24,8 @@
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/EfiShellInterface.h>\r
 #include <Protocol/EfiShellEnvironment2.h>\r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/UnicodeCollation.h>\r
 \r
 #include <Library/UefiBootServicesTableLib.h>\r
index 98b40df8255b61bde38cf46569865b2fe84a62e0..2df1b5411a736853dda222109bf0e4d3decabd0d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   header file for NULL named library for network1 shell command functions.\r
 \r
-  Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved. <BR>\r
+  Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved. <BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -17,7 +17,6 @@
 #define _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 #include <Guid/ShellLibHiiGuid.h>\r
 \r
index bef1e1d9f74db3edc11df0382d72d6639bc808dd..6767f9516693adf2004327b6b0c4bef302e9a245 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   header file for NULL named library for 'tftp' Shell command functions.\r
 \r
-  Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved. <BR>\r
+  Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved. <BR>\r
   Copyright (c) 2015, ARM Ltd. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
@@ -18,7 +18,6 @@
 #define _UEFI_SHELL_TFTP_COMMAND_LIB_H_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
 #include <Guid/ShellLibHiiGuid.h>\r
 \r
index 809bd4220af29ee7e07f93938cac64734b0bebf0..6b7864bac395acae3a06941dfc7c7015130ac745 100644 (file)
@@ -84,7 +84,9 @@
   #\r
   ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
   ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
+  ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
   ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
+  ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
   ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
   ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
   ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r