]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Update header files to reference MdePkg protocol definition
authorRuiyu Ni <ruiyu.ni@intel.com>
Tue, 18 Oct 2016 08:27:48 +0000 (16:27 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 19 Oct 2016 02:24:46 +0000 (10:24 +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>
ShellPkg/Include/Protocol/EfiShell.h [new file with mode: 0644]
ShellPkg/Include/Protocol/EfiShellDynamicCommand.h [new file with mode: 0644]
ShellPkg/Include/Protocol/EfiShellParameters.h [new file with mode: 0644]
ShellPkg/Include/ShellBase.h [new file with mode: 0644]
ShellPkg/ShellPkg.dec

diff --git a/ShellPkg/Include/Protocol/EfiShell.h b/ShellPkg/Include/Protocol/EfiShell.h
new file mode 100644 (file)
index 0000000..4fb8f23
--- /dev/null
@@ -0,0 +1,21 @@
+/** @file\r
+  EFI Shell protocol as defined in the UEFI Shell 2.0 specification including errata.\r
+\r
+  (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<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
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __EFI_SHELL_PROTOCOL_H__WRAPPER\r
+#define __EFI_SHELL_PROTOCOL_H__WRAPPER\r
+\r
+#include <Protocol/Shell.h>\r
+\r
+#endif\r
diff --git a/ShellPkg/Include/Protocol/EfiShellDynamicCommand.h b/ShellPkg/Include/Protocol/EfiShellDynamicCommand.h
new file mode 100644 (file)
index 0000000..43cb688
--- /dev/null
@@ -0,0 +1,21 @@
+/** @file\r
+  EFI Shell Dynamic Command registration protocol\r
+\r
+  (C) Copyright 2012-2014 Hewlett-Packard Development Company, L.P.<BR>\r
+  Copyright (c) 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
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL_H__WRAPPER\r
+#define __EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL_H__WRAPPER\r
+\r
+#include <Protocol/ShellDynamicCommand.h>\r
+\r
+#endif\r
diff --git a/ShellPkg/Include/Protocol/EfiShellParameters.h b/ShellPkg/Include/Protocol/EfiShellParameters.h
new file mode 100644 (file)
index 0000000..ba8bd1a
--- /dev/null
@@ -0,0 +1,20 @@
+/** @file\r
+  EFI Shell protocol as defined in the UEFI Shell 2.0 specification.\r
+\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
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __EFI_SHELL_PARAMETERS_PROTOCOL_H__WRAPPER\r
+#define __EFI_SHELL_PARAMETERS_PROTOCOL_H__WRAPPER\r
+\r
+#include <Protocol/ShellParameters.h>\r
+\r
+#endif\r
diff --git a/ShellPkg/Include/ShellBase.h b/ShellPkg/Include/ShellBase.h
new file mode 100644 (file)
index 0000000..725ce52
--- /dev/null
@@ -0,0 +1,20 @@
+/** @file\r
+  Root include file for Shell Package modules that utilize the SHELL_RETURN type\r
+\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
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef _SHELL_BASE_\r
+#define _SHELL_BASE_\r
+\r
+#include <Protocol/Shell.h>\r
+\r
+#endif //__SHELL_BASE_\r
index 39f8012b98c180590f4800093c0371f0017aa4ba..bb31c2df8cb33bdea0ac46035429d6e36a77e25d 100644 (file)
   gShellBcfgHiiGuid               = {0x5f5f605d, 0x1583, 0x4a2d, {0xa6, 0xb2, 0xeb, 0x12, 0xda, 0xb4, 0xa2, 0xb6}}\r
 \r
 [Protocols]\r
-  gEfiShellProtocolGuid               = {0x6302d008, 0x7f9b, 0x4f30, {0x87, 0xac, 0x60, 0xc9, 0xfe, 0xf5, 0xda, 0x4e}}\r
-  gEfiShellParametersProtocolGuid     = {0x752f3136, 0x4e16, 0x4fdc, {0xa2, 0x2a, 0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca}}\r
   gEfiShellEnvironment2Guid           = {0x47c7b221, 0xc42a, 0x11d2, {0x8e, 0x57, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}}\r
   gEfiShellInterfaceGuid              = {0x47c7b223, 0xc42a, 0x11d2, {0x8e, 0x57, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}}\r
-  gEfiShellDynamicCommandProtocolGuid = {0x3c7200e9, 0x005f, 0x4ea4, {0x87, 0xde, 0xa3, 0xdf, 0xac, 0x8a, 0x27, 0xc3}}\r
 \r
 [PcdsFeatureFlag]\r
   ## This flag is used to control whether the shell includes NT32 platform Guids\r