diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-14 21:50:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-14 21:50:55 +0000 |
commit | 0e263c91e913f40f63e1c0f64a9f20f93105daf2 (patch) | |
tree | 6228ea6c550c50562e9af6577c9db095fe46afed | |
parent | 2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-0e263c91e913f40f63e1c0f64a9f20f93105daf2.tar.bz2 |
2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c, fileio/system.h: Increase stack requested for shell
task. Turn on stack checking so the report is interesting.
-rw-r--r-- | testsuites/samples/ChangeLog | 5 | ||||
-rw-r--r-- | testsuites/samples/fileio/init.c | 2 | ||||
-rw-r--r-- | testsuites/samples/fileio/system.h | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog index 9dba31fd97..fab50d4a95 100644 --- a/testsuites/samples/ChangeLog +++ b/testsuites/samples/ChangeLog @@ -1,3 +1,8 @@ +2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> + + * fileio/init.c, fileio/system.h: Increase stack requested for shell + task. Turn on stack checking so the report is interesting. + 2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com> * fileio/init.c: Add RTEMS Shell configuration and static configuration diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c index b33424db20..80b79331e6 100644 --- a/testsuites/samples/fileio/init.c +++ b/testsuites/samples/fileio/init.c @@ -104,7 +104,7 @@ void fileio_start_shell(void) printf(" =========================\n"); printf(" starting shell\n"); printf(" =========================\n"); - shell_init("SHLL",0,100,"/dev/console", + shell_init("SHLL",RTEMS_MINIMUM_STACK_SIZE * 4,100,"/dev/console", B9600 | CS8, 0); rtems_task_suspend(RTEMS_SELF); diff --git a/testsuites/samples/fileio/system.h b/testsuites/samples/fileio/system.h index 46b6497042..0390fabb7d 100644 --- a/testsuites/samples/fileio/system.h +++ b/testsuites/samples/fileio/system.h @@ -47,9 +47,10 @@ rtems_task Init( #define CONFIGURE_MAXIMUM_SEMAPHORES 20 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20 +#define STACK_CHECKER_ON #define CONFIGURE_RTEMS_INIT_TASKS_TABLE -#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE) +#define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE) #include <rtems/confdefs.h> |