forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user