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 EC39D1A1E3C for ; Tue, 18 Oct 2016 01:46:16 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP; 18 Oct 2016 01:46:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,361,1473145200"; d="scan'208";a="180933759" Received: from ray-dev.ccr.corp.intel.com ([10.239.9.25]) by fmsmga004.fm.intel.com with ESMTP; 18 Oct 2016 01:46:16 -0700 From: Ruiyu Ni To: edk2-devel@lists.01.org Date: Tue, 18 Oct 2016 16:46:05 +0800 Message-Id: <20161018084613.58420-1-ruiyu.ni@intel.com> X-Mailer: git-send-email 2.9.0.windows.1 Subject: [PATCH v2 0/8] Move Shell protocols definition to MdePkg 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:17 -0000 The patches moves Shell spec defined protocol definitions to MdePkg and updates all references. Content of ShellBase.h is moved to Protocol/Shell.h and ShellBase.h is removed. In V2, to keep maximum backward compatibility, the header files in ShellPkg will not be removed until all consumers are updated to reference the protocol definitions in MdePkg. "git mv" command is used to keep the history of the protocol definition header files when moving them to MdePkg. Ruiyu Ni (8): ShellPkg: Move SHELL_FREE_NON_NULL from ShellBase.h to ShellLib.h MdePkg: Include Shell/ShellDynamicCommand/ShellParameters definitions ShellPkg: Update header files to reference MdePkg protocol definition MdePkg: Merge ShellBase.h and remove Efi prefix from header files ArmPkg/LinuxLoader: Reference Shell protocols in MdePkg EmbeddedPkg/FdtPlatformDxe: Reference Shell protocols in MdePkg ShellPkg: Update sources to include MdePkg protocol definitions ArmPlatformPkg/ArmShellCmdRunAxf: Reference MdePkg protocol definition ArmPkg/Application/LinuxLoader/LinuxLoader.h | 4 +- .../Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.h | 6 +- EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatform.h | 4 +- .../EfiShell.h => MdePkg/Include/Protocol/Shell.h | 138 ++- .../Include/Protocol/ShellDynamicCommand.h | 11 +- .../Include/Protocol/ShellParameters.h | 8 +- MdePkg/MdePkg.dec | 15 + ShellPkg/Application/Shell/Shell.h | 5 +- ShellPkg/Include/Library/ShellCommandLib.h | 5 +- ShellPkg/Include/Library/ShellLib.h | 14 +- ShellPkg/Include/Protocol/EfiShell.h | 1125 +------------------- ShellPkg/Include/Protocol/EfiShellDynamicCommand.h | 73 +- ShellPkg/Include/Protocol/EfiShellParameters.h | 48 +- ShellPkg/Include/ShellBase.h | 141 +-- ShellPkg/Library/UefiDpLib/Dp.h | 3 +- ShellPkg/Library/UefiDpLib/UefiDpLib.h | 7 +- .../UefiHandleParsingLib/UefiHandleParsingLib.h | 8 +- .../UefiShellBcfgCommandLib.c | 5 +- .../UefiShellCEntryLib/UefiShellCEntryLib.c | 6 +- .../UefiShellCommandLib/UefiShellCommandLib.h | 7 +- .../Library/UefiShellDebug1CommandsLib/Compress.c | 7 +- .../UefiShellDebug1CommandsLib.h | 7 +- .../UefiShellDriver1CommandsLib.h | 7 +- .../UefiShellLevel1CommandsLib.h | 7 +- .../UefiShellLevel2CommandsLib.h | 7 +- ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c | 2 +- .../UefiShellLevel3CommandsLib.h | 7 +- ShellPkg/Library/UefiShellLib/UefiShellLib.c | 1 - ShellPkg/Library/UefiShellLib/UefiShellLib.h | 6 +- .../UefiShellNetwork1CommandsLib.h | 3 +- .../UefiShellTftpCommandLib.h | 3 +- ShellPkg/ShellPkg.dec | 3 - ShellPkg/ShellPkg.dsc | 2 + 33 files changed, 235 insertions(+), 1460 deletions(-) copy ShellPkg/Include/Protocol/EfiShell.h => MdePkg/Include/Protocol/Shell.h (91%) copy ShellPkg/Include/Protocol/EfiShellDynamicCommand.h => MdePkg/Include/Protocol/ShellDynamicCommand.h (89%) copy ShellPkg/Include/Protocol/EfiShellParameters.h => MdePkg/Include/Protocol/ShellParameters.h (87%) -- 2.9.0.windows.1