Changeset b0a2a7aa in rtems


Ignore:
Timestamp:
10/04/11 15:18:16 (11 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.11, 5, master
Children:
1072d53d
Parents:
4b5348cc
Message:

2011-10-04 Sebastian Huber <sebastian.huber@…>

PR 1922

  • spcbssched02/system.h, spcbssched03/system.h, spedfsched02/system.h, spedfsched02/task1.c, spedfsched03/system.h: EDF and CBS scheduler: extern declarations fix.
Location:
testsuites/sptests
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r4b5348cc rb0a2a7aa  
     12011-10-04      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        PR 1922
     4        * spcbssched02/system.h, spcbssched03/system.h, spedfsched02/system.h,
     5        spedfsched02/task1.c, spedfsched03/system.h: EDF and CBS scheduler:
     6        extern declarations fix.
     7
    182011-09-30      Ralf Corsépius <ralf.corsepius@rtems.org>
    29
  • testsuites/sptests/spcbssched02/system.h

    r4b5348cc rb0a2a7aa  
    5353/* global variables */
    5454
    55 rtems_id   Task_id;
    56 rtems_name Task_name;
    57 rtems_id   Task_id2;
    58 rtems_name Task_name2;
    59 rtems_task_priority Priority;
    60 time_t  Period;
    61 time_t  Execution;
    62 time_t  Phase;
     55TEST_EXTERN rtems_id   Task_id;
     56TEST_EXTERN rtems_name Task_name;
     57TEST_EXTERN rtems_id   Task_id2;
     58TEST_EXTERN rtems_name Task_name2;
     59TEST_EXTERN rtems_task_priority Priority;
     60TEST_EXTERN time_t  Period;
     61TEST_EXTERN time_t  Execution;
     62TEST_EXTERN time_t  Phase;
    6363
    6464/* end of include file */
  • testsuites/sptests/spcbssched03/system.h

    r4b5348cc rb0a2a7aa  
    6565TEST_EXTERN rtems_id   Task_id[ 1+NUM_TASKS ];     /* array of task ids */
    6666TEST_EXTERN rtems_name Task_name[ 1+NUM_TASKS ];   /* array of task names */
    67 extern rtems_task_priority Priorities[ 1+NUM_TASKS ];
    68 extern uint32_t  Periods[ 1 + NUM_PERIODIC_TASKS ];
    69 extern uint32_t  Phases[1 + NUM_TASKS];
    70 extern uint32_t  Execution[1 + NUM_TASKS];
    71 bool Violating_task[1 + NUM_PERIODIC_TASKS];
     67TEST_EXTERN rtems_task_priority Priorities[ 1+NUM_TASKS ];
     68TEST_EXTERN uint32_t  Periods[ 1 + NUM_PERIODIC_TASKS ];
     69TEST_EXTERN uint32_t  Phases[1 + NUM_TASKS];
     70TEST_EXTERN uint32_t  Execution[1 + NUM_TASKS];
     71TEST_EXTERN bool Violating_task[1 + NUM_PERIODIC_TASKS];
    7272
    7373/* end of include file */
  • testsuites/sptests/spedfsched02/system.h

    r4b5348cc rb0a2a7aa  
    6161TEST_EXTERN struct counters Count;       /* iteration counters */
    6262TEST_EXTERN struct counters Temporary_count;
    63 extern rtems_task_priority Priorities[ 7 ];
     63TEST_EXTERN rtems_task_priority *Priorities;
    6464
    6565/* end of include file */
  • testsuites/sptests/spedfsched02/task1.c

    r4b5348cc rb0a2a7aa  
    3232uint32_t      Periods[7]    = { 0,   2,   2,   2,   2, 100, 0 };
    3333uint32_t      Iterations[7] = { 0,  50,  50,  50,  50,   1, TA6_ITERATIONS };
    34 rtems_task_priority Priorities[7] = { 0,   2,   2,   2,   2,  100, 1 };
     34rtems_task_priority Prio[7] = { 0,   2,   2,   2,   2,  100, 1 };
    3535
    3636rtems_task Task_1_through_6(
     
    4444  uint32_t          failed;
    4545  rtems_status_code status;
     46
     47  Priorities = Prio;
    4648
    4749  status = rtems_rate_monotonic_create( argument, &rmid );
  • testsuites/sptests/spedfsched03/system.h

    r4b5348cc rb0a2a7aa  
    6464TEST_EXTERN rtems_id   Task_id[ 1+NUM_TASKS ];     /* array of task ids */
    6565TEST_EXTERN rtems_name Task_name[ 1+NUM_TASKS ];   /* array of task names */
    66 extern rtems_task_priority Priorities[ 1+NUM_TASKS ];
    67 extern uint32_t  Periods[ 1 + NUM_PERIODIC_TASKS ];
    68 extern uint32_t  Phases[1 + NUM_TASKS];
    69 extern uint32_t  Execution[1 + NUM_TASKS];
     66TEST_EXTERN rtems_task_priority Priorities[ 1+NUM_TASKS ];
     67TEST_EXTERN uint32_t  Periods[ 1 + NUM_PERIODIC_TASKS ];
     68TEST_EXTERN uint32_t  Phases[1 + NUM_TASKS];
     69TEST_EXTERN uint32_t  Execution[1 + NUM_TASKS];
    7070
    7171/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.