Files
slimbootloader/BootloaderCommonPkg/Library/ShellLib/ShellCmds.c
Maurice Ma 76e03f7d32 Add Shell CLS command to clear screen
This patch added "CLS" command support to SBL Shell. It can be used
to clear the console screen.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2019-10-15 15:50:06 -07:00

35 lines
1014 B
C

/** @file
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "ShellCmds.h"
EFI_STATUS
LoadShellCommands (
VOID
)
{
ShellCommandRegister (&ShellCommandExit);
ShellCommandRegister (&ShellCommandHelp);
ShellCommandRegister (&ShellCommandHob);
ShellCommandRegister (&ShellCommandMem);
ShellCommandRegister (&ShellCommandMmap);
ShellCommandRegister (&ShellCommandPerf);
ShellCommandRegister (&ShellCommandBoot);
ShellCommandRegister (&ShellCommandMmcDll);
ShellCommandRegister (&ShellCommandCdata);
ShellCommandRegister (&ShellCommandDmesg);
ShellCommandRegister (&ShellCommandCpuid);
ShellCommandRegister (&ShellCommandIo);
ShellCommandRegister (&ShellCommandMsr);
ShellCommandRegister (&ShellCommandMtrr);
ShellCommandRegister (&ShellCommandPci);
ShellCommandRegister (&ShellCommandReset);
ShellCommandRegister (&ShellCommandUcode);
ShellCommandRegister (&ShellCommandCls);
return EFI_SUCCESS;
}