Changeset 511dc4b in rtems for testsuites
- Timestamp:
- 06/19/18 07:09:51 (6 years ago)
- Branches:
- 5, master
- Children:
- 9e3bb45
- Parents:
- 715d616
- git-author:
- Sebastian Huber <sebastian.huber@…> (06/19/18 07:09:51)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (06/27/18 06:58:16)
- Location:
- testsuites/sptests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/sptests/spfatal07/testcase.h
r715d616 r511dc4b 10 10 */ 11 11 12 #include <rtems/bspIo.h>13 14 /*15 * Way too much stack space. Should generate a fatal error16 * on the init task create.17 */18 #define CONFIGURE_HAS_OWN_INIT_TASK_TABLE19 #define CONFIGURE_INIT_TASK_STACK_SIZE RTEMS_MINIMUM_STACK_SIZE20 rtems_initialization_tasks_table Initialization_tasks[] = {21 { rtems_build_name('I', 'N', 'I', ' '),22 RTEMS_MINIMUM_STACK_SIZE,23 1,24 RTEMS_DEFAULT_ATTRIBUTES,25 Init,26 RTEMS_DEFAULT_MODES,27 028 }29 };30 #define CONFIGURE_INIT_TASK_TABLE Initialization_tasks31 #define CONFIGURE_INIT_TASK_TABLE_SIZE \32 sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)33 34 12 #define FATAL_ERROR_TEST_NAME "7" 35 13 #define FATAL_ERROR_DESCRIPTION \ … … 39 17 INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL 40 18 41 #if CPU_ALLOCATE_INTERRUPT_STACK == TRUE 42 #define CONFIGURE_INTERRUPT_STACK_SIZE (STACK_MINIMUM_SIZE - 1) 43 #endif 19 #define CONFIGURE_INTERRUPT_STACK_SIZE CPU_INTERRUPT_STACK_ALIGNMENT 44 20 45 21 void force_error() 46 22 { 47 #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE) 48 /* we will not run this far */ 49 #else 50 printk( 51 "WARNING - Test not applicable on this target architecture.\n" 52 "WARNING - Only applicable when CPU_ALLOCATE_INTERRUPT_STACK == TRUE.\n" 53 ); 54 TEST_END(); 55 rtems_test_exit(0); 56 #endif 23 /* we will not run this far */ 57 24 } -
testsuites/sptests/spsize/size.c
r715d616 r511dc4b 392 392 uninitialized += (sizeof _CPU_Null_fp_context); 393 393 394 #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)395 394 uninitialized += (sizeof _CPU_Interrupt_stack_low) + 396 395 (sizeof _CPU_Interrupt_stack_high); 397 #endif398 396 399 397 #endif
Note: See TracChangeset
for help on using the changeset viewer.