Changeset 3652ad35 in rtems for testsuites/samples


Ignore:
Timestamp:
Sep 19, 1995, 2:53:29 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
38ffa0c
Parents:
b3ac6a8d
Message:

Minor bug fixes to get all targets compilable and running. The
single biggest changes were the expansion of the workspace size
macro to include other types of objects and the increase in the
minimum stack size for most CPUs.

Location:
testsuites/samples
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/base_mp/init.c

    rb3ac6a8d r3652ad35  
    3636  printf( "Creating and starting an application task\n" );
    3737  task_name = rtems_build_name( 'T', 'A', '1', ' ' );
    38   status = rtems_task_create( task_name, 1, 1024,
     38  status = rtems_task_create( task_name, 1, RTEMS_MINIMUM_STACK_SIZE,
    3939             RTEMS_INTERRUPT_LEVEL(0), RTEMS_DEFAULT_ATTRIBUTES, &tid );
    4040  status = rtems_task_start(
  • testsuites/samples/base_sp/init.c

    rb3ac6a8d r3652ad35  
    4040  task_name = rtems_build_name( 'T', 'A', '1', ' ' );
    4141
    42   status = rtems_task_create( task_name, 1, 1024,
     42  status = rtems_task_create( task_name, 1, RTEMS_MINIMUM_STACK_SIZE,
    4343             RTEMS_INTERRUPT_LEVEL(0), RTEMS_DEFAULT_ATTRIBUTES, &tid );
    4444
  • testsuites/samples/ticker/init.c

    rb3ac6a8d r3652ad35  
    4141  Task_name[ 3 ] = rtems_build_name( 'T', 'A', '3', ' ' );
    4242
    43   status = rtems_task_create( Task_name[ 1 ], 1, 1024, RTEMS_DEFAULT_MODES,
    44                         RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ] );
    45   status = rtems_task_create( Task_name[ 2 ], 1, 1024, RTEMS_DEFAULT_MODES,
    46                         RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 2 ] );
    47   status = rtems_task_create( Task_name[ 3 ], 1, 1024, RTEMS_DEFAULT_MODES,
    48                         RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 3 ] );
     43  status = rtems_task_create(
     44    Task_name[ 1 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
     45    RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ]
     46  );
     47  status = rtems_task_create(
     48    Task_name[ 2 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
     49    RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 2 ]
     50  );
     51  status = rtems_task_create(
     52    Task_name[ 3 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
     53    RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 3 ]
     54  );
    4955
    5056  status = rtems_task_start( Task_id[ 1 ], Test_task, 1 );
Note: See TracChangeset for help on using the changeset viewer.