From 4443984a4cd6400f801fc7a5d5cf16ac4bed3b57 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 1 Nov 1999 20:08:05 +0000 Subject: [PATCH] Increased stack space for a task. --- c/src/tests/sptests/sp03/init.c | 2 +- c/src/tests/sptests/sp03/system.h | 2 ++ testsuites/sptests/sp03/init.c | 2 +- testsuites/sptests/sp03/system.h | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/c/src/tests/sptests/sp03/init.c b/c/src/tests/sptests/sp03/init.c index c266cfd600..b73c77dd36 100644 --- a/c/src/tests/sptests/sp03/init.c +++ b/c/src/tests/sptests/sp03/init.c @@ -39,7 +39,7 @@ rtems_task Init( status = rtems_task_create( Task_name[ 1 ], 1, - RTEMS_MINIMUM_STACK_SIZE, + RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES, RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ] diff --git a/c/src/tests/sptests/sp03/system.h b/c/src/tests/sptests/sp03/system.h index c52f7a9896..eb1e37a46a 100644 --- a/c/src/tests/sptests/sp03/system.h +++ b/c/src/tests/sptests/sp03/system.h @@ -39,6 +39,8 @@ rtems_task Task_2( #define CONFIGURE_RTEMS_INIT_TASKS_TABLE +#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE) + #include /* global variables */ diff --git a/testsuites/sptests/sp03/init.c b/testsuites/sptests/sp03/init.c index c266cfd600..b73c77dd36 100644 --- a/testsuites/sptests/sp03/init.c +++ b/testsuites/sptests/sp03/init.c @@ -39,7 +39,7 @@ rtems_task Init( status = rtems_task_create( Task_name[ 1 ], 1, - RTEMS_MINIMUM_STACK_SIZE, + RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES, RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ] diff --git a/testsuites/sptests/sp03/system.h b/testsuites/sptests/sp03/system.h index c52f7a9896..eb1e37a46a 100644 --- a/testsuites/sptests/sp03/system.h +++ b/testsuites/sptests/sp03/system.h @@ -39,6 +39,8 @@ rtems_task Task_2( #define CONFIGURE_RTEMS_INIT_TASKS_TABLE +#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE) + #include /* global variables */