summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shellconfig.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2007-12-17 07:20:04 +0000
committerChris Johns <chrisj@rtems.org>2007-12-17 07:20:04 +0000
commit46579435271a764eb49f89ee8ce99bf9390e071b (patch)
tree2edbe40e28a285cb378f490e13c7189bc2d21502 /cpukit/libmisc/shell/shellconfig.h
parentUpdate. (diff)
downloadrtems-46579435271a764eb49f89ee8ce99bf9390e071b.tar.bz2
2007-12-17 Chris Johns <chrisj@rtems.org>
* libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c, libmisc/shell/main_unmount.c: New. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the blksync, msdosfmt, and unmount commands.
Diffstat (limited to 'cpukit/libmisc/shell/shellconfig.h')
-rw-r--r--cpukit/libmisc/shell/shellconfig.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h
index 21d90f732c..aa7cf7c2f3 100644
--- a/cpukit/libmisc/shell/shellconfig.h
+++ b/cpukit/libmisc/shell/shellconfig.h
@@ -42,9 +42,12 @@ 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_CHMOD_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_RM_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_UNMOUNT_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_STACKUSE_Command;
@@ -229,6 +232,11 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
&rtems_Shell_CAT_Command,
#endif
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
+ !defined(CONFIGURE_SHELL_NO_COMMAND_MSDOSFMT)) || \
+ defined(CONFIGURE_SHELL_COMMAND_MSDOSFMT)
+ &rtems_Shell_MSDOSFMT_Command,
+ #endif
+ #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
!defined(CONFIGURE_SHELL_NO_COMMAND_RM)) || \
defined(CONFIGURE_SHELL_COMMAND_RM)
&rtems_Shell_RM_Command,
@@ -243,6 +251,16 @@ extern rtems_shell_filesystems_t *rtems_Shell_Mount_filesystems[];
defined(CONFIGURE_SHELL_COMMAND_MOUNT)
&rtems_Shell_MOUNT_Command,
#endif
+ #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
+ !defined(CONFIGURE_SHELL_NO_COMMAND_UNMOUNT)) || \
+ defined(CONFIGURE_SHELL_COMMAND_UNMOUNT)
+ &rtems_Shell_UNMOUNT_Command,
+ #endif
+ #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
+ !defined(CONFIGURE_SHELL_NO_COMMAND_BLKSYNC)) || \
+ defined(CONFIGURE_SHELL_COMMAND_BLKSYNC)
+ &rtems_Shell_BLKSYNC_Command,
+ #endif
/*
* RTEMS Related commands