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...@intel.com>
Cc: Jaben Carsey <jaben.car...@intel.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Michael D Kinney <michael.d.kin...@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

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to