diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-06-05 14:23:57 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-06-05 14:23:57 +0000 |
commit | 86db88d2700722d9235ccf88d14f893ae37a7ac4 (patch) | |
tree | 280e4b1613f97845e88be9d75fa658dec6c68fc0 /testsuites/sptests | |
parent | 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-86db88d2700722d9235ccf88d14f893ae37a7ac4.tar.bz2 |
2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c: Corrections to configuration.
* sp37/init.c: Correctly invoke rtems_interrupt_disable() body.
* spsize/size.c: _ISR_Vector_table only exists on architectures
which use the Simple Vectored Interrupt Model.
Diffstat (limited to 'testsuites/sptests')
-rw-r--r-- | testsuites/sptests/ChangeLog | 7 | ||||
-rw-r--r-- | testsuites/sptests/sp28/init.c | 5 | ||||
-rw-r--r-- | testsuites/sptests/sp37/init.c | 4 | ||||
-rw-r--r-- | testsuites/sptests/spsize/size.c | 2 |
4 files changed, 14 insertions, 4 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index 4aec3e72dd..85fefd41d4 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,10 @@ +2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com> + + * sp28/init.c: Corrections to configuration. + * sp37/init.c: Correctly invoke rtems_interrupt_disable() body. + * spsize/size.c: _ISR_Vector_table only exists on architectures + which use the Simple Vectored Interrupt Model. + 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com> * spsize/size.c: Convention calls for leading underscore on private diff --git a/testsuites/sptests/sp28/init.c b/testsuites/sptests/sp28/init.c index 6feb34d1ec..97cd13528f 100644 --- a/testsuites/sptests/sp28/init.c +++ b/testsuites/sptests/sp28/init.c @@ -16,9 +16,9 @@ rtems_task Init(rtems_task_argument argument); #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 2 #define CONFIGURE_MAXIMUM_TASKS 4 +#define CONFIGURE_MAXIMUM_TASK_VARIABLES (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_PER_TICK 10000 #define CONFIGURE_MICROSECONDS_INIT @@ -215,6 +215,7 @@ void test_multiple_taskvars(void) } #define MAX_VARS 4096 + void *Pointers[MAX_VARS]; void test_out_of_memory(void) diff --git a/testsuites/sptests/sp37/init.c b/testsuites/sptests/sp37/init.c index 2d068095e6..3817afcdc0 100644 --- a/testsuites/sptests/sp37/init.c +++ b/testsuites/sptests/sp37/init.c @@ -240,10 +240,10 @@ rtems_task Init( } puts( "interrupt disable (use body)" ); - rtems_interrupt_disable( level ); + level = rtems_interrupt_disable(); puts( "interrupt disable (use body)" ); - rtems_interrupt_disable( level ); + level = rtems_interrupt_disable(); puts( "interrupt flash (use body)" ); rtems_interrupt_flash( level ); diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index 7a1a1034d1..9ba23c3cb1 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -257,7 +257,9 @@ uninitialized = (sizeof _IO_Driver_address_table) + /*isr.h*/ (sizeof _ISR_Nest_level) + +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) (sizeof _ISR_Vector_table) + +#endif (sizeof _ISR_Signals_to_thread_executing) + /*message.h*/ (sizeof _Message_queue_Information) + |