You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
5103615bfb
Currently, all shell commands are statically defined in header file. Add shell command registration API to allow include/exclude shell commands dynamically. Later, some debug shell commands will be added according to build mode or debug mask. - TBD: Sorting shell commands by name Signed-off-by: Aiden Park <aiden.park@intel.com>
35 lines
972 B
C
35 lines
972 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);
|
|
|
|
return EFI_SUCCESS;
|
|
}
|