Skip to content

Commit

Permalink
ShellPkg: Update header files to reference MdePkg protocol definition
Browse files Browse the repository at this point in the history
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
  • Loading branch information
niruiyu committed Oct 19, 2016
1 parent 52d2e0a commit acf634b
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 3 deletions.
21 changes: 21 additions & 0 deletions ShellPkg/Include/Protocol/EfiShell.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/** @file
EFI Shell protocol as defined in the UEFI Shell 2.0 specification including errata.
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/

#ifndef __EFI_SHELL_PROTOCOL_H__WRAPPER
#define __EFI_SHELL_PROTOCOL_H__WRAPPER

#include <Protocol/Shell.h>

#endif
21 changes: 21 additions & 0 deletions ShellPkg/Include/Protocol/EfiShellDynamicCommand.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/** @file
EFI Shell Dynamic Command registration protocol
(C) Copyright 2012-2014 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/

#ifndef __EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL_H__WRAPPER
#define __EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL_H__WRAPPER

#include <Protocol/ShellDynamicCommand.h>

#endif
20 changes: 20 additions & 0 deletions ShellPkg/Include/Protocol/EfiShellParameters.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/** @file
EFI Shell protocol as defined in the UEFI Shell 2.0 specification.
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/

#ifndef __EFI_SHELL_PARAMETERS_PROTOCOL_H__WRAPPER
#define __EFI_SHELL_PARAMETERS_PROTOCOL_H__WRAPPER

#include <Protocol/ShellParameters.h>

#endif
20 changes: 20 additions & 0 deletions ShellPkg/Include/ShellBase.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/** @file
Root include file for Shell Package modules that utilize the SHELL_RETURN type
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/

#ifndef _SHELL_BASE_
#define _SHELL_BASE_

#include <Protocol/Shell.h>

#endif //__SHELL_BASE_
3 changes: 0 additions & 3 deletions ShellPkg/ShellPkg.dec
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,8 @@
gShellBcfgHiiGuid = {0x5f5f605d, 0x1583, 0x4a2d, {0xa6, 0xb2, 0xeb, 0x12, 0xda, 0xb4, 0xa2, 0xb6}}

[Protocols]
gEfiShellProtocolGuid = {0x6302d008, 0x7f9b, 0x4f30, {0x87, 0xac, 0x60, 0xc9, 0xfe, 0xf5, 0xda, 0x4e}}
gEfiShellParametersProtocolGuid = {0x752f3136, 0x4e16, 0x4fdc, {0xa2, 0x2a, 0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca}}
gEfiShellEnvironment2Guid = {0x47c7b221, 0xc42a, 0x11d2, {0x8e, 0x57, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}}
gEfiShellInterfaceGuid = {0x47c7b223, 0xc42a, 0x11d2, {0x8e, 0x57, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}}
gEfiShellDynamicCommandProtocolGuid = {0x3c7200e9, 0x005f, 0x4ea4, {0x87, 0xde, 0xa3, 0xdf, 0xac, 0x8a, 0x27, 0xc3}}

[PcdsFeatureFlag]
## This flag is used to control whether the shell includes NT32 platform Guids
Expand Down

0 comments on commit acf634b

Please sign in to comment.