mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c, libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c, libmisc/shell/main_dir.c, libmisc/shell/main_exit.c, libmisc/shell/main_help.c, libmisc/shell/main_id.c, libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c, libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c, libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c, libmisc/shell/main_umask.c, libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c, libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change rtems_Shell_ to rtems_shell_.
This commit is contained in:
@@ -1,3 +1,26 @@
|
|||||||
|
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
|
||||||
|
libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
|
||||||
|
libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
|
||||||
|
libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
|
||||||
|
libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
|
||||||
|
libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
|
||||||
|
libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
|
||||||
|
libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
|
||||||
|
libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
|
||||||
|
libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
|
||||||
|
libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
|
||||||
|
libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
|
||||||
|
libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
|
||||||
|
libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
|
||||||
|
libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
|
||||||
|
libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
|
||||||
|
libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
|
||||||
|
libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
|
||||||
|
libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
|
||||||
|
rtems_Shell_ to rtems_shell_.
|
||||||
|
|
||||||
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
|
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ int rtems_shell_rtems_main_alias(int argc, char **argv)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_ALIAS_Command = {
|
rtems_shell_cmd_t rtems_shell_ALIAS_Command = {
|
||||||
"alias", /* name */
|
"alias", /* name */
|
||||||
"alias old new", /* usage */
|
"alias old new", /* usage */
|
||||||
"misc", /* topic */
|
"misc", /* topic */
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ int rtems_shell_main_blksync(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_BLKSYNC_Command = {
|
rtems_shell_cmd_t rtems_shell_BLKSYNC_Command = {
|
||||||
"blksync", /* name */
|
"blksync", /* name */
|
||||||
"blksync driver # sync the block driver", /* usage */
|
"blksync driver # sync the block driver", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ int rtems_shell_main_cat(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_CAT_Command = {
|
rtems_shell_cmd_t rtems_shell_CAT_Command = {
|
||||||
"cat", /* name */
|
"cat", /* name */
|
||||||
"cat n1 [n2 [n3...]] # show the ascii contents", /* usage */
|
"cat n1 [n2 [n3...]] # show the ascii contents", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include <rtems/shell.h>
|
#include <rtems/shell.h>
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
rtems_shell_alias_t rtems_Shell_CD_Alias = {
|
rtems_shell_alias_t rtems_shell_CD_Alias = {
|
||||||
"chdir", /* command */
|
"chdir", /* command */
|
||||||
"cd" /* alias */
|
"cd" /* alias */
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ int rtems_shell_main_chdir (int argc, char *argv[]) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_CHDIR_Command = {
|
rtems_shell_cmd_t rtems_shell_CHDIR_Command = {
|
||||||
"chdir", /* name */
|
"chdir", /* name */
|
||||||
"chdir [dir] # change the current directory", /* usage */
|
"chdir [dir] # change the current directory", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ int rtems_shell_main_chmod(int argc,char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_CHMOD_Command = {
|
rtems_shell_cmd_t rtems_shell_CHMOD_Command = {
|
||||||
"chmod", /* name */
|
"chmod", /* name */
|
||||||
"chmod 0777 n1 n2... # change filemode", /* usage */
|
"chmod 0777 n1 n2... # change filemode", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ int rtems_shell_main_chroot(int argc,char * argv[]) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_CHROOT_Command = {
|
rtems_shell_cmd_t rtems_shell_CHROOT_Command = {
|
||||||
"chroot", /* name */
|
"chroot", /* name */
|
||||||
"chroot [dir] # change the root directory", /* usage */
|
"chroot [dir] # change the root directory", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ int rtems_shell_main_cpuuse(int argc,char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_CPUUSE_Command = {
|
rtems_shell_cmd_t rtems_shell_CPUUSE_Command = {
|
||||||
"cpuuse", /* name */
|
"cpuuse", /* name */
|
||||||
"[-r] print or reset per thread cpu usage", /* usage */
|
"[-r] print or reset per thread cpu usage", /* usage */
|
||||||
"rtems", /* topic */
|
"rtems", /* topic */
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ int rtems_shell_main_date(int argc,char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_DATE_Command = {
|
rtems_shell_cmd_t rtems_shell_DATE_Command = {
|
||||||
"date", /* name */
|
"date", /* name */
|
||||||
"date", /* usage */
|
"date", /* usage */
|
||||||
"misc", /* topic */
|
"misc", /* topic */
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include <rtems/shell.h>
|
#include <rtems/shell.h>
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
rtems_shell_alias_t rtems_Shell_DIR_Alias = {
|
rtems_shell_alias_t rtems_shell_DIR_Alias = {
|
||||||
"ls", /* command */
|
"ls", /* command */
|
||||||
"dir" /* alias */
|
"dir" /* alias */
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include <rtems/shell.h>
|
#include <rtems/shell.h>
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
rtems_shell_alias_t rtems_Shell_EXIT_Alias = {
|
rtems_shell_alias_t rtems_shell_EXIT_Alias = {
|
||||||
"logoff", /* command */
|
"logoff", /* command */
|
||||||
"exit" /* alias */
|
"exit" /* alias */
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ int rtems_shell_help(
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_HELP_Command = {
|
rtems_shell_cmd_t rtems_shell_HELP_Command = {
|
||||||
"help", /* name */
|
"help", /* name */
|
||||||
"help [topic] # list of usage of commands", /* usage */
|
"help [topic] # list of usage of commands", /* usage */
|
||||||
"help", /* topic */
|
"help", /* topic */
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ int rtems_shell_main_id(int argc,char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_ID_Command = {
|
rtems_shell_cmd_t rtems_shell_ID_Command = {
|
||||||
"id", /* name */
|
"id", /* name */
|
||||||
"show uid, gid, euid, and egid", /* usage */
|
"show uid, gid, euid, and egid", /* usage */
|
||||||
"misc", /* topic */
|
"misc", /* topic */
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ int rtems_shell_main_logoff(int argc,char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_LOGOFF_Command = {
|
rtems_shell_cmd_t rtems_shell_LOGOFF_Command = {
|
||||||
"logoff", /* name */
|
"logoff", /* name */
|
||||||
"logoff from the system", /* usage */
|
"logoff from the system", /* usage */
|
||||||
"misc", /* topic */
|
"misc", /* topic */
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ int rtems_shell_main_ls(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_LS_Command = {
|
rtems_shell_cmd_t rtems_shell_LS_Command = {
|
||||||
"ls", /* name */
|
"ls", /* name */
|
||||||
"ls [dir] # list files in the directory", /* usage */
|
"ls [dir] # list files in the directory", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ int rtems_shell_main_malloc_info(
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_MALLOC_INFO_Command = {
|
rtems_shell_cmd_t rtems_shell_MALLOC_INFO_Command = {
|
||||||
"malloc", /* name */
|
"malloc", /* name */
|
||||||
"[info|dump]", /* usage */
|
"[info|dump]", /* usage */
|
||||||
"mem", /* topic */
|
"mem", /* topic */
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ int rtems_shell_main_mdump(int argc,char * argv[]) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_MDUMP_Command = {
|
rtems_shell_cmd_t rtems_shell_MDUMP_Command = {
|
||||||
"mdump", /* name */
|
"mdump", /* name */
|
||||||
"mdump [addr [size]]", /* usage */
|
"mdump [addr [size]]", /* usage */
|
||||||
"mem", /* topic */
|
"mem", /* topic */
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ int rtems_shell_main_medit(int argc,char * argv[]) {
|
|||||||
return rtems_shell_main_mdump(0,NULL);
|
return rtems_shell_main_mdump(0,NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_MEDIT_Command = {
|
rtems_shell_cmd_t rtems_shell_MEDIT_Command = {
|
||||||
"medit", /* name */
|
"medit", /* name */
|
||||||
"medit addr value [value ...]", /* usage */
|
"medit addr value [value ...]", /* usage */
|
||||||
"mem", /* topic */
|
"mem", /* topic */
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ int rtems_shell_main_mfill(int argc,char * argv[]) {
|
|||||||
return rtems_shell_main_mdump(0,NULL);
|
return rtems_shell_main_mdump(0,NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_MFILL_Command = {
|
rtems_shell_cmd_t rtems_shell_MFILL_Command = {
|
||||||
"mfill", /* name */
|
"mfill", /* name */
|
||||||
"mfill addr size value", /* usage */
|
"mfill addr size value", /* usage */
|
||||||
"mem", /* topic */
|
"mem", /* topic */
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ int rtems_shell_main_mkdir(int argc, char *argv[]) {
|
|||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_MKDIR_Command = {
|
rtems_shell_cmd_t rtems_shell_MKDIR_Command = {
|
||||||
"mkdir", /* name */
|
"mkdir", /* name */
|
||||||
"mkdir dir # make a directory", /* usage */
|
"mkdir dir # make a directory", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ int rtems_shell_main_mmove(int argc,char * argv[]) {
|
|||||||
return rtems_shell_main_mdump(0,NULL);
|
return rtems_shell_main_mdump(0,NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_MMOVE_Command = {
|
rtems_shell_cmd_t rtems_shell_MMOVE_Command = {
|
||||||
"mmove", /* name */
|
"mmove", /* name */
|
||||||
"mmove dst src size", /* usage */
|
"mmove dst src size", /* usage */
|
||||||
"mem", /* topic */
|
"mem", /* topic */
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ int rtems_shell_main_mount(int argc, char *argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (a = rtems_Shell_Mount_filesystems; *a; a++)
|
for (a = rtems_shell_Mount_filesystems; *a; a++)
|
||||||
{
|
{
|
||||||
if (strcmp (argv[arg], (*a)->name) == 0)
|
if (strcmp (argv[arg], (*a)->name) == 0)
|
||||||
{
|
{
|
||||||
@@ -89,7 +89,7 @@ int rtems_shell_main_mount(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
rtems_shell_filesystems_t** a;
|
rtems_shell_filesystems_t** a;
|
||||||
fprintf (stdout, "File systems: ");
|
fprintf (stdout, "File systems: ");
|
||||||
for (a = rtems_Shell_Mount_filesystems; *a; a++)
|
for (a = rtems_shell_Mount_filesystems; *a; a++)
|
||||||
if (*a)
|
if (*a)
|
||||||
fprintf (stdout, "%s ", (*a)->name);
|
fprintf (stdout, "%s ", (*a)->name);
|
||||||
fprintf (stdout, "\n");
|
fprintf (stdout, "\n");
|
||||||
@@ -145,7 +145,7 @@ int rtems_shell_main_mount(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_MOUNT_Command = {
|
rtems_shell_cmd_t rtems_shell_MOUNT_Command = {
|
||||||
"mount", /* name */
|
"mount", /* name */
|
||||||
"mount [-t fstype] [-r] [-L] device path # mount disk", /* usage */
|
"mount [-t fstype] [-r] [-L] device path # mount disk", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#include <rtems/ftpfs.h>
|
#include <rtems/ftpfs.h>
|
||||||
|
|
||||||
rtems_shell_filesystems_t rtems_Shell_Mount_FTP = {
|
rtems_shell_filesystems_t rtems_shell_Mount_FTP = {
|
||||||
name: "ftp",
|
name: "ftp",
|
||||||
driver_needed: 1,
|
driver_needed: 1,
|
||||||
fs_ops: &rtems_ftp_ops,
|
fs_ops: &rtems_ftp_ops,
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
#include <rtems/fsmount.h>
|
#include <rtems/fsmount.h>
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
rtems_shell_filesystems_t rtems_Shell_Mount_MSDOS = {
|
rtems_shell_filesystems_t rtems_shell_Mount_MSDOS = {
|
||||||
name: "msdos",
|
name: "msdos",
|
||||||
driver_needed: 1,
|
driver_needed: 1,
|
||||||
fs_ops: &msdos_ops,
|
fs_ops: &msdos_ops,
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ rtems_shell_nfs_mounter (const char* device,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_filesystems_t rtems_Shell_Mount_NFS = {
|
rtems_shell_filesystems_t rtems_shell_Mount_NFS = {
|
||||||
name: "ftp",
|
name: "ftp",
|
||||||
driver_needed: 1,
|
driver_needed: 1,
|
||||||
fs_ops: NULL,
|
fs_ops: NULL,
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
#include <rtems/ftpfs.h>
|
#include <rtems/ftpfs.h>
|
||||||
#include <rtems/tftp.h>
|
#include <rtems/tftp.h>
|
||||||
|
|
||||||
rtems_shell_filesystems_t rtems_Shell_Mount_TFTP = {
|
rtems_shell_filesystems_t rtems_shell_Mount_TFTP = {
|
||||||
name: "tftp",
|
name: "tftp",
|
||||||
driver_needed: 0,
|
driver_needed: 0,
|
||||||
fs_ops: &rtems_tftp_ops,
|
fs_ops: &rtems_tftp_ops,
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ int rtems_shell_main_msdos_format(int argc, char *argv[])
|
|||||||
|
|
||||||
#define OPTIONS "[-v label] [-r size] [-t any/12/16/32]"
|
#define OPTIONS "[-v label] [-r size] [-t any/12/16/32]"
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_MSDOSFMT_Command = {
|
rtems_shell_cmd_t rtems_shell_MSDOSFMT_Command = {
|
||||||
"msdosfmt", /* name */
|
"msdosfmt", /* name */
|
||||||
"msdosfmt " OPTIONS " path # format disk", /* usage */
|
"msdosfmt " OPTIONS " path # format disk", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ int rtems_shell_main_mwdump(int argc,char * argv[]) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_WDUMP_Command = {
|
rtems_shell_cmd_t rtems_shell_WDUMP_Command = {
|
||||||
"wdump", /* name */
|
"wdump", /* name */
|
||||||
"wdump [addr [size]]", /* usage */
|
"wdump [addr [size]]", /* usage */
|
||||||
"mem", /* topic */
|
"mem", /* topic */
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ int rtems_shell_main_pwd (int argc, char *argv[]) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_PWD_Command = {
|
rtems_shell_cmd_t rtems_shell_PWD_Command = {
|
||||||
"pwd", /* name */
|
"pwd", /* name */
|
||||||
"pwd # print work directory", /* usage */
|
"pwd # print work directory", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ int rtems_shell_main_rm(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_RM_Command = {
|
rtems_shell_cmd_t rtems_shell_RM_Command = {
|
||||||
"rm", /* name */
|
"rm", /* name */
|
||||||
"rm n1 [n2 [n3...]] # remove files", /* usage */
|
"rm n1 [n2 [n3...]] # remove files", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ int rtems_shell_main_rmdir (int argc, char *argv[])
|
|||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_RMDIR_Command = {
|
rtems_shell_cmd_t rtems_shell_RMDIR_Command = {
|
||||||
"rmdir", /* name */
|
"rmdir", /* name */
|
||||||
"rmdir dir # remove directory", /* usage */
|
"rmdir dir # remove directory", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ int rtems_shell_main_stackuse(int argc,char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_STACKUSE_Command = {
|
rtems_shell_cmd_t rtems_shell_STACKUSE_Command = {
|
||||||
"stackuse", /* name */
|
"stackuse", /* name */
|
||||||
"print per thread stack usage", /* usage */
|
"print per thread stack usage", /* usage */
|
||||||
"rtems", /* topic */
|
"rtems", /* topic */
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ int rtems_shell_main_tty(int argc,char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_TTY_Command = {
|
rtems_shell_cmd_t rtems_shell_TTY_Command = {
|
||||||
"tty", /* name */
|
"tty", /* name */
|
||||||
"show ttyname", /* usage */
|
"show ttyname", /* usage */
|
||||||
"misc", /* topic */
|
"misc", /* topic */
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ int rtems_shell_main_umask(int argc,char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_UMASK_Command = {
|
rtems_shell_cmd_t rtems_shell_UMASK_Command = {
|
||||||
"umask", /* name */
|
"umask", /* name */
|
||||||
"umask [new_umask]", /* usage */
|
"umask [new_umask]", /* usage */
|
||||||
"misc", /* topic */
|
"misc", /* topic */
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ int rtems_shell_main_unmount(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_UNMOUNT_Command = {
|
rtems_shell_cmd_t rtems_shell_UNMOUNT_Command = {
|
||||||
"unmount", /* name */
|
"unmount", /* name */
|
||||||
"unmount path # unmount disk", /* usage */
|
"unmount path # unmount disk", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ int rtems_shell_main_whoami(int argc,char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_Shell_WHOAMI_Command = {
|
rtems_shell_cmd_t rtems_shell_WHOAMI_Command = {
|
||||||
"whoami", /* name */
|
"whoami", /* name */
|
||||||
"show current user", /* usage */
|
"show current user", /* usage */
|
||||||
"misc", /* topic */
|
"misc", /* topic */
|
||||||
|
|||||||
@@ -174,11 +174,11 @@ void rtems_shell_initialize_command_set(void)
|
|||||||
rtems_shell_cmd_t **c;
|
rtems_shell_cmd_t **c;
|
||||||
rtems_shell_alias_t **a;
|
rtems_shell_alias_t **a;
|
||||||
|
|
||||||
for ( c = rtems_Shell_Initial_commands ; *c ; c++ ) {
|
for ( c = rtems_shell_Initial_commands ; *c ; c++ ) {
|
||||||
rtems_shell_add_cmd_struct( *c );
|
rtems_shell_add_cmd_struct( *c );
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( a = rtems_Shell_Initial_aliases ; *a ; a++ ) {
|
for ( a = rtems_shell_Initial_aliases ; *a ; a++ ) {
|
||||||
rtems_shell_alias_cmd( (*a)->name, (*a)->alias );
|
rtems_shell_alias_cmd( (*a)->name, (*a)->alias );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,60 +19,60 @@
|
|||||||
/*
|
/*
|
||||||
* Externs for all command definition structures
|
* Externs for all command definition structures
|
||||||
*/
|
*/
|
||||||
extern rtems_shell_cmd_t rtems_Shell_HELP_Command;
|
extern rtems_shell_cmd_t rtems_shell_HELP_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_ALIAS_Command;
|
extern rtems_shell_cmd_t rtems_shell_ALIAS_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_LOGOFF_Command;
|
extern rtems_shell_cmd_t rtems_shell_LOGOFF_Command;
|
||||||
|
|
||||||
extern rtems_shell_cmd_t rtems_Shell_MDUMP_Command;
|
extern rtems_shell_cmd_t rtems_shell_MDUMP_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_WDUMP_Command;
|
extern rtems_shell_cmd_t rtems_shell_WDUMP_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_MEDIT_Command;
|
extern rtems_shell_cmd_t rtems_shell_MEDIT_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_MFILL_Command;
|
extern rtems_shell_cmd_t rtems_shell_MFILL_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_MMOVE_Command;
|
extern rtems_shell_cmd_t rtems_shell_MMOVE_Command;
|
||||||
|
|
||||||
extern rtems_shell_cmd_t rtems_Shell_DATE_Command;
|
extern rtems_shell_cmd_t rtems_shell_DATE_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_ID_Command;
|
extern rtems_shell_cmd_t rtems_shell_ID_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_TTY_Command;
|
extern rtems_shell_cmd_t rtems_shell_TTY_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_WHOAMI_Command;
|
extern rtems_shell_cmd_t rtems_shell_WHOAMI_Command;
|
||||||
|
|
||||||
extern rtems_shell_cmd_t rtems_Shell_PWD_Command;
|
extern rtems_shell_cmd_t rtems_shell_PWD_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_LS_Command;
|
extern rtems_shell_cmd_t rtems_shell_LS_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_CHDIR_Command;
|
extern rtems_shell_cmd_t rtems_shell_CHDIR_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_MKDIR_Command;
|
extern rtems_shell_cmd_t rtems_shell_MKDIR_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_RMDIR_Command;
|
extern rtems_shell_cmd_t rtems_shell_RMDIR_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_CHROOT_Command;
|
extern rtems_shell_cmd_t rtems_shell_CHROOT_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_CHMOD_Command;
|
extern rtems_shell_cmd_t rtems_shell_CHMOD_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_CAT_Command;
|
extern rtems_shell_cmd_t rtems_shell_CAT_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_MSDOSFMT_Command;
|
extern rtems_shell_cmd_t rtems_shell_MSDOSFMT_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_RM_Command;
|
extern rtems_shell_cmd_t rtems_shell_RM_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_UMASK_Command;
|
extern rtems_shell_cmd_t rtems_shell_UMASK_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_MOUNT_Command;
|
extern rtems_shell_cmd_t rtems_shell_MOUNT_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_UNMOUNT_Command;
|
extern rtems_shell_cmd_t rtems_shell_UNMOUNT_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_BLKSYNC_Command;
|
extern rtems_shell_cmd_t rtems_shell_BLKSYNC_Command;
|
||||||
|
|
||||||
extern rtems_shell_cmd_t rtems_Shell_CPUUSE_Command;
|
extern rtems_shell_cmd_t rtems_shell_CPUUSE_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_STACKUSE_Command;
|
extern rtems_shell_cmd_t rtems_shell_STACKUSE_Command;
|
||||||
extern rtems_shell_cmd_t rtems_Shell_MALLOC_INFO_Command;
|
extern rtems_shell_cmd_t rtems_shell_MALLOC_INFO_Command;
|
||||||
|
|
||||||
extern rtems_shell_cmd_t *rtems_Shell_Initial_commands[];
|
extern rtems_shell_cmd_t *rtems_shell_Initial_commands[];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extern for alias commands
|
* Extern for alias commands
|
||||||
*/
|
*/
|
||||||
extern rtems_shell_alias_t rtems_Shell_DIR_Alias;
|
extern rtems_shell_alias_t rtems_shell_DIR_Alias;
|
||||||
extern rtems_shell_alias_t rtems_Shell_CD_Alias;
|
extern rtems_shell_alias_t rtems_shell_CD_Alias;
|
||||||
extern rtems_shell_alias_t rtems_Shell_EXIT_Alias;
|
extern rtems_shell_alias_t rtems_shell_EXIT_Alias;
|
||||||
|
|
||||||
extern rtems_shell_alias_t *rtems_Shell_Initial_aliases[];
|
extern rtems_shell_alias_t *rtems_shell_Initial_aliases[];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extern for alias commands
|
* Extern for alias commands
|
||||||
*/
|
*/
|
||||||
extern rtems_shell_filesystems_t rtems_Shell_Mount_MSDOS;
|
extern rtems_shell_filesystems_t rtems_shell_Mount_MSDOS;
|
||||||
extern rtems_shell_filesystems_t rtems_Shell_Mount_TFTP;
|
extern rtems_shell_filesystems_t rtems_shell_Mount_TFTP;
|
||||||
extern rtems_shell_filesystems_t rtems_Shell_Mount_FTP;
|
extern rtems_shell_filesystems_t rtems_shell_Mount_FTP;
|
||||||
extern rtems_shell_filesystems_t rtems_Shell_Mount_NFS;
|
extern rtems_shell_filesystems_t rtems_shell_Mount_NFS;
|
||||||
|
|
||||||
extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
|
extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If we are configured to alias a command, then make sure the underlying
|
* If we are configured to alias a command, then make sure the underlying
|
||||||
@@ -97,21 +97,21 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIGURE_SHELL_COMMANDS_INIT)
|
#if defined(CONFIGURE_SHELL_COMMANDS_INIT)
|
||||||
rtems_shell_alias_t *rtems_Shell_Initial_aliases[] = {
|
rtems_shell_alias_t *rtems_shell_Initial_aliases[] = {
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_DIR)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_DIR)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_DIR)
|
defined(CONFIGURE_SHELL_COMMAND_DIR)
|
||||||
&rtems_Shell_DIR_Alias,
|
&rtems_shell_DIR_Alias,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_CD)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_CD)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_CD)
|
defined(CONFIGURE_SHELL_COMMAND_CD)
|
||||||
&rtems_Shell_CD_Alias,
|
&rtems_shell_CD_Alias,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_EXIT)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_EXIT)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_EXIT)
|
defined(CONFIGURE_SHELL_COMMAND_EXIT)
|
||||||
&rtems_Shell_EXIT_Alias,
|
&rtems_shell_EXIT_Alias,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -123,12 +123,12 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
rtems_shell_cmd_t *rtems_Shell_Initial_commands[] = {
|
rtems_shell_cmd_t *rtems_shell_Initial_commands[] = {
|
||||||
/*
|
/*
|
||||||
* General comamnds that should be present
|
* General comamnds that should be present
|
||||||
*/
|
*/
|
||||||
&rtems_Shell_HELP_Command,
|
&rtems_shell_HELP_Command,
|
||||||
&rtems_Shell_ALIAS_Command,
|
&rtems_shell_ALIAS_Command,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Common commands that can be optional
|
* Common commands that can be optional
|
||||||
@@ -136,27 +136,27 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
|
|||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_DATE)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_DATE)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_DATE)
|
defined(CONFIGURE_SHELL_COMMAND_DATE)
|
||||||
&rtems_Shell_DATE_Command,
|
&rtems_shell_DATE_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_ID)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_ID)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_ID)
|
defined(CONFIGURE_SHELL_COMMAND_ID)
|
||||||
&rtems_Shell_ID_Command,
|
&rtems_shell_ID_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_TTY)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_TTY)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_TTY)
|
defined(CONFIGURE_SHELL_COMMAND_TTY)
|
||||||
&rtems_Shell_TTY_Command,
|
&rtems_shell_TTY_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_WHOAMI)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_WHOAMI)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_WHOAMI)
|
defined(CONFIGURE_SHELL_COMMAND_WHOAMI)
|
||||||
&rtems_Shell_WHOAMI_Command,
|
&rtems_shell_WHOAMI_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_LOGOFF)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_LOGOFF)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_LOGOFF)
|
defined(CONFIGURE_SHELL_COMMAND_LOGOFF)
|
||||||
&rtems_Shell_LOGOFF_Command,
|
&rtems_shell_LOGOFF_Command,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -165,27 +165,27 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
|
|||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_MDUMP)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_MDUMP)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_MDUMP)
|
defined(CONFIGURE_SHELL_COMMAND_MDUMP)
|
||||||
&rtems_Shell_MDUMP_Command,
|
&rtems_shell_MDUMP_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_WDUMP)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_WDUMP)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_WDUMP)
|
defined(CONFIGURE_SHELL_COMMAND_WDUMP)
|
||||||
&rtems_Shell_WDUMP_Command,
|
&rtems_shell_WDUMP_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_MEDIT)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_MEDIT)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_MEDIT)
|
defined(CONFIGURE_SHELL_COMMAND_MEDIT)
|
||||||
&rtems_Shell_MEDIT_Command,
|
&rtems_shell_MEDIT_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_MFILL)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_MFILL)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_MFILL)
|
defined(CONFIGURE_SHELL_COMMAND_MFILL)
|
||||||
&rtems_Shell_MFILL_Command,
|
&rtems_shell_MFILL_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_MMOVE)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_MMOVE)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_MMOVE)
|
defined(CONFIGURE_SHELL_COMMAND_MMOVE)
|
||||||
&rtems_Shell_MMOVE_Command,
|
&rtems_shell_MMOVE_Command,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -194,72 +194,72 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
|
|||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_PWD)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_PWD)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_PWD)
|
defined(CONFIGURE_SHELL_COMMAND_PWD)
|
||||||
&rtems_Shell_PWD_Command,
|
&rtems_shell_PWD_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_LS)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_LS)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_LS)
|
defined(CONFIGURE_SHELL_COMMAND_LS)
|
||||||
&rtems_Shell_LS_Command,
|
&rtems_shell_LS_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_CHDIR)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_CHDIR)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_CHDIR)
|
defined(CONFIGURE_SHELL_COMMAND_CHDIR)
|
||||||
&rtems_Shell_CHDIR_Command,
|
&rtems_shell_CHDIR_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_MKDIR)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_MKDIR)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_MKDIR)
|
defined(CONFIGURE_SHELL_COMMAND_MKDIR)
|
||||||
&rtems_Shell_MKDIR_Command,
|
&rtems_shell_MKDIR_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_RMDIR)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_RMDIR)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_RMDIR)
|
defined(CONFIGURE_SHELL_COMMAND_RMDIR)
|
||||||
&rtems_Shell_RMDIR_Command,
|
&rtems_shell_RMDIR_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_CHROOT)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_CHROOT)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_CHROOT)
|
defined(CONFIGURE_SHELL_COMMAND_CHROOT)
|
||||||
&rtems_Shell_CHROOT_Command,
|
&rtems_shell_CHROOT_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_CHMOD)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_CHMOD)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_CHMOD)
|
defined(CONFIGURE_SHELL_COMMAND_CHMOD)
|
||||||
&rtems_Shell_CHMOD_Command,
|
&rtems_shell_CHMOD_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_CAT)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_CAT)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_CAT)
|
defined(CONFIGURE_SHELL_COMMAND_CAT)
|
||||||
&rtems_Shell_CAT_Command,
|
&rtems_shell_CAT_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_MSDOSFMT)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_MSDOSFMT)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_MSDOSFMT)
|
defined(CONFIGURE_SHELL_COMMAND_MSDOSFMT)
|
||||||
&rtems_Shell_MSDOSFMT_Command,
|
&rtems_shell_MSDOSFMT_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_RM)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_RM)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_RM)
|
defined(CONFIGURE_SHELL_COMMAND_RM)
|
||||||
&rtems_Shell_RM_Command,
|
&rtems_shell_RM_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_UMASK)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_UMASK)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_UMASK)
|
defined(CONFIGURE_SHELL_COMMAND_UMASK)
|
||||||
&rtems_Shell_UMASK_Command,
|
&rtems_shell_UMASK_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_MOUNT)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_MOUNT)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_MOUNT)
|
defined(CONFIGURE_SHELL_COMMAND_MOUNT)
|
||||||
&rtems_Shell_MOUNT_Command,
|
&rtems_shell_MOUNT_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_UNMOUNT)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_UNMOUNT)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_UNMOUNT)
|
defined(CONFIGURE_SHELL_COMMAND_UNMOUNT)
|
||||||
&rtems_Shell_UNMOUNT_Command,
|
&rtems_shell_UNMOUNT_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_BLKSYNC)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_BLKSYNC)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_BLKSYNC)
|
defined(CONFIGURE_SHELL_COMMAND_BLKSYNC)
|
||||||
&rtems_Shell_BLKSYNC_Command,
|
&rtems_shell_BLKSYNC_Command,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -268,12 +268,12 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
|
|||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_CPUUSE)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_CPUUSE)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_CPUUSE)
|
defined(CONFIGURE_SHELL_COMMAND_CPUUSE)
|
||||||
&rtems_Shell_CPUUSE_Command,
|
&rtems_shell_CPUUSE_Command,
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_NO_COMMAND_STACKUSE)) || \
|
!defined(CONFIGURE_SHELL_NO_COMMAND_STACKUSE)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_STACKUSE)
|
defined(CONFIGURE_SHELL_COMMAND_STACKUSE)
|
||||||
&rtems_Shell_STACKUSE_Command,
|
&rtems_shell_STACKUSE_Command,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -282,7 +282,7 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
|
|||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_COMMAND_MALLOC_INFO)) || \
|
!defined(CONFIGURE_SHELL_COMMAND_MALLOC_INFO)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_MALLOC_INFO)
|
defined(CONFIGURE_SHELL_COMMAND_MALLOC_INFO)
|
||||||
&rtems_Shell_MALLOC_INFO_Command,
|
&rtems_shell_MALLOC_INFO_Command,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -300,19 +300,19 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
|
|||||||
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
|
||||||
!defined(CONFIGURE_SHELL_COMMAND_MOUNT)) || \
|
!defined(CONFIGURE_SHELL_COMMAND_MOUNT)) || \
|
||||||
defined(CONFIGURE_SHELL_COMMAND_UNMOUNT)
|
defined(CONFIGURE_SHELL_COMMAND_UNMOUNT)
|
||||||
rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[] = {
|
rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[] = {
|
||||||
#if defined(CONFIGURE_SHELL_MOUNT_MSDOS)
|
#if defined(CONFIGURE_SHELL_MOUNT_MSDOS)
|
||||||
&rtems_Shell_Mount_MSDOS,
|
&rtems_shell_Mount_MSDOS,
|
||||||
#endif
|
#endif
|
||||||
#if RTEMS_NETWORKING
|
#if RTEMS_NETWORKING
|
||||||
#if defined(CONFIGURE_SHELL_MOUNT_TFTP)
|
#if defined(CONFIGURE_SHELL_MOUNT_TFTP)
|
||||||
&rtems_Shell_Mount_TFTP,
|
&rtems_shell_Mount_TFTP,
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIGURE_SHELL_MOUNT_FTP)
|
#if defined(CONFIGURE_SHELL_MOUNT_FTP)
|
||||||
&rtems_Shell_Mount_FTP,
|
&rtems_shell_Mount_FTP,
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIGURE_SHELL_MOUNT_NFS)
|
#if defined(CONFIGURE_SHELL_MOUNT_NFS)
|
||||||
&rtems_Shell_Mount_NFS,
|
&rtems_shell_Mount_NFS,
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
|
|||||||
Reference in New Issue
Block a user