public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ruiyu Ni <ruiyu.ni@intel.com>
To: edk2-devel@lists.01.org
Cc: Jaben Carsey <jaben.carsey@intel.com>,
	Jiewen Yao <jiewen.yao@intel.com>,
	Michael D Kinney <michael.d.kinney@intel.com>
Subject: [PATCH v2 2/8] MdePkg: Include Shell/ShellDynamicCommand/ShellParameters definitions
Date: Tue, 18 Oct 2016 16:46:07 +0800	[thread overview]
Message-ID: <20161018084613.58420-3-ruiyu.ni@intel.com> (raw)
In-Reply-To: <20161018084613.58420-1-ruiyu.ni@intel.com>

Move Shell/ShellDynamicCommand/ShellParameters definitions from
ShellPkg to MdePkg.

The following patches will rename the header file name.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
---
 {ShellPkg => MdePkg}/Include/Protocol/EfiShell.h          |  0
 .../Include/Protocol/EfiShellDynamicCommand.h             |  0
 .../Include/Protocol/EfiShellParameters.h                 |  0
 {ShellPkg => MdePkg}/Include/ShellBase.h                  |  0
 MdePkg/MdePkg.dec                                         | 15 +++++++++++++++
 5 files changed, 15 insertions(+)
 rename {ShellPkg => MdePkg}/Include/Protocol/EfiShell.h (100%)
 rename {ShellPkg => MdePkg}/Include/Protocol/EfiShellDynamicCommand.h (100%)
 rename {ShellPkg => MdePkg}/Include/Protocol/EfiShellParameters.h (100%)
 rename {ShellPkg => MdePkg}/Include/ShellBase.h (100%)

diff --git a/ShellPkg/Include/Protocol/EfiShell.h b/MdePkg/Include/Protocol/EfiShell.h
similarity index 100%
rename from ShellPkg/Include/Protocol/EfiShell.h
rename to MdePkg/Include/Protocol/EfiShell.h
diff --git a/ShellPkg/Include/Protocol/EfiShellDynamicCommand.h b/MdePkg/Include/Protocol/EfiShellDynamicCommand.h
similarity index 100%
rename from ShellPkg/Include/Protocol/EfiShellDynamicCommand.h
rename to MdePkg/Include/Protocol/EfiShellDynamicCommand.h
diff --git a/ShellPkg/Include/Protocol/EfiShellParameters.h b/MdePkg/Include/Protocol/EfiShellParameters.h
similarity index 100%
rename from ShellPkg/Include/Protocol/EfiShellParameters.h
rename to MdePkg/Include/Protocol/EfiShellParameters.h
diff --git a/ShellPkg/Include/ShellBase.h b/MdePkg/Include/ShellBase.h
similarity index 100%
rename from ShellPkg/Include/ShellBase.h
rename to MdePkg/Include/ShellBase.h
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
index f1e5151..3e08bed 100644
--- a/MdePkg/MdePkg.dec
+++ b/MdePkg/MdePkg.dec
@@ -1645,6 +1645,21 @@ [Protocols]
   ## Include/Protocol/EraseBlock.h
   gEfiEraseBlockProtocolGuid           = { 0x95a9a93e, 0xa86e, 0x4926, {0xaa, 0xef, 0x99, 0x18, 0xe7, 0x72, 0xd9, 0x87 }}
 
+  #
+  # Protocols defined in Shell2.0
+  #
+  ## Include/Protocol/Shell.h
+  gEfiShellProtocolGuid                = { 0x6302d008, 0x7f9b, 0x4f30, {0x87, 0xac, 0x60, 0xc9, 0xfe, 0xf5, 0xda, 0x4e }}
+
+  ## Include/Protocol/ShellParameters.h
+  gEfiShellParametersProtocolGuid      = { 0x752f3136, 0x4e16, 0x4fdc, {0xa2, 0x2a, 0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca }}
+
+  #
+  # Protocols defined in Shell2.1
+  #
+  ## Include/Protocol/ShellDynamicCommand.h
+  gEfiShellDynamicCommandProtocolGuid  = { 0x3c7200e9, 0x005f, 0x4ea4, {0x87, 0xde, 0xa3, 0xdf, 0xac, 0x8a, 0x27, 0xc3 }}
+
 #
 # [Error.gEfiMdePkgTokenSpaceGuid]
 #   0x80000001 | Invalid value provided.
-- 
2.9.0.windows.1



  parent reply	other threads:[~2016-10-18  8:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-18  8:46 [PATCH v2 0/8] Move Shell protocols definition to MdePkg Ruiyu Ni
2016-10-18  8:46 ` [PATCH v2 1/8] ShellPkg: Move SHELL_FREE_NON_NULL from ShellBase.h to ShellLib.h Ruiyu Ni
2016-10-18  8:46 ` Ruiyu Ni [this message]
2016-10-18  8:46 ` [PATCH v2 3/8] ShellPkg: Update header files to reference MdePkg protocol definition Ruiyu Ni
2016-10-18  8:46 ` [PATCH v2 4/8] MdePkg: Merge ShellBase.h and remove Efi prefix from header files Ruiyu Ni
2016-10-18  8:46 ` [PATCH v2 5/8] ArmPkg/LinuxLoader: Reference Shell protocols in MdePkg Ruiyu Ni
2016-10-18  8:46 ` [PATCH v2 6/8] EmbeddedPkg/FdtPlatformDxe: " Ruiyu Ni
2016-10-18  8:46 ` [PATCH v2 7/8] ShellPkg: Update sources to include MdePkg protocol definitions Ruiyu Ni
2016-10-18  8:46 ` [PATCH v2 8/8] ArmPlatformPkg/ArmShellCmdRunAxf: Reference MdePkg protocol definition Ruiyu Ni
2016-10-18 10:00   ` Ard Biesheuvel
2016-10-18 14:53 ` [PATCH v2 0/8] Move Shell protocols definition to MdePkg Carsey, Jaben

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161018084613.58420-3-ruiyu.ni@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox