diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-22 19:35:14 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-22 19:35:14 +0000 |
commit | 5afa393ed511d6cae76af2c34d9effbff59c1402 (patch) | |
tree | b44543a03f8c8a6c66b464596ac5bacbce58d974 /testsuites/sptests/sp28/init.c | |
parent | 2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-5afa393ed511d6cae76af2c34d9effbff59c1402.tar.bz2 |
2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c: Correct test.
* sp09/screen14.c: Update copyright.
* sp28/init.c: Correct end of test messages.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/sp28/init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/sptests/sp28/init.c b/testsuites/sptests/sp28/init.c index ebd1d6a0ae..6feb34d1ec 100644 --- a/testsuites/sptests/sp28/init.c +++ b/testsuites/sptests/sp28/init.c @@ -18,6 +18,7 @@ rtems_task Init(rtems_task_argument argument); #define CONFIGURE_MAXIMUM_TASKS 4 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_MICROSECONDS_PER_TICK 52429 +#define CONFIGURE_INIT_TASK_STACK_SIZE (4*RTEMS_MINIMUM_STACK_SIZE) #define CONFIGURE_MICROSECONDS_INIT @@ -214,18 +215,17 @@ void test_multiple_taskvars(void) } #define MAX_VARS 4096 +void *Pointers[MAX_VARS]; void test_out_of_memory(void) { int i; int max; - void *wkspace_base; - void **base; rtems_status_code sc; int ran_out = 0; + void **base; - wkspace_base = rtems_configuration_get_work_space_start(); - base = (void **)wkspace_base; + base = Pointers; for (i=0 ; i<MAX_VARS ; i++ ) { sc = rtems_task_variable_add(RTEMS_SELF, &base[i], NULL); |