diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-07 17:46:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-07 17:46:25 +0000 |
commit | 694bd9f68e551cdfbda2e93a6fe260ffba5eff04 (patch) | |
tree | ecb0762ecdef60f4da46f0a700440a8069ecd3e3 /cpukit/libmisc/shell/shellconfig.h | |
parent | 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-694bd9f68e551cdfbda2e93a6fe260ffba5eff04.tar.bz2 |
2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am: Add new files.
* libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
* libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
* libmisc/shell/shellconfig.h: Add wkspace command.
* libmisc/shell/main_wkspaceinfo.c,
libmisc/shell/print_heapinfo.c: New files.
Diffstat (limited to 'cpukit/libmisc/shell/shellconfig.h')
-rw-r--r-- | cpukit/libmisc/shell/shellconfig.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h index 612d428efc..5e827ff39e 100644 --- a/cpukit/libmisc/shell/shellconfig.h +++ b/cpukit/libmisc/shell/shellconfig.h @@ -53,7 +53,9 @@ 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; extern rtems_shell_cmd_t rtems_shell_PERIODUSE_Command; +extern rtems_shell_cmd_t rtems_shell_WKSPACE_INFO_Command; extern rtems_shell_cmd_t rtems_shell_MALLOC_INFO_Command; +extern rtems_shell_cmd_t rtems_shell_JOEL_Command; extern rtems_shell_cmd_t *rtems_shell_Initial_commands[]; @@ -287,6 +289,12 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[]; defined(CONFIGURE_SHELL_COMMAND_PERIODUSE) &rtems_shell_PERIODUSE_Command, #endif + #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \ + !defined(CONFIGURE_SHELL_COMMAND_WKSPACE_INFO)) || \ + defined(CONFIGURE_SHELL_COMMAND_WKSPACE_INFO) + &rtems_shell_WKSPACE_INFO_Command, + #endif + /* * Malloc family commands @@ -297,6 +305,7 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[]; &rtems_shell_MALLOC_INFO_Command, #endif + &rtems_shell_JOEL_Command, /* * User defined shell commands */ |