diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-11 21:43:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-11 21:43:58 +0000 |
commit | aec29f178ca11bab6c65753862d334e2d0deb898 (patch) | |
tree | c11600634d1344608c290e4add96881924b637aa /testsuites/samples | |
parent | 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-aec29f178ca11bab6c65753862d334e2d0deb898.tar.bz2 |
2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c, fileio/system.h, hello/init.c: Enable malloc
statistics so shell output can be interesting.
Diffstat (limited to 'testsuites/samples')
-rw-r--r-- | testsuites/samples/ChangeLog | 5 | ||||
-rw-r--r-- | testsuites/samples/fileio/init.c | 2 | ||||
-rw-r--r-- | testsuites/samples/fileio/system.h | 4 | ||||
-rw-r--r-- | testsuites/samples/hello/init.c | 2 |
4 files changed, 11 insertions, 2 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog index c1d7c2c9a4..ddebe81952 100644 --- a/testsuites/samples/ChangeLog +++ b/testsuites/samples/ChangeLog @@ -1,3 +1,8 @@ +2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com> + + * fileio/init.c, fileio/system.h, hello/init.c: Enable malloc + statistics so shell output can be interesting. + 2007-12-17 Chris Johns <chrisj@rtems.org> * testsuites/samples/fileio/init.c: Change shell_* to diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c index deb26fd8dd..b8db7ed1ae 100644 --- a/testsuites/samples/fileio/init.c +++ b/testsuites/samples/fileio/init.c @@ -10,7 +10,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be diff --git a/testsuites/samples/fileio/system.h b/testsuites/samples/fileio/system.h index 0390fabb7d..8e9562a1f2 100644 --- a/testsuites/samples/fileio/system.h +++ b/testsuites/samples/fileio/system.h @@ -3,7 +3,7 @@ * This include file contains information that is included in every * function in the test set. * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -52,6 +52,8 @@ rtems_task Init( #define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE) +#define CONFIGURE_MALLOC_STATISTICS + #include <rtems/confdefs.h> /* diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c index e02a23cfa6..1dd6a002b2 100644 --- a/testsuites/samples/hello/init.c +++ b/testsuites/samples/hello/init.c @@ -32,5 +32,7 @@ rtems_task Init( printf( "\n\n*** HELLO WORLD TEST ***\n" ); printf( "Hello World\n" ); printf( "*** END OF HELLO WORLD TEST ***\n" ); + rtems_shell_main_wkspace_info(0, NULL); + rtems_shell_main_joel(0, NULL); exit( 0 ); } |