Files
slimbootloader/BootloaderCommonPkg/Library/ShellLib/ShellCmds.h
T
Aiden Park 9c3b81a64d Add FS (File System) shell command
This 'fs' shell command can be used for basic file system check.

Usage: fs init [device no.] [hwpart no.] [swpart no.]
       fs close
       fs info
       fs ls [dir or file path]

- 'device no.' is from Platform Device Table.
- all 0s by default if 'fs init' has no parameters
- root dir by default if 'fs ls' has no dir or file path

Signed-off-by: Aiden Park <aiden.park@intel.com>
2019-10-30 17:13:08 -07:00

38 lines
1.1 KiB
C

/** @file
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __SHELL_CMDS_H__
#define __SHELL_CMDS_H__
#include <Library/ShellLib.h>
extern CONST SHELL_COMMAND ShellCommandExit;
extern CONST SHELL_COMMAND ShellCommandHelp;
extern CONST SHELL_COMMAND ShellCommandHob;
extern CONST SHELL_COMMAND ShellCommandMm;
extern CONST SHELL_COMMAND ShellCommandMmap;
extern CONST SHELL_COMMAND ShellCommandPerf;
extern CONST SHELL_COMMAND ShellCommandBoot;
extern CONST SHELL_COMMAND ShellCommandMmcDll;
extern CONST SHELL_COMMAND ShellCommandCdata;
extern CONST SHELL_COMMAND ShellCommandDmesg;
extern CONST SHELL_COMMAND ShellCommandCpuid;
extern CONST SHELL_COMMAND ShellCommandMsr;
extern CONST SHELL_COMMAND ShellCommandMtrr;
extern CONST SHELL_COMMAND ShellCommandPci;
extern CONST SHELL_COMMAND ShellCommandReset;
extern CONST SHELL_COMMAND ShellCommandUcode;
extern CONST SHELL_COMMAND ShellCommandCls;
extern CONST SHELL_COMMAND ShellCommandFs;
EFI_STATUS
LoadShellCommands (
VOID
);
#endif /* __SHELL_CMDS_H__ */