You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
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>
35 lines
1014 B
C
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;
|
|
}
|