]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Library/UefiShellLevel1CommandsLib/NoOpScriptCommand.c
Added SecDispatchTable library to allow custom PPIs to be passed up to into PEI Core...
[mirror_edk2.git] / ShellPkg / Library / UefiShellLevel1CommandsLib / NoOpScriptCommand.c
1 /** @file
2 Main file for else and endif shell level 1 functions. Does nothing really...
3
4 Copyright (c) 2009-2010, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #include "UefiShellLevel1CommandsLib.h"
16
17 SHELL_STATUS
18 EFIAPI
19 ShellCommandRunNoOpScriptCommand (
20 VOID *RESERVED
21 )
22 {
23 EFI_STATUS Status;
24 //
25 // ASSERT that we can init...
26 //
27 Status = CommandInit();
28 ASSERT_EFI_ERROR(Status);
29
30 //
31 // We best be in a script...
32 //
33 ASSERT(gEfiShellProtocol->BatchIsActive());
34
35 //
36 // Do nothing...
37 //
38 return (SHELL_SUCCESS);
39 }
40