Changeset f2ad3d1 in rtems


Ignore:
Timestamp:
Sep 3, 2008, 10:06:22 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
6d97132
Parents:
3447454
Message:

2008-09-03 Joel Sherrill <joel.sherrill@…>

  • mp05/system.h, mp05/task1.c, mp06/system.h, mp06/task1.c, mp07/system.h, mp07/task1.c, mp14/evtask1.c, mp14/evtmtask.c, mp14/init.c, mp14/msgtask1.c, mp14/pttask1.c, mp14/smtask1.c, mp14/system.h: Convert to bool type.
Location:
testsuites/mptests
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • testsuites/mptests/ChangeLog

    r3447454 rf2ad3d1  
     12008-09-03      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * mp05/system.h, mp05/task1.c, mp06/system.h, mp06/task1.c,
     4        mp07/system.h, mp07/task1.c, mp14/evtask1.c, mp14/evtmtask.c,
     5        mp14/init.c, mp14/msgtask1.c, mp14/pttask1.c, mp14/smtask1.c,
     6        mp14/system.h: Convert to bool type.
     7
    182008-01-31      Joel Sherrill <joel.sherrill@OARcorp.com>
    29
  • testsuites/mptests/mp05/system.h

    r3447454 rf2ad3d1  
    5252TEST_EXTERN rtems_name Timer_name[ 2 ];  /* array of timer names */
    5353
    54 TEST_EXTERN volatile rtems_boolean Stop_Test;
     54TEST_EXTERN volatile bool      Stop_Test;
    5555
    5656TEST_EXTERN uint32_t            remote_node;
    57 TEST_EXTERN rtems_id                  remote_tid;
    58 TEST_EXTERN rtems_signal_set          remote_signal;
    59 TEST_EXTERN rtems_signal_set          expected_signal;
     57TEST_EXTERN rtems_id            remote_tid;
     58TEST_EXTERN rtems_signal_set    remote_signal;
     59TEST_EXTERN rtems_signal_set    expected_signal;
    6060TEST_EXTERN volatile uint32_t   signal_count;
    6161TEST_EXTERN volatile uint32_t   signal_caught;
  • testsuites/mptests/mp05/task1.c

    r3447454 rf2ad3d1  
    3131)
    3232{
    33   Stop_Test = TRUE;
     33  Stop_Test = true;
    3434}
    3535
     
    4040  rtems_status_code status;
    4141
    42   Stop_Test = FALSE;
     42  Stop_Test = false;
    4343
    4444  signal_caught = 0;
  • testsuites/mptests/mp06/system.h

    r3447454 rf2ad3d1  
    4848TEST_EXTERN rtems_name Timer_name[ 4 ];   /* array of timer names */
    4949
    50 TEST_EXTERN volatile rtems_boolean Stop_Test;
     50TEST_EXTERN volatile bool Stop_Test;
    5151
    5252/* end of include file */
  • testsuites/mptests/mp06/task1.c

    r3447454 rf2ad3d1  
    3434)
    3535{
    36   Stop_Test = TRUE;
     36  Stop_Test = true;
    3737}
    3838
     
    9393  rtems_event_set   event_for_this_iteration;
    9494
    95   Stop_Test = FALSE;
     95  Stop_Test = false;
    9696
    9797  remote_node = (Multiprocessing_configuration.node == 1) ? 2 : 1;
     
    125125
    126126  for ( ; ; ) {
    127     if ( Stop_Test == TRUE )
     127    if ( Stop_Test == true )
    128128      break;
    129129
  • testsuites/mptests/mp07/system.h

    r3447454 rf2ad3d1  
    4848TEST_EXTERN rtems_name Timer_name[ 4 ];   /* array of timer names */
    4949
    50 TEST_EXTERN volatile rtems_boolean Stop_Test;
     50TEST_EXTERN volatile bool Stop_Test;
    5151
    5252/* end of include file */
  • testsuites/mptests/mp07/task1.c

    r3447454 rf2ad3d1  
    2929)
    3030{
    31   Stop_Test = TRUE;
     31  Stop_Test = true;
    3232}
    3333
     
    4242  rtems_event_set   event_out;
    4343
    44   Stop_Test = FALSE;
     44  Stop_Test = false;
    4545
    4646  remote_node = (Multiprocessing_configuration.node == 1) ? 2 : 1;
     
    7171  directive_failed( status, "rtems_timer_fire_after" );
    7272
    73   while ( Stop_Test == FALSE ) {
    74     for ( count=DOT_COUNT ; count && (Stop_Test == FALSE) ; count-- ) {
     73  while ( Stop_Test == false ) {
     74    for ( count=DOT_COUNT ; count && (Stop_Test == false) ; count-- ) {
    7575      status = rtems_event_receive(
    7676        RTEMS_EVENT_16,
  • testsuites/mptests/mp14/evtask1.c

    r3447454 rf2ad3d1  
    6060  if ( Multiprocessing_configuration.node == 1 ) {
    6161    puts( "Sending events to remote task" );
    62     while ( Stop_Test == FALSE ) {
    63       for ( count=EVENT_TASK_DOT_COUNT; Stop_Test == FALSE && count; count-- ) {
     62    while ( Stop_Test == false ) {
     63      for ( count=EVENT_TASK_DOT_COUNT; Stop_Test == false && count; count-- ) {
    6464        status = rtems_event_send( remote_tid, RTEMS_EVENT_16 );
    6565        directive_failed( status, "rtems_event_send" );
     
    7070
    7171  puts( "Receiving events from remote task" );
    72   while ( Stop_Test == FALSE ) {
    73     for ( count=EVENT_TASK_DOT_COUNT ; Stop_Test == FALSE && count ; count-- ) {
     72  while ( Stop_Test == false ) {
     73    for ( count=EVENT_TASK_DOT_COUNT ; Stop_Test == false && count ; count-- ) {
    7474      status = rtems_event_receive(
    7575        RTEMS_EVENT_16,
  • testsuites/mptests/mp14/evtmtask.c

    r3447454 rf2ad3d1  
    4040  directive_failed( status, "rtems_timer_create" );
    4141
    42   while ( Stop_Test == FALSE ) {
    43     for ( count=DELAYED_EVENT_DOT_COUNT; Stop_Test == FALSE && count; count-- ){
     42  while ( Stop_Test == false ) {
     43    for ( count=DELAYED_EVENT_DOT_COUNT; Stop_Test == false && count; count-- ){
    4444      status = rtems_timer_fire_after(
    4545        Timer_id[ 1 ],
  • testsuites/mptests/mp14/init.c

    r3447454 rf2ad3d1  
    3232)
    3333{
    34   Stop_Test = TRUE;
     34  Stop_Test = true;
    3535}
    3636
     
    4747  );
    4848
    49   Stop_Test = FALSE;
     49  Stop_Test = false;
    5050
    5151  status = rtems_timer_create(
  • testsuites/mptests/mp14/msgtask1.c

    r3447454 rf2ad3d1  
    6666  }
    6767
    68   while ( Stop_Test == FALSE ) {
     68  while ( Stop_Test == false ) {
    6969    yield_count = 100;
    7070
    71     for ( count=MESSAGE_DOT_COUNT ; Stop_Test == FALSE && count ; count-- ) {
     71    for ( count=MESSAGE_DOT_COUNT ; Stop_Test == false && count ; count-- ) {
    7272      status = rtems_message_queue_receive(
    7373        Queue_id[ 1 ],
     
    9292      directive_failed( status, "rtems_message_queue_send" );
    9393
    94       if (Stop_Test == FALSE)
     94      if (Stop_Test == false)
    9595        if ( Multiprocessing_configuration.node == 1 && --yield_count == 0 ) {
    9696          status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
  • testsuites/mptests/mp14/pttask1.c

    r3447454 rf2ad3d1  
    4949  yield_count = 100;
    5050
    51   while ( Stop_Test == FALSE ) {
    52     for ( count=PARTITION_DOT_COUNT ; Stop_Test == FALSE && count ; count-- ) {
     51  while ( Stop_Test == false ) {
     52    for ( count=PARTITION_DOT_COUNT ; Stop_Test == false && count ; count-- ) {
    5353      status = rtems_partition_get_buffer( Partition_id[ 1 ], &buffer );
    5454      directive_failed( status, "rtems_partition_get_buffer" );
     
    5757      directive_failed( status, "rtems_partition_return_buffer" );
    5858
    59       if (Stop_Test == FALSE)
     59      if (Stop_Test == false)
    6060        if ( Multiprocessing_configuration.node == 1 && --yield_count == 0 ) {
    6161          status = rtems_task_wake_after( 1 );
  • testsuites/mptests/mp14/smtask1.c

    r3447454 rf2ad3d1  
    4545  yield_count = 100;
    4646
    47   while ( Stop_Test == FALSE ) {
     47  while ( Stop_Test == false ) {
    4848
    49     for ( count=SEMAPHORE_DOT_COUNT ; Stop_Test == FALSE && count ; count-- ) {
     49    for ( count=SEMAPHORE_DOT_COUNT ; Stop_Test == false && count ; count-- ) {
    5050      status = rtems_semaphore_obtain(
    5151        Semaphore_id[ 1 ],
     
    5858      directive_failed( status, "rtems_semaphore_release" );
    5959
    60       if ( Stop_Test == FALSE )
     60      if ( Stop_Test == false )
    6161        if ( Multiprocessing_configuration.node == 1 && --yield_count == 0 ) {
    6262          status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
  • testsuites/mptests/mp14/system.h

    r3447454 rf2ad3d1  
    107107extern rtems_multiprocessing_table Multiprocessing_configuration;
    108108
    109 TEST_EXTERN volatile rtems_boolean Stop_Test;
     109TEST_EXTERN volatile bool Stop_Test;
    110110TEST_EXTERN rtems_id timer_id;
    111111
Note: See TracChangeset for help on using the changeset viewer.