Changeset 4b374f36 in rtems for testsuites/sptests


Ignore:
Timestamp:
08/17/95 19:36:43 (29 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3b438fa
Parents:
556fb911
Message:

maximum number of messages removed and include statement cleanup

Location:
testsuites/sptests
Files:
42 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp01/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:06:37 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp02/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:06:54 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp03/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:07:10 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp04/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:07:24 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp04/task1.c

    r556fb911 r4b374f36  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  $Id$
     19 *  task1.c,v 1.2 1995/05/31 17:07:26 joel Exp
    2020 */
    2121
    2222#include "system.h"
    23 #include "clockdrv.h"
    2423
    2524rtems_task Task_1(
  • testsuites/sptests/sp05/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:07:40 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp06/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:07:56 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp07/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:08:12 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* constants */
  • testsuites/sptests/sp08/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:08:40 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp09/screen05.c

    r556fb911 r4b374f36  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  $Id$
     17 *  screen05.c,v 1.2 1995/05/31 17:08:59 joel Exp
    1818 */
    1919
     
    5050  puts( "TA1 - rtems_semaphore_create - 2 - RTEMS_SUCCESSFUL" );
    5151
    52   status = rtems_semaphore_create(
    53      Semaphore_name[ 3 ],
    54      1,
    55      RTEMS_DEFAULT_ATTRIBUTES,
    56      &Junk_id
    57   );
     52  do {
     53      status = rtems_semaphore_create(
     54          Semaphore_name[ 3 ],
     55          1,
     56          RTEMS_DEFAULT_ATTRIBUTES,
     57          &Junk_id);
     58  } while (status == RTEMS_SUCCESSFUL);
     59
    5860  fatal_directive_status(
    5961    status,
  • testsuites/sptests/sp09/screen07.c

    r556fb911 r4b374f36  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  $Id$
     17 *  screen07.c,v 1.2 1995/05/31 17:09:03 joel Exp
    1818 */
    1919
     
    2323{
    2424  long              buffer[ 4 ];
     25  rtems_unsigned32  size;
    2526  rtems_unsigned32  count;
    2627  rtems_status_code status;
    2728
    28   status = rtems_message_queue_broadcast( 100, (long (*)[4]) buffer, &count );
     29  status = rtems_message_queue_broadcast( 100, (long (*)[4]) buffer, 16, &count );
    2930  fatal_directive_status(
    3031    status,
     
    3738    0,
    3839    3,
     40    16,
    3941    RTEMS_DEFAULT_ATTRIBUTES,
    4042    &Junk_id
     
    5052    Queue_name[ 1 ],
    5153    1,
     54    16,
    5255    RTEMS_GLOBAL,
    5356    &Junk_id
     
    6366    Queue_name[ 1 ],
    6467    2,
    65     RTEMS_LIMIT,
     68    16,
     69    RTEMS_DEFAULT_ATTRIBUTES,
    6670    &Queue_id[ 1 ]
    6771  );
    6872  directive_failed( status, "rtems_message_queue_create successful" );
    6973  puts(
    70     "TA1 - rtems_message_queue_create - Q 1 - RTEMS_LIMIT - RTEMS_SUCCESSFUL"
     74    "TA1 - rtems_message_queue_create - Q 1 - 2 DEEP - RTEMS_SUCCESSFUL"
    7175  );
    7276
     
    7478    Queue_name[ 2 ],
    7579    1,
     80    16,
    7681    RTEMS_DEFAULT_ATTRIBUTES,
    7782    &Junk_id
     
    119124    100,
    120125    (long (*)[4]) buffer,
     126    &size,
    121127    RTEMS_DEFAULT_OPTIONS,
    122128    0
     
    132138    Queue_id[ 1 ],
    133139    (long (*)[4]) buffer,
     140    &size,
    134141    RTEMS_NO_WAIT,
    135142    RTEMS_NO_TIMEOUT
     
    146153    Queue_id[ 1 ],
    147154    (long (*)[4]) buffer,
     155    &size,
    148156    RTEMS_DEFAULT_OPTIONS,
    149157    3 * TICKS_PER_SECOND
     
    159167  );
    160168
    161   status = rtems_message_queue_send( 100, (long (*)[4]) buffer );
     169  status = rtems_message_queue_send( 100, (long (*)[4]) buffer, 16 );
    162170  fatal_directive_status(
    163171    status,
     
    167175  puts( "TA1 - rtems_message_queue_send - RTEMS_INVALID_ID" );
    168176
    169   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4]) buffer );
     177  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4]) buffer, 16 );
    170178  directive_failed( status, "rtems_message_queue_send" );
    171179  puts( "TA1 - rtems_message_queue_send - BUFFER 1 TO Q 1 - RTEMS_SUCCESSFUL" );
    172180
    173   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4]) buffer );
     181  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4]) buffer, 16 );
    174182  directive_failed( status, "rtems_message_queue_send" );
    175183  puts( "TA1 - rtems_message_queue_send - BUFFER 2 TO Q 1 - RTEMS_SUCCESSFUL" );
    176184
    177   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4]) buffer );
     185  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4]) buffer, 16 );
    178186  fatal_directive_status(
    179187    status,
  • testsuites/sptests/sp09/screen08.c

    r556fb911 r4b374f36  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  $Id$
     17 *  screen08.c,v 1.2 1995/05/31 17:09:05 joel Exp
    1818 */
    1919
     
    3232    Queue_name[ 1 ],
    3333    2,
    34     RTEMS_LIMIT,
     34    16,
     35    RTEMS_DEFAULT_ATTRIBUTES,
    3536    &Queue_id[ 1 ]
    3637  );
    3738  directive_failed( status, "rtems_message_queue_create successful" );
    3839  puts(
    39     "TA1 - rtems_message_queue_create - Q 1 - RTEMS_LIMIT - RTEMS_SUCCESSFUL"
     40    "TA1 - rtems_message_queue_create - Q 1 - 2 DEEP - RTEMS_SUCCESSFUL"
    4041  );
    4142
    42   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer );
     43  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer, 16 );
    4344  directive_failed( status, "rtems_message_queue_send successful" );
    4445  puts( "TA1 - rtems_message_queue_send - BUFFER 1 TO Q 1 - RTEMS_SUCCESSFUL" );
    4546
    46   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer );
     47  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer, 16 );
    4748  directive_failed( status, "rtems_message_queue_send successful" );
    4849  puts( "TA1 - rtems_message_queue_send - BUFFER 2 TO Q 1 - RTEMS_SUCCESSFUL" );
    4950
    50   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer );
     51  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer, 16 );
    5152  fatal_directive_status(
    5253    status,
     
    6364    Queue_name[ 1 ],
    6465    3,
    65     RTEMS_LIMIT,
     66    16,
     67    RTEMS_DEFAULT_ATTRIBUTES,
    6668    &Queue_id[ 1 ]
    6769  );
    6870  directive_failed( status, "rtems_message_queue_create successful" );
    6971  puts(
    70     "TA1 - rtems_message_queue_create - Q 1 - RTEMS_LIMIT - RTEMS_SUCCESSFUL"
     72    "TA1 - rtems_message_queue_create - Q 1 - 3 DEEP - RTEMS_SUCCESSFUL"
    7173  );
    7274
    73   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer );
     75  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer, 16 );
    7476  directive_failed( status, "rtems_message_queue_send successful" );
    7577  puts( "TA1 - rtems_message_queue_send - BUFFER 1 TO Q 1 - RTEMS_SUCCESSFUL" );
    7678
    77   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer );
     79  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer, 16 );
    7880  directive_failed( status, "rtems_message_queue_send successful" );
    7981  puts( "TA1 - rtems_message_queue_send - BUFFER 2 TO Q 1 - RTEMS_SUCCESSFUL" );
    8082
    81   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer );
     83  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer, 16 );
     84  directive_failed( status, "rtems_message_queue_send successful" );
     85  puts( "TA1 - rtems_message_queue_send - BUFFER 3 TO Q 1 - RTEMS_SUCCESSFUL" );
     86
     87  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer, 16 );
    8288  fatal_directive_status(
    8389    status,
    84     RTEMS_UNSATISFIED,
     90    RTEMS_TOO_MANY,
    8591    "rtems_message_queue_send too many to limited queue"
    8692  );
    8793  puts(
    88     "TA1 - rtems_message_queue_send - BUFFER 3 TO Q 1 - RTEMS_UNSATISFIED"
     94    "TA1 - rtems_message_queue_send - BUFFER 4 TO Q 1 - RTEMS_TOO_MANY"
    8995  );
    9096
     
    96102    Queue_name[ 1 ],
    97103    3,
    98     RTEMS_LIMIT,
     104    16,
     105    RTEMS_DEFAULT_ATTRIBUTES,
    99106    &Queue_id[ 1 ]
    100107  );
    101108  directive_failed( status, "rtems_message_queue_create successful" );
    102109  puts(
    103     "TA1 - rtems_message_queue_create - Q 1 - RTEMS_LIMIT - RTEMS_SUCCESSFUL"
     110    "TA1 - rtems_message_queue_create - Q 1 - 3 DEEP - RTEMS_SUCCESSFUL"
    104111  );
    105112
  • testsuites/sptests/sp09/screen09.c

    r556fb911 r4b374f36  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  $Id$
     17 *  screen09.c,v 1.2 1995/05/31 17:09:07 joel Exp
    1818 */
    1919
  • testsuites/sptests/sp09/screen13.c

    r556fb911 r4b374f36  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  $Id$
     17 *  screen13.c,v 1.2 1995/05/31 17:09:14 joel Exp
    1818 */
    1919
     
    2222void Screen13()
    2323{
    24   rtems_unsigned32  result;
    2524  rtems_time_of_day time;
    2625  rtems_status_code status;
    2726
    28   status = rtems_io_close( 0xffff, 0x0000, NULL, &result );
     27  status = rtems_io_close( 0xffff, 0x0000, NULL);
    2928  fatal_directive_status(
    3029    status,
     
    3332  );
    3433  puts( "TA1 - rtems_io_close - RTEMS_INVALID_NUMBER" );
    35   status = rtems_io_control( 0xffff, 0x00000, NULL, &result );
     34  status = rtems_io_control( 0xffff, 0x00000, NULL);
    3635  fatal_directive_status(
    3736    status,
     
    4039  );
    4140  puts( "TA1 - rtems_io_control - RTEMS_INVALID_NUMBER" );
    42   status = rtems_io_initialize( 0xffff, 0x00000, NULL, &result );
     41  status = rtems_io_initialize( 0xffff, 0x00000, NULL);
    4342  fatal_directive_status(
    4443    status,
     
    4746  );
    4847  puts( "TA1 - rtems_io_initialize - RTEMS_INVALID_NUMBER" );
    49   status = rtems_io_open( 0xffff, 0x00000, NULL, &result );
     48  status = rtems_io_open( 0xffff, 0x00000, NULL);
    5049  fatal_directive_status(
    5150    status,
     
    5453  );
    5554  puts( "TA1 - rtems_io_open - RTEMS_INVALID_NUMBER" );
    56   status = rtems_io_read( 0xffff, 0x00000, NULL, &result );
     55  status = rtems_io_read( 0xffff, 0x00000, NULL);
    5756  fatal_directive_status(
    5857    status,
     
    6160  );
    6261  puts( "TA1 - rtems_io_read - RTEMS_INVALID_NUMBER" );
    63   status = rtems_io_write( 0xffff, 0x0ffff, NULL, &result );
     62  status = rtems_io_write( 0xffff, 0x0ffff, NULL);
    6463  fatal_directive_status(
    6564    status,
  • testsuites/sptests/sp09/sp09.scn

    r556fb911 r4b374f36  
    9797TA1 - rtems_message_queue_create - Q 1 - RTEMS_INVALID_NAME
    9898TA1 - rtems_message_queue_create - Q 1 - RTEMS_MP_NOT_CONFIGURED
    99 TA1 - rtems_message_queue_create - Q 1 - RTEMS_LIMIT - RTEMS_SUCCESSFUL
     99TA1 - rtems_message_queue_create - Q 1 - 2 DEEP - RTEMS_SUCCESSFUL
    100100TA1 - rtems_message_queue_create - Q 2 - RTEMS_TOO_MANY
    101101TA1 - rtems_message_queue_delete - unknown RTEMS_INVALID_ID
     
    113113<pause - screen 8>
    114114TA1 - rtems_message_queue_delete - Q 1 - RTEMS_SUCCESSFUL
    115 TA1 - rtems_message_queue_create - Q 1 - RTEMS_LIMIT - RTEMS_SUCCESSFUL
     115TA1 - rtems_message_queue_create - Q 1 - 2 DEEP - RTEMS_SUCCESSFUL
    116116TA1 - rtems_message_queue_send - BUFFER 1 TO Q 1 - RTEMS_SUCCESSFUL
    117117TA1 - rtems_message_queue_send - BUFFER 2 TO Q 1 - RTEMS_SUCCESSFUL
    118118TA1 - rtems_message_queue_send - BUFFER 3 TO Q 1 - RTEMS_TOO_MANY
    119119TA1 - rtems_message_queue_delete - Q 1 - RTEMS_SUCCESSFUL
    120 TA1 - rtems_message_queue_create - Q 1 - RTEMS_LIMIT - RTEMS_SUCCESSFUL
     120TA1 - rtems_message_queue_create - Q 1 - 3 DEEP - RTEMS_SUCCESSFUL
    121121TA1 - rtems_message_queue_send - BUFFER 1 TO Q 1 - RTEMS_SUCCESSFUL
    122122TA1 - rtems_message_queue_send - BUFFER 2 TO Q 1 - RTEMS_SUCCESSFUL
    123 TA1 - rtems_message_queue_send - BUFFER 3 TO Q 1 - RTEMS_UNSATISFIED
     123TA1 - rtems_message_queue_send - BUFFER 3 TO Q 1 - RTEMS_SUCCESSFUL
     124TA1 - rtems_message_queue_send - BUFFER 4 TO Q 1 - RTEMS_TOO_MANY
    124125TA1 - rtems_message_queue_delete - Q 1 - RTEMS_SUCCESSFUL
    125 TA1 - rtems_message_queue_create - Q 1 - RTEMS_LIMIT - RTEMS_SUCCESSFUL
     126TA1 - rtems_message_queue_create - Q 1 - 3 DEEP - RTEMS_SUCCESSFUL
    126127TA1 - rtems_task_start - start TA3 - RTEMS_SUCCESSFUL
    127128TA1 - rtems_task_wake_after - yield processor - RTEMS_SUCCESSFUL
  • testsuites/sptests/sp09/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:09:17 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp09/task3.c

    r556fb911 r4b374f36  
    1818 *  notice must appear in all copies of this file and its derivatives.
    1919 *
    20  *  $Id$
     20 *  task3.c,v 1.2 1995/05/31 17:09:22 joel Exp
    2121 */
    2222
     
    2929  rtems_status_code status;
    3030  long              buffer[ 4 ];
     31  rtems_unsigned32  size;
    3132
    3233  puts( "TA3 - rtems_message_queue_receive - Q 1 - RTEMS_WAIT FOREVER" );
     
    3435    Queue_id[ 1 ],
    3536    (long (*)[4])buffer,
     37    &size,
    3638    RTEMS_DEFAULT_OPTIONS,
    3739    RTEMS_NO_TIMEOUT
  • testsuites/sptests/sp11/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:09:35 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp12/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:09:55 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp13/init.c

    r556fb911 r4b374f36  
    2020 *  notice must appear in all copies of this file and its derivatives.
    2121 *
    22  *  $Id$
     22 *  init.c,v 1.2 1995/05/31 17:10:13 joel Exp
    2323 */
    2424
     
    7979  status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
    8080  directive_failed( status, "rtems_task_start of TA3" );
    81 
     81 
    8282  Queue_name[ 1 ] = rtems_build_name( 'Q', '1', ' ', ' ' );
    8383  Queue_name[ 2 ] = rtems_build_name( 'Q', '2', ' ', ' ' );
     
    8686  status = rtems_message_queue_create(
    8787    Queue_name[ 1 ],
    88     0,
     88    100,
     89    16,
    8990    RTEMS_DEFAULT_ATTRIBUTES,
    9091    &Queue_id[ 1 ]
     
    9596    Queue_name[ 2 ],
    9697    10,
    97     RTEMS_PRIORITY | RTEMS_LIMIT,
     98    16,
     99    RTEMS_PRIORITY,
    98100    &Queue_id[ 2 ]
    99101  );
     
    102104  status = rtems_message_queue_create(
    103105    Queue_name[ 3 ],
    104     0,
     106    100,
     107    16,
    105108    RTEMS_DEFAULT_ATTRIBUTES,
    106109    &Queue_id[ 3 ]
  • testsuites/sptests/sp13/putbuff.c

    r556fb911 r4b374f36  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  $Id$
     19 *  putbuff.c,v 1.2 1995/05/31 17:10:15 joel Exp
    2020 */
    2121
    2222#include "system.h"
    23 
    24 #define BUFFER_LENGTH 16
    2523
    2624void Put_buffer(
  • testsuites/sptests/sp13/sp13.scn

    r556fb911 r4b374f36  
    6464TA1 - rtems_message_queue_flush - Q 3
    6565TA1 - 100 messages were flushed from Q 3
     66<pause>
     67TA1 - create message queue of 20 bytes on queue 1
     68TA1 - rtems_message_queue_delete - delete queue 1
     69<pause>
     70TA1 - rtems_message_queue_create - variable sizes
     71<pause>
     72TA1 - rtems_message_queue_create and send - variable sizes
     73TA1 - message queue size: 1
     74TA1 - message queue size: 2
     75TA1 - message queue size: 3
     76TA1 - message queue size: 4
     77TA1 - message queue size: 5
     78TA1 - message queue size: 6
     79TA1 - message queue size: 7
     80TA1 - message queue size: 8
     81TA1 - message queue size: 9
     82TA1 - message queue size: 10
     83TA1 - message queue size: 11
     84TA1 - message queue size: 12
     85TA1 - message queue size: 13
     86TA1 - message queue size: 14
     87TA1 - message queue size: 15
     88TA1 - message queue size: 16
     89TA1 - message queue size: 17
     90TA1 - message queue size: 18
     91TA1 - message queue size: 19
     92TA1 - message queue size: 20
     93TA1 - message queue size: 21
     94TA1 - message queue size: 22
     95TA1 - message queue size: 23
     96TA1 - message queue size: 24
     97TA1 - message queue size: 25
     98TA1 - message queue size: 26
     99TA1 - message queue size: 27
     100TA1 - message queue size: 28
     101TA1 - message queue size: 29
     102TA1 - message queue size: 30
     103TA1 - message queue size: 31
     104TA1 - message queue size: 32
     105TA1 - message queue size: 33
     106TA1 - message queue size: 34
     107TA1 - message queue size: 35
     108TA1 - message queue size: 36
     109TA1 - message queue size: 37
     110TA1 - message queue size: 38
     111TA1 - message queue size: 39
     112TA1 - message queue size: 40
     113TA1 - message queue size: 41
     114TA1 - message queue size: 42
     115TA1 - message queue size: 43
     116TA1 - message queue size: 44
     117TA1 - message queue size: 45
     118TA1 - message queue size: 46
     119TA1 - message queue size: 47
     120TA1 - message queue size: 48
     121TA1 - message queue size: 49
     122TA1 - message queue size: 50
     123TA1 - message queue size: 51
     124TA1 - message queue size: 52
     125TA1 - message queue size: 53
     126TA1 - message queue size: 54
     127TA1 - message queue size: 55
     128TA1 - message queue size: 56
     129TA1 - message queue size: 57
     130TA1 - message queue size: 58
     131TA1 - message queue size: 59
     132TA1 - message queue size: 60
     133TA1 - message queue size: 61
     134TA1 - message queue size: 62
     135TA1 - message queue size: 63
     136TA1 - message queue size: 64
     137TA1 - message queue size: 65
     138TA1 - message queue size: 66
     139TA1 - message queue size: 67
     140TA1 - message queue size: 68
     141TA1 - message queue size: 69
     142TA1 - message queue size: 70
     143TA1 - message queue size: 71
     144TA1 - message queue size: 72
     145TA1 - message queue size: 73
     146TA1 - message queue size: 74
     147TA1 - message queue size: 75
     148TA1 - message queue size: 76
     149TA1 - message queue size: 77
     150TA1 - message queue size: 78
     151TA1 - message queue size: 79
     152TA1 - message queue size: 80
     153TA1 - message queue size: 81
     154TA1 - message queue size: 82
     155TA1 - message queue size: 83
     156TA1 - message queue size: 84
     157TA1 - message queue size: 85
     158TA1 - message queue size: 86
     159TA1 - message queue size: 87
     160TA1 - message queue size: 88
     161TA1 - message queue size: 89
     162TA1 - message queue size: 90
     163TA1 - message queue size: 91
     164TA1 - message queue size: 92
     165TA1 - message queue size: 93
     166TA1 - message queue size: 94
     167TA1 - message queue size: 95
     168TA1 - message queue size: 96
     169TA1 - message queue size: 97
     170TA1 - message queue size: 98
     171TA1 - message queue size: 99
     172TA1 - message queue size: 100
     173TA1 - message queue size: 101
     174TA1 - message queue size: 102
     175TA1 - message queue size: 103
     176TA1 - message queue size: 104
     177TA1 - message queue size: 105
     178TA1 - message queue size: 106
     179TA1 - message queue size: 107
     180TA1 - message queue size: 108
     181TA1 - message queue size: 109
     182TA1 - message queue size: 110
     183TA1 - message queue size: 111
     184TA1 - message queue size: 112
     185TA1 - message queue size: 113
     186TA1 - message queue size: 114
     187TA1 - message queue size: 115
     188TA1 - message queue size: 116
     189TA1 - message queue size: 117
     190TA1 - message queue size: 118
     191TA1 - message queue size: 119
     192TA1 - message queue size: 120
     193TA1 - message queue size: 121
     194TA1 - message queue size: 122
     195TA1 - message queue size: 123
     196TA1 - message queue size: 124
     197TA1 - message queue size: 125
     198TA1 - message queue size: 126
     199TA1 - message queue size: 127
     200TA1 - message queue size: 128
     201TA1 - message queue size: 129
     202TA1 - message queue size: 130
     203TA1 - message queue size: 131
     204TA1 - message queue size: 132
     205TA1 - message queue size: 133
     206TA1 - message queue size: 134
     207TA1 - message queue size: 135
     208TA1 - message queue size: 136
     209TA1 - message queue size: 137
     210TA1 - message queue size: 138
     211TA1 - message queue size: 139
     212TA1 - message queue size: 140
     213TA1 - message queue size: 141
     214TA1 - message queue size: 142
     215TA1 - message queue size: 143
     216TA1 - message queue size: 144
     217TA1 - message queue size: 145
     218TA1 - message queue size: 146
     219TA1 - message queue size: 147
     220TA1 - message queue size: 148
     221TA1 - message queue size: 149
     222TA1 - message queue size: 150
     223TA1 - message queue size: 151
     224TA1 - message queue size: 152
     225TA1 - message queue size: 153
     226TA1 - message queue size: 154
     227TA1 - message queue size: 155
     228TA1 - message queue size: 156
     229TA1 - message queue size: 157
     230TA1 - message queue size: 158
     231TA1 - message queue size: 159
     232TA1 - message queue size: 160
     233TA1 - message queue size: 161
     234TA1 - message queue size: 162
     235TA1 - message queue size: 163
     236TA1 - message queue size: 164
     237TA1 - message queue size: 165
     238TA1 - message queue size: 166
     239TA1 - message queue size: 167
     240TA1 - message queue size: 168
     241TA1 - message queue size: 169
     242TA1 - message queue size: 170
     243TA1 - message queue size: 171
     244TA1 - message queue size: 172
     245TA1 - message queue size: 173
     246TA1 - message queue size: 174
     247TA1 - message queue size: 175
     248TA1 - message queue size: 176
     249TA1 - message queue size: 177
     250TA1 - message queue size: 178
     251TA1 - message queue size: 179
     252TA1 - message queue size: 180
     253TA1 - message queue size: 181
     254TA1 - message queue size: 182
     255TA1 - message queue size: 183
     256TA1 - message queue size: 184
     257TA1 - message queue size: 185
     258TA1 - message queue size: 186
     259TA1 - message queue size: 187
     260TA1 - message queue size: 188
     261TA1 - message queue size: 189
     262TA1 - message queue size: 190
     263TA1 - message queue size: 191
     264TA1 - message queue size: 192
     265TA1 - message queue size: 193
     266TA1 - message queue size: 194
     267TA1 - message queue size: 195
     268TA1 - message queue size: 196
     269TA1 - message queue size: 197
     270TA1 - message queue size: 198
     271TA1 - message queue size: 199
     272TA1 - message queue size: 200
     273TA1 - message queue size: 201
     274TA1 - message queue size: 202
     275TA1 - message queue size: 203
     276TA1 - message queue size: 204
     277TA1 - message queue size: 205
     278TA1 - message queue size: 206
     279TA1 - message queue size: 207
     280TA1 - message queue size: 208
     281TA1 - message queue size: 209
     282TA1 - message queue size: 210
     283TA1 - message queue size: 211
     284TA1 - message queue size: 212
     285TA1 - message queue size: 213
     286TA1 - message queue size: 214
     287TA1 - message queue size: 215
     288TA1 - message queue size: 216
     289TA1 - message queue size: 217
     290TA1 - message queue size: 218
     291TA1 - message queue size: 219
     292TA1 - message queue size: 220
     293TA1 - message queue size: 221
     294TA1 - message queue size: 222
     295TA1 - message queue size: 223
     296TA1 - message queue size: 224
     297TA1 - message queue size: 225
     298TA1 - message queue size: 226
     299TA1 - message queue size: 227
     300TA1 - message queue size: 228
     301TA1 - message queue size: 229
     302TA1 - message queue size: 230
     303TA1 - message queue size: 231
     304TA1 - message queue size: 232
     305TA1 - message queue size: 233
     306TA1 - message queue size: 234
     307TA1 - message queue size: 235
     308TA1 - message queue size: 236
     309TA1 - message queue size: 237
     310TA1 - message queue size: 238
     311TA1 - message queue size: 239
     312TA1 - message queue size: 240
     313TA1 - message queue size: 241
     314TA1 - message queue size: 242
     315TA1 - message queue size: 243
     316TA1 - message queue size: 244
     317TA1 - message queue size: 245
     318TA1 - message queue size: 246
     319TA1 - message queue size: 247
     320TA1 - message queue size: 248
     321TA1 - message queue size: 249
     322TA1 - message queue size: 250
     323TA1 - message queue size: 251
     324TA1 - message queue size: 252
     325TA1 - message queue size: 253
     326TA1 - message queue size: 254
     327TA1 - message queue size: 255
     328TA1 - message queue size: 256
     329TA1 - message queue size: 257
     330TA1 - message queue size: 258
     331TA1 - message queue size: 259
     332TA1 - message queue size: 260
     333TA1 - message queue size: 261
     334TA1 - message queue size: 262
     335TA1 - message queue size: 263
     336TA1 - message queue size: 264
     337TA1 - message queue size: 265
     338TA1 - message queue size: 266
     339TA1 - message queue size: 267
     340TA1 - message queue size: 268
     341TA1 - message queue size: 269
     342TA1 - message queue size: 270
     343TA1 - message queue size: 271
     344TA1 - message queue size: 272
     345TA1 - message queue size: 273
     346TA1 - message queue size: 274
     347TA1 - message queue size: 275
     348TA1 - message queue size: 276
     349TA1 - message queue size: 277
     350TA1 - message queue size: 278
     351TA1 - message queue size: 279
     352TA1 - message queue size: 280
     353TA1 - message queue size: 281
     354TA1 - message queue size: 282
     355TA1 - message queue size: 283
     356TA1 - message queue size: 284
     357TA1 - message queue size: 285
     358TA1 - message queue size: 286
     359TA1 - message queue size: 287
     360TA1 - message queue size: 288
     361TA1 - message queue size: 289
     362TA1 - message queue size: 290
     363TA1 - message queue size: 291
     364TA1 - message queue size: 292
     365TA1 - message queue size: 293
     366TA1 - message queue size: 294
     367TA1 - message queue size: 295
     368TA1 - message queue size: 296
     369TA1 - message queue size: 297
     370TA1 - message queue size: 298
     371TA1 - message queue size: 299
     372TA1 - message queue size: 300
     373TA1 - message queue size: 301
     374TA1 - message queue size: 302
     375TA1 - message queue size: 303
     376TA1 - message queue size: 304
     377TA1 - message queue size: 305
     378TA1 - message queue size: 306
     379TA1 - message queue size: 307
     380TA1 - message queue size: 308
     381TA1 - message queue size: 309
     382TA1 - message queue size: 310
     383TA1 - message queue size: 311
     384TA1 - message queue size: 312
     385TA1 - message queue size: 313
     386TA1 - message queue size: 314
     387TA1 - message queue size: 315
     388TA1 - message queue size: 316
     389TA1 - message queue size: 317
     390TA1 - message queue size: 318
     391TA1 - message queue size: 319
     392TA1 - message queue size: 320
     393TA1 - message queue size: 321
     394TA1 - message queue size: 322
     395TA1 - message queue size: 323
     396TA1 - message queue size: 324
     397TA1 - message queue size: 325
     398TA1 - message queue size: 326
     399TA1 - message queue size: 327
     400TA1 - message queue size: 328
     401TA1 - message queue size: 329
     402TA1 - message queue size: 330
     403TA1 - message queue size: 331
     404TA1 - message queue size: 332
     405TA1 - message queue size: 333
     406TA1 - message queue size: 334
     407TA1 - message queue size: 335
     408TA1 - message queue size: 336
     409TA1 - message queue size: 337
     410TA1 - message queue size: 338
     411TA1 - message queue size: 339
     412TA1 - message queue size: 340
     413TA1 - message queue size: 341
     414TA1 - message queue size: 342
     415TA1 - message queue size: 343
     416TA1 - message queue size: 344
     417TA1 - message queue size: 345
     418TA1 - message queue size: 346
     419TA1 - message queue size: 347
     420TA1 - message queue size: 348
     421TA1 - message queue size: 349
     422TA1 - message queue size: 350
     423TA1 - message queue size: 351
     424TA1 - message queue size: 352
     425TA1 - message queue size: 353
     426TA1 - message queue size: 354
     427TA1 - message queue size: 355
     428TA1 - message queue size: 356
     429TA1 - message queue size: 357
     430TA1 - message queue size: 358
     431TA1 - message queue size: 359
     432TA1 - message queue size: 360
     433TA1 - message queue size: 361
     434TA1 - message queue size: 362
     435TA1 - message queue size: 363
     436TA1 - message queue size: 364
     437TA1 - message queue size: 365
     438TA1 - message queue size: 366
     439TA1 - message queue size: 367
     440TA1 - message queue size: 368
     441TA1 - message queue size: 369
     442TA1 - message queue size: 370
     443TA1 - message queue size: 371
     444TA1 - message queue size: 372
     445TA1 - message queue size: 373
     446TA1 - message queue size: 374
     447TA1 - message queue size: 375
     448TA1 - message queue size: 376
     449TA1 - message queue size: 377
     450TA1 - message queue size: 378
     451TA1 - message queue size: 379
     452TA1 - message queue size: 380
     453TA1 - message queue size: 381
     454TA1 - message queue size: 382
     455TA1 - message queue size: 383
     456TA1 - message queue size: 384
     457TA1 - message queue size: 385
     458TA1 - message queue size: 386
     459TA1 - message queue size: 387
     460TA1 - message queue size: 388
     461TA1 - message queue size: 389
     462TA1 - message queue size: 390
     463TA1 - message queue size: 391
     464TA1 - message queue size: 392
     465TA1 - message queue size: 393
     466TA1 - message queue size: 394
     467TA1 - message queue size: 395
     468TA1 - message queue size: 396
     469TA1 - message queue size: 397
     470TA1 - message queue size: 398
     471TA1 - message queue size: 399
     472TA1 - message queue size: 400
     473TA1 - message queue size: 401
     474TA1 - message queue size: 402
     475TA1 - message queue size: 403
     476TA1 - message queue size: 404
     477TA1 - message queue size: 405
     478TA1 - message queue size: 406
     479TA1 - message queue size: 407
     480TA1 - message queue size: 408
     481TA1 - message queue size: 409
     482TA1 - message queue size: 410
     483TA1 - message queue size: 411
     484TA1 - message queue size: 412
     485TA1 - message queue size: 413
     486TA1 - message queue size: 414
     487TA1 - message queue size: 415
     488TA1 - message queue size: 416
     489TA1 - message queue size: 417
     490TA1 - message queue size: 418
     491TA1 - message queue size: 419
     492TA1 - message queue size: 420
     493TA1 - message queue size: 421
     494TA1 - message queue size: 422
     495TA1 - message queue size: 423
     496TA1 - message queue size: 424
     497TA1 - message queue size: 425
     498TA1 - message queue size: 426
     499TA1 - message queue size: 427
     500TA1 - message queue size: 428
     501TA1 - message queue size: 429
     502TA1 - message queue size: 430
     503TA1 - message queue size: 431
     504TA1 - message queue size: 432
     505TA1 - message queue size: 433
     506TA1 - message queue size: 434
     507TA1 - message queue size: 435
     508TA1 - message queue size: 436
     509TA1 - message queue size: 437
     510TA1 - message queue size: 438
     511TA1 - message queue size: 439
     512TA1 - message queue size: 440
     513TA1 - message queue size: 441
     514TA1 - message queue size: 442
     515TA1 - message queue size: 443
     516TA1 - message queue size: 444
     517TA1 - message queue size: 445
     518TA1 - message queue size: 446
     519TA1 - message queue size: 447
     520TA1 - message queue size: 448
     521TA1 - message queue size: 449
     522TA1 - message queue size: 450
     523TA1 - message queue size: 451
     524TA1 - message queue size: 452
     525TA1 - message queue size: 453
     526TA1 - message queue size: 454
     527TA1 - message queue size: 455
     528TA1 - message queue size: 456
     529TA1 - message queue size: 457
     530TA1 - message queue size: 458
     531TA1 - message queue size: 459
     532TA1 - message queue size: 460
     533TA1 - message queue size: 461
     534TA1 - message queue size: 462
     535TA1 - message queue size: 463
     536TA1 - message queue size: 464
     537TA1 - message queue size: 465
     538TA1 - message queue size: 466
     539TA1 - message queue size: 467
     540TA1 - message queue size: 468
     541TA1 - message queue size: 469
     542TA1 - message queue size: 470
     543TA1 - message queue size: 471
     544TA1 - message queue size: 472
     545TA1 - message queue size: 473
     546TA1 - message queue size: 474
     547TA1 - message queue size: 475
     548TA1 - message queue size: 476
     549TA1 - message queue size: 477
     550TA1 - message queue size: 478
     551TA1 - message queue size: 479
     552TA1 - message queue size: 480
     553TA1 - message queue size: 481
     554TA1 - message queue size: 482
     555TA1 - message queue size: 483
     556TA1 - message queue size: 484
     557TA1 - message queue size: 485
     558TA1 - message queue size: 486
     559TA1 - message queue size: 487
     560TA1 - message queue size: 488
     561TA1 - message queue size: 489
     562TA1 - message queue size: 490
     563TA1 - message queue size: 491
     564TA1 - message queue size: 492
     565TA1 - message queue size: 493
     566TA1 - message queue size: 494
     567TA1 - message queue size: 495
     568TA1 - message queue size: 496
     569TA1 - message queue size: 497
     570TA1 - message queue size: 498
     571TA1 - message queue size: 499
     572TA1 - message queue size: 500
     573TA1 - message queue size: 501
     574TA1 - message queue size: 502
     575TA1 - message queue size: 503
     576TA1 - message queue size: 504
     577TA1 - message queue size: 505
     578TA1 - message queue size: 506
     579TA1 - message queue size: 507
     580TA1 - message queue size: 508
     581TA1 - message queue size: 509
     582TA1 - message queue size: 510
     583TA1 - message queue size: 511
     584TA1 - message queue size: 512
     585TA1 - message queue size: 513
     586TA1 - message queue size: 514
     587TA1 - message queue size: 515
     588TA1 - message queue size: 516
     589TA1 - message queue size: 517
     590TA1 - message queue size: 518
     591TA1 - message queue size: 519
     592TA1 - message queue size: 520
     593TA1 - message queue size: 521
     594TA1 - message queue size: 522
     595TA1 - message queue size: 523
     596TA1 - message queue size: 524
     597TA1 - message queue size: 525
     598TA1 - message queue size: 526
     599TA1 - message queue size: 527
     600TA1 - message queue size: 528
     601TA1 - message queue size: 529
     602TA1 - message queue size: 530
     603TA1 - message queue size: 531
     604TA1 - message queue size: 532
     605TA1 - message queue size: 533
     606TA1 - message queue size: 534
     607TA1 - message queue size: 535
     608TA1 - message queue size: 536
     609TA1 - message queue size: 537
     610TA1 - message queue size: 538
     611TA1 - message queue size: 539
     612TA1 - message queue size: 540
     613TA1 - message queue size: 541
     614TA1 - message queue size: 542
     615TA1 - message queue size: 543
     616TA1 - message queue size: 544
     617TA1 - message queue size: 545
     618TA1 - message queue size: 546
     619TA1 - message queue size: 547
     620TA1 - message queue size: 548
     621TA1 - message queue size: 549
     622TA1 - message queue size: 550
     623TA1 - message queue size: 551
     624TA1 - message queue size: 552
     625TA1 - message queue size: 553
     626TA1 - message queue size: 554
     627TA1 - message queue size: 555
     628TA1 - message queue size: 556
     629TA1 - message queue size: 557
     630TA1 - message queue size: 558
     631TA1 - message queue size: 559
     632TA1 - message queue size: 560
     633TA1 - message queue size: 561
     634TA1 - message queue size: 562
     635TA1 - message queue size: 563
     636TA1 - message queue size: 564
     637TA1 - message queue size: 565
     638TA1 - message queue size: 566
     639TA1 - message queue size: 567
     640TA1 - message queue size: 568
     641TA1 - message queue size: 569
     642TA1 - message queue size: 570
     643TA1 - message queue size: 571
     644TA1 - message queue size: 572
     645TA1 - message queue size: 573
     646TA1 - message queue size: 574
     647TA1 - message queue size: 575
     648TA1 - message queue size: 576
     649TA1 - message queue size: 577
     650TA1 - message queue size: 578
     651TA1 - message queue size: 579
     652TA1 - message queue size: 580
     653TA1 - message queue size: 581
     654TA1 - message queue size: 582
     655TA1 - message queue size: 583
     656TA1 - message queue size: 584
     657TA1 - message queue size: 585
     658TA1 - message queue size: 586
     659TA1 - message queue size: 587
     660TA1 - message queue size: 588
     661TA1 - message queue size: 589
     662TA1 - message queue size: 590
     663TA1 - message queue size: 591
     664TA1 - message queue size: 592
     665TA1 - message queue size: 593
     666TA1 - message queue size: 594
     667TA1 - message queue size: 595
     668TA1 - message queue size: 596
     669TA1 - message queue size: 597
     670TA1 - message queue size: 598
     671TA1 - message queue size: 599
     672TA1 - message queue size: 600
     673TA1 - message queue size: 601
     674TA1 - message queue size: 602
     675TA1 - message queue size: 603
     676TA1 - message queue size: 604
     677TA1 - message queue size: 605
     678TA1 - message queue size: 606
     679TA1 - message queue size: 607
     680TA1 - message queue size: 608
     681TA1 - message queue size: 609
     682TA1 - message queue size: 610
     683TA1 - message queue size: 611
     684TA1 - message queue size: 612
     685TA1 - message queue size: 613
     686TA1 - message queue size: 614
     687TA1 - message queue size: 615
     688TA1 - message queue size: 616
     689TA1 - message queue size: 617
     690TA1 - message queue size: 618
     691TA1 - message queue size: 619
     692TA1 - message queue size: 620
     693TA1 - message queue size: 621
     694TA1 - message queue size: 622
     695TA1 - message queue size: 623
     696TA1 - message queue size: 624
     697TA1 - message queue size: 625
     698TA1 - message queue size: 626
     699TA1 - message queue size: 627
     700TA1 - message queue size: 628
     701TA1 - message queue size: 629
     702TA1 - message queue size: 630
     703TA1 - message queue size: 631
     704TA1 - message queue size: 632
     705TA1 - message queue size: 633
     706TA1 - message queue size: 634
     707TA1 - message queue size: 635
     708TA1 - message queue size: 636
     709TA1 - message queue size: 637
     710TA1 - message queue size: 638
     711TA1 - message queue size: 639
     712TA1 - message queue size: 640
     713TA1 - message queue size: 641
     714TA1 - message queue size: 642
     715TA1 - message queue size: 643
     716TA1 - message queue size: 644
     717TA1 - message queue size: 645
     718TA1 - message queue size: 646
     719TA1 - message queue size: 647
     720TA1 - message queue size: 648
     721TA1 - message queue size: 649
     722TA1 - message queue size: 650
     723TA1 - message queue size: 651
     724TA1 - message queue size: 652
     725TA1 - message queue size: 653
     726TA1 - message queue size: 654
     727TA1 - message queue size: 655
     728TA1 - message queue size: 656
     729TA1 - message queue size: 657
     730TA1 - message queue size: 658
     731TA1 - message queue size: 659
     732TA1 - message queue size: 660
     733TA1 - message queue size: 661
     734TA1 - message queue size: 662
     735TA1 - message queue size: 663
     736TA1 - message queue size: 664
     737TA1 - message queue size: 665
     738TA1 - message queue size: 666
     739TA1 - message queue size: 667
     740TA1 - message queue size: 668
     741TA1 - message queue size: 669
     742TA1 - message queue size: 670
     743TA1 - message queue size: 671
     744TA1 - message queue size: 672
     745TA1 - message queue size: 673
     746TA1 - message queue size: 674
     747TA1 - message queue size: 675
     748TA1 - message queue size: 676
     749TA1 - message queue size: 677
     750TA1 - message queue size: 678
     751TA1 - message queue size: 679
     752TA1 - message queue size: 680
     753TA1 - message queue size: 681
     754TA1 - message queue size: 682
     755TA1 - message queue size: 683
     756TA1 - message queue size: 684
     757TA1 - message queue size: 685
     758TA1 - message queue size: 686
     759TA1 - message queue size: 687
     760TA1 - message queue size: 688
     761TA1 - message queue size: 689
     762TA1 - message queue size: 690
     763TA1 - message queue size: 691
     764TA1 - message queue size: 692
     765TA1 - message queue size: 693
     766TA1 - message queue size: 694
     767TA1 - message queue size: 695
     768TA1 - message queue size: 696
     769TA1 - message queue size: 697
     770TA1 - message queue size: 698
     771TA1 - message queue size: 699
     772TA1 - message queue size: 700
     773TA1 - message queue size: 701
     774TA1 - message queue size: 702
     775TA1 - message queue size: 703
     776TA1 - message queue size: 704
     777TA1 - message queue size: 705
     778TA1 - message queue size: 706
     779TA1 - message queue size: 707
     780TA1 - message queue size: 708
     781TA1 - message queue size: 709
     782TA1 - message queue size: 710
     783TA1 - message queue size: 711
     784TA1 - message queue size: 712
     785TA1 - message queue size: 713
     786TA1 - message queue size: 714
     787TA1 - message queue size: 715
     788TA1 - message queue size: 716
     789TA1 - message queue size: 717
     790TA1 - message queue size: 718
     791TA1 - message queue size: 719
     792TA1 - message queue size: 720
     793TA1 - message queue size: 721
     794TA1 - message queue size: 722
     795TA1 - message queue size: 723
     796TA1 - message queue size: 724
     797TA1 - message queue size: 725
     798TA1 - message queue size: 726
     799TA1 - message queue size: 727
     800TA1 - message queue size: 728
     801TA1 - message queue size: 729
     802TA1 - message queue size: 730
     803TA1 - message queue size: 731
     804TA1 - message queue size: 732
     805TA1 - message queue size: 733
     806TA1 - message queue size: 734
     807TA1 - message queue size: 735
     808TA1 - message queue size: 736
     809TA1 - message queue size: 737
     810TA1 - message queue size: 738
     811TA1 - message queue size: 739
     812TA1 - message queue size: 740
     813TA1 - message queue size: 741
     814TA1 - message queue size: 742
     815TA1 - message queue size: 743
     816TA1 - message queue size: 744
     817TA1 - message queue size: 745
     818TA1 - message queue size: 746
     819TA1 - message queue size: 747
     820TA1 - message queue size: 748
     821TA1 - message queue size: 749
     822TA1 - message queue size: 750
     823TA1 - message queue size: 751
     824TA1 - message queue size: 752
     825TA1 - message queue size: 753
     826TA1 - message queue size: 754
     827TA1 - message queue size: 755
     828TA1 - message queue size: 756
     829TA1 - message queue size: 757
     830TA1 - message queue size: 758
     831TA1 - message queue size: 759
     832TA1 - message queue size: 760
     833TA1 - message queue size: 761
     834TA1 - message queue size: 762
     835TA1 - message queue size: 763
     836TA1 - message queue size: 764
     837TA1 - message queue size: 765
     838TA1 - message queue size: 766
     839TA1 - message queue size: 767
     840TA1 - message queue size: 768
     841TA1 - message queue size: 769
     842TA1 - message queue size: 770
     843TA1 - message queue size: 771
     844TA1 - message queue size: 772
     845TA1 - message queue size: 773
     846TA1 - message queue size: 774
     847TA1 - message queue size: 775
     848TA1 - message queue size: 776
     849TA1 - message queue size: 777
     850TA1 - message queue size: 778
     851TA1 - message queue size: 779
     852TA1 - message queue size: 780
     853TA1 - message queue size: 781
     854TA1 - message queue size: 782
     855TA1 - message queue size: 783
     856TA1 - message queue size: 784
     857TA1 - message queue size: 785
     858TA1 - message queue size: 786
     859TA1 - message queue size: 787
     860TA1 - message queue size: 788
     861TA1 - message queue size: 789
     862TA1 - message queue size: 790
     863TA1 - message queue size: 791
     864TA1 - message queue size: 792
     865TA1 - message queue size: 793
     866TA1 - message queue size: 794
     867TA1 - message queue size: 795
     868TA1 - message queue size: 796
     869TA1 - message queue size: 797
     870TA1 - message queue size: 798
     871TA1 - message queue size: 799
     872TA1 - message queue size: 800
     873TA1 - message queue size: 801
     874TA1 - message queue size: 802
     875TA1 - message queue size: 803
     876TA1 - message queue size: 804
     877TA1 - message queue size: 805
     878TA1 - message queue size: 806
     879TA1 - message queue size: 807
     880TA1 - message queue size: 808
     881TA1 - message queue size: 809
     882TA1 - message queue size: 810
     883TA1 - message queue size: 811
     884TA1 - message queue size: 812
     885TA1 - message queue size: 813
     886TA1 - message queue size: 814
     887TA1 - message queue size: 815
     888TA1 - message queue size: 816
     889TA1 - message queue size: 817
     890TA1 - message queue size: 818
     891TA1 - message queue size: 819
     892TA1 - message queue size: 820
     893TA1 - message queue size: 821
     894TA1 - message queue size: 822
     895TA1 - message queue size: 823
     896TA1 - message queue size: 824
     897TA1 - message queue size: 825
     898TA1 - message queue size: 826
     899TA1 - message queue size: 827
     900TA1 - message queue size: 828
     901TA1 - message queue size: 829
     902TA1 - message queue size: 830
     903TA1 - message queue size: 831
     904TA1 - message queue size: 832
     905TA1 - message queue size: 833
     906TA1 - message queue size: 834
     907TA1 - message queue size: 835
     908TA1 - message queue size: 836
     909TA1 - message queue size: 837
     910TA1 - message queue size: 838
     911TA1 - message queue size: 839
     912TA1 - message queue size: 840
     913TA1 - message queue size: 841
     914TA1 - message queue size: 842
     915TA1 - message queue size: 843
     916TA1 - message queue size: 844
     917TA1 - message queue size: 845
     918TA1 - message queue size: 846
     919TA1 - message queue size: 847
     920TA1 - message queue size: 848
     921TA1 - message queue size: 849
     922TA1 - message queue size: 850
     923TA1 - message queue size: 851
     924TA1 - message queue size: 852
     925TA1 - message queue size: 853
     926TA1 - message queue size: 854
     927TA1 - message queue size: 855
     928TA1 - message queue size: 856
     929TA1 - message queue size: 857
     930TA1 - message queue size: 858
     931TA1 - message queue size: 859
     932TA1 - message queue size: 860
     933TA1 - message queue size: 861
     934TA1 - message queue size: 862
     935TA1 - message queue size: 863
     936TA1 - message queue size: 864
     937TA1 - message queue size: 865
     938TA1 - message queue size: 866
     939TA1 - message queue size: 867
     940TA1 - message queue size: 868
     941TA1 - message queue size: 869
     942TA1 - message queue size: 870
     943TA1 - message queue size: 871
     944TA1 - message queue size: 872
     945TA1 - message queue size: 873
     946TA1 - message queue size: 874
     947TA1 - message queue size: 875
     948TA1 - message queue size: 876
     949TA1 - message queue size: 877
     950TA1 - message queue size: 878
     951TA1 - message queue size: 879
     952TA1 - message queue size: 880
     953TA1 - message queue size: 881
     954TA1 - message queue size: 882
     955TA1 - message queue size: 883
     956TA1 - message queue size: 884
     957TA1 - message queue size: 885
     958TA1 - message queue size: 886
     959TA1 - message queue size: 887
     960TA1 - message queue size: 888
     961TA1 - message queue size: 889
     962TA1 - message queue size: 890
     963TA1 - message queue size: 891
     964TA1 - message queue size: 892
     965TA1 - message queue size: 893
     966TA1 - message queue size: 894
     967TA1 - message queue size: 895
     968TA1 - message queue size: 896
     969TA1 - message queue size: 897
     970TA1 - message queue size: 898
     971TA1 - message queue size: 899
     972TA1 - message queue size: 900
     973TA1 - message queue size: 901
     974TA1 - message queue size: 902
     975TA1 - message queue size: 903
     976TA1 - message queue size: 904
     977TA1 - message queue size: 905
     978TA1 - message queue size: 906
     979TA1 - message queue size: 907
     980TA1 - message queue size: 908
     981TA1 - message queue size: 909
     982TA1 - message queue size: 910
     983TA1 - message queue size: 911
     984TA1 - message queue size: 912
     985TA1 - message queue size: 913
     986TA1 - message queue size: 914
     987TA1 - message queue size: 915
     988TA1 - message queue size: 916
     989TA1 - message queue size: 917
     990TA1 - message queue size: 918
     991TA1 - message queue size: 919
     992TA1 - message queue size: 920
     993TA1 - message queue size: 921
     994TA1 - message queue size: 922
     995TA1 - message queue size: 923
     996TA1 - message queue size: 924
     997TA1 - message queue size: 925
     998TA1 - message queue size: 926
     999TA1 - message queue size: 927
     1000TA1 - message queue size: 928
     1001TA1 - message queue size: 929
     1002TA1 - message queue size: 930
     1003TA1 - message queue size: 931
     1004TA1 - message queue size: 932
     1005TA1 - message queue size: 933
     1006TA1 - message queue size: 934
     1007TA1 - message queue size: 935
     1008TA1 - message queue size: 936
     1009TA1 - message queue size: 937
     1010TA1 - message queue size: 938
     1011TA1 - message queue size: 939
     1012TA1 - message queue size: 940
     1013TA1 - message queue size: 941
     1014TA1 - message queue size: 942
     1015TA1 - message queue size: 943
     1016TA1 - message queue size: 944
     1017TA1 - message queue size: 945
     1018TA1 - message queue size: 946
     1019TA1 - message queue size: 947
     1020TA1 - message queue size: 948
     1021TA1 - message queue size: 949
     1022TA1 - message queue size: 950
     1023TA1 - message queue size: 951
     1024TA1 - message queue size: 952
     1025TA1 - message queue size: 953
     1026TA1 - message queue size: 954
     1027TA1 - message queue size: 955
     1028TA1 - message queue size: 956
     1029TA1 - message queue size: 957
     1030TA1 - message queue size: 958
     1031TA1 - message queue size: 959
     1032TA1 - message queue size: 960
     1033TA1 - message queue size: 961
     1034TA1 - message queue size: 962
     1035TA1 - message queue size: 963
     1036TA1 - message queue size: 964
     1037TA1 - message queue size: 965
     1038TA1 - message queue size: 966
     1039TA1 - message queue size: 967
     1040TA1 - message queue size: 968
     1041TA1 - message queue size: 969
     1042TA1 - message queue size: 970
     1043TA1 - message queue size: 971
     1044TA1 - message queue size: 972
     1045TA1 - message queue size: 973
     1046TA1 - message queue size: 974
     1047TA1 - message queue size: 975
     1048TA1 - message queue size: 976
     1049TA1 - message queue size: 977
     1050TA1 - message queue size: 978
     1051TA1 - message queue size: 979
     1052TA1 - message queue size: 980
     1053TA1 - message queue size: 981
     1054TA1 - message queue size: 982
     1055TA1 - message queue size: 983
     1056TA1 - message queue size: 984
     1057TA1 - message queue size: 985
     1058TA1 - message queue size: 986
     1059TA1 - message queue size: 987
     1060TA1 - message queue size: 988
     1061TA1 - message queue size: 989
     1062TA1 - message queue size: 990
     1063TA1 - message queue size: 991
     1064TA1 - message queue size: 992
     1065TA1 - message queue size: 993
     1066TA1 - message queue size: 994
     1067TA1 - message queue size: 995
     1068TA1 - message queue size: 996
     1069TA1 - message queue size: 997
     1070TA1 - message queue size: 998
     1071TA1 - message queue size: 999
     1072TA1 - message queue size: 1000
     1073TA1 - message queue size: 1001
     1074TA1 - message queue size: 1002
     1075TA1 - message queue size: 1003
     1076TA1 - message queue size: 1004
     1077TA1 - message queue size: 1005
     1078TA1 - message queue size: 1006
     1079TA1 - message queue size: 1007
     1080TA1 - message queue size: 1008
     1081TA1 - message queue size: 1009
     1082TA1 - message queue size: 1010
     1083TA1 - message queue size: 1011
     1084TA1 - message queue size: 1012
     1085TA1 - message queue size: 1013
     1086TA1 - message queue size: 1014
     1087TA1 - message queue size: 1015
     1088TA1 - message queue size: 1016
     1089TA1 - message queue size: 1017
     1090TA1 - message queue size: 1018
     1091TA1 - message queue size: 1019
     1092TA1 - message queue size: 1020
     1093TA1 - message queue size: 1021
     1094TA1 - message queue size: 1022
     1095TA1 - message queue size: 1023
     1096TA1 - message queue size: 1024
     1097TA1 - message queue size: 1025
     1098TA1 - message queue size: 1026
     1099TA1 - message queue size: 1027
     1100TA1 - message queue size: 1028
     1101TA1 - message queue size: 1029
    661102*** END OF TEST 13 ***
  • testsuites/sptests/sp13/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:10:19 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp13/task1.c

    r556fb911 r4b374f36  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  $Id$
     18 *  task1.c,v 1.2 1995/05/31 17:10:20 joel Exp
    1919 */
    2020
    2121#include "system.h"
     22#include <string.h>             /* for memcmp */
    2223
    2324extern rtems_configuration_table BSP_Configuration;
     25
     26char    big_send_buffer[2048];
     27char    big_receive_buffer[2048];
     28
     29long    buffer[ 4 ];
     30
     31void dope_buffer(unsigned char *buff,
     32                 int   buff_size,
     33                 unsigned32 v)
     34{
     35    int i;
     36    unsigned char ch;
     37
     38    ch = (' ' + (v % (0x7f - ' ')));
     39   
     40    for (i=0; i<buff_size; i++)
     41    {
     42        *buff++ = ch++;
     43        if (ch >= 0x7f)
     44            ch = ' ';
     45    }
     46}
    2447
    2548rtems_task Task_1(
     
    2851{
    2952  rtems_id          qid;
    30   long              buffer[ 4 ];
    3153  rtems_unsigned32  index;
    3254  rtems_unsigned32  count;
    3355  rtems_status_code status;
    34 
     56  rtems_unsigned32  size;
     57  rtems_unsigned32  queue_size;
     58  char             *cp;
     59 
    3560  status = rtems_message_queue_ident(
    3661    Queue_name[ 1 ],
     
    4368  Fill_buffer( "BUFFER 1 TO Q 1", buffer );
    4469  puts( "TA1 - rtems_message_queue_send - BUFFER 1 TO Q 1" );
    45   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer );
     70  status = rtems_message_queue_send( Queue_id[ 1 ], buffer, 16 );
    4671  directive_failed( status, "rtems_message_queue_send" );
    4772
    4873  Fill_buffer( "BUFFER 2 TO Q 1", buffer );
    4974  puts( "TA1 - rtems_message_queue_send - BUFFER 2 TO Q 1" );
    50   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer );
     75  status = rtems_message_queue_send( Queue_id[ 1 ], buffer, 16 );
    5176  directive_failed( status, "rtems_message_queue_send" );
    5277
     
    5782  Fill_buffer( "BUFFER 3 TO Q 1", buffer );
    5883  puts( "TA1 - rtems_message_queue_send - BUFFER 3 TO Q 1" );
    59   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer );
     84  status = rtems_message_queue_send( Queue_id[ 1 ], buffer, 16 );
    6085  directive_failed( status, "rtems_message_queue_send" );
    6186
     
    6893  Fill_buffer( "BUFFER 1 TO Q 2", buffer );
    6994  puts( "TA1 - rtems_message_queue_send - BUFFER 1 TO Q 2" );
    70   status = rtems_message_queue_send( Queue_id[ 2 ], (long (*)[4])buffer );
     95  status = rtems_message_queue_send( Queue_id[ 2 ], buffer, 16 );
    7196  directive_failed( status, "rtems_message_queue_send" );
    7297
     
    75100  status = rtems_message_queue_receive(
    76101    Queue_id[ 1 ],
    77     (long (*)[4])buffer,
     102    buffer,
     103    &size,
    78104    RTEMS_DEFAULT_OPTIONS,
    79105    10 * TICKS_PER_SECOND
     
    90116  Fill_buffer( "BUFFER 1 TO Q 3", buffer );
    91117  puts( "TA1 - rtems_message_queue_send - BUFFER 1 TO Q 3" );
    92   status = rtems_message_queue_send( Queue_id[ 3 ], (long (*)[4])buffer );
     118  status = rtems_message_queue_send( Queue_id[ 3 ], buffer, 16 );
    93119  directive_failed( status, "rtems_message_queue_send" );
    94120
     
    101127  Fill_buffer( "BUFFER 2 TO Q 3", buffer );
    102128  puts( "TA1 - rtems_message_queue_send - BUFFER 2 TO Q 3" );
    103   status = rtems_message_queue_send( Queue_id[ 3 ], (long (*)[4])buffer );
     129  status = rtems_message_queue_send( Queue_id[ 3 ], buffer, 16 );
    104130  directive_failed( status, "rtems_message_queue_send" );
    105131
    106132  Fill_buffer( "BUFFER 3 TO Q 3", buffer );
    107133  puts( "TA1 - rtems_message_queue_send - BUFFER 3 TO Q 3" );
    108   status = rtems_message_queue_send( Queue_id[ 3 ], (long (*)[4])buffer );
     134  status = rtems_message_queue_send( Queue_id[ 3 ], buffer, 16 );
    109135  directive_failed( status, "rtems_message_queue_send" );
    110136
    111137  Fill_buffer( "BUFFER 4 TO Q 3", buffer );
    112138  puts( "TA1 - rtems_message_queue_send - BUFFER 4 TO Q 3" );
    113   status = rtems_message_queue_send( Queue_id[ 3 ], (long (*)[4])buffer );
     139  status = rtems_message_queue_send( Queue_id[ 3 ], buffer, 16 );
    114140  directive_failed( status, "rtems_message_queue_send" );
    115141
    116142  Fill_buffer( "BUFFER 5 TO Q 3", buffer );
    117143  puts( "TA1 - rtems_message_queue_urgent - BUFFER 5 TO Q 3" );
    118   status = rtems_message_queue_urgent( Queue_id[ 3 ], (long (*)[4])buffer );
     144  status = rtems_message_queue_urgent( Queue_id[ 3 ], buffer, 16 );
    119145  directive_failed( status, "rtems_message_queue_urgent" );
    120146
     
    126152    status = rtems_message_queue_receive(
    127153      Queue_id[ 3 ],
    128       (long (*)[4])buffer,
     154      buffer,
     155      &size,
    129156      RTEMS_DEFAULT_OPTIONS,
    130157      RTEMS_NO_TIMEOUT
     
    138165  Fill_buffer( "BUFFER 3 TO Q 2", buffer );
    139166  puts( "TA1 - rtems_message_queue_urgent - BUFFER 3 TO Q 2" );
    140   status = rtems_message_queue_urgent( Queue_id[ 2 ], (long (*)[4])buffer );
     167  status = rtems_message_queue_urgent( Queue_id[ 2 ], buffer, 16 );
    141168  directive_failed( status, "rtems_message_queue_urgent" );
    142169
     
    147174  status = rtems_message_queue_receive(
    148175    Queue_id[ 2 ],
    149     (long (*)[4])buffer,
     176    buffer,
     177    &size,
    150178    RTEMS_DEFAULT_OPTIONS,
    151179    RTEMS_NO_TIMEOUT
     
    164192  Fill_buffer( "BUFFER 3 TO Q 2", buffer );
    165193  puts( "TA1 - rtems_message_queue_urgent - BUFFER 3 TO Q 2" );
    166   status = rtems_message_queue_urgent( Queue_id[ 2 ], (long (*)[4])buffer );
     194  status = rtems_message_queue_urgent( Queue_id[ 2 ], buffer, 16 );
    167195  directive_failed( status, "rtems_message_queue_urgent" );
    168196
     
    177205  Fill_buffer( "BUFFER 1 TO Q 3", buffer );
    178206  puts( "TA1 - rtems_message_queue_send - BUFFER 1 TO Q 3" );
    179   status = rtems_message_queue_send( Queue_id[ 3 ], (long (*)[4])buffer );
     207  status = rtems_message_queue_send( Queue_id[ 3 ], buffer, 16 );
    180208  directive_failed( status, "rtems_message_queue_send" );
    181209
    182210  Fill_buffer( "BUFFER 2 TO Q 3", buffer );
    183211  puts( "TA1 - rtems_message_queue_send - BUFFER 2 TO Q 3" );
    184   status = rtems_message_queue_send( Queue_id[ 3 ], (long (*)[4])buffer );
     212  status = rtems_message_queue_send( Queue_id[ 3 ], buffer, 16 );
    185213  directive_failed( status, "rtems_message_queue_send" );
    186214
    187215  Fill_buffer( "BUFFER 3 TO Q 3", buffer );
    188216  puts( "TA1 - rtems_message_queue_send - BUFFER 3 TO Q 3" );
    189   status = rtems_message_queue_send( Queue_id[ 3 ], (long (*)[4])buffer );
     217  status = rtems_message_queue_send( Queue_id[ 3 ], buffer, 16 );
    190218  directive_failed( status, "rtems_message_queue_send" );
    191219
     
    196224  puts( "TA1 - rtems_message_queue_send until all message buffers consumed" );
    197225  while ( FOREVER ) {
    198     status = rtems_message_queue_send( Queue_id[ 3 ], (long (*)[4])buffer );
    199     if ( status == RTEMS_UNSATISFIED ) break;
     226    status = rtems_message_queue_send( Queue_id[ 3 ], buffer, 16 );
     227    if ( status == RTEMS_TOO_MANY ) break;
    200228    directive_failed( status, "rtems_message_queue_send loop" );
    201229  }
     
    206234  printf( "TA1 - %d messages were flushed from Q 3\n", count );
    207235
    208   if ( count != BSP_Configuration.maximum_messages )
    209     printf( "TA1 - ERROR - %d messages flushed!!!", count );
    210 
     236pause();
     237
     238  puts( "TA1 - create message queue of 20 bytes on queue 1" );
     239  status = rtems_message_queue_create(
     240    Queue_name[ 1 ],
     241    100,
     242    20,
     243    RTEMS_DEFAULT_ATTRIBUTES,
     244    &Queue_id[ 1 ]
     245  );
     246  directive_failed( status, "rtems_message_queue_create of Q1; 20 bytes each" );
     247  status = rtems_message_queue_send( Queue_id[ 3 ], big_send_buffer, 40 );
     248  fatal_directive_status(status, RTEMS_INVALID_SIZE, "expected RTEMS_INVALID_SIZE");
     249 
     250  puts( "TA1 - rtems_message_queue_delete - delete queue 1" );
     251  status = rtems_message_queue_delete( Queue_id[ 1 ] );
     252  directive_failed( status, "rtems_message_queue_delete" );
     253
     254pause();
     255 
     256  puts( "TA1 - rtems_message_queue_create - variable sizes " );
     257  for (queue_size = 1; queue_size < 1030; queue_size++)
     258  {
     259      status = rtems_message_queue_create(
     260          Queue_name[ 1 ],
     261          2,            /* just 2 msgs each */
     262          queue_size,
     263          RTEMS_DEFAULT_ATTRIBUTES,
     264          &Queue_id[ 1 ]
     265          );
     266      if (status != RTEMS_SUCCESSFUL)
     267      {
     268          printf("TA1 - msq que size: %d\n", queue_size);
     269          directive_failed( status, "rtems_message_queue_create of Q1" );
     270      }
     271
     272      status = rtems_message_queue_delete( Queue_id[ 1 ] );
     273      directive_failed( status, "rtems_message_queue_delete" );
     274  }
     275 
     276pause();
     277 
     278  puts( "TA1 - rtems_message_queue_create and send - variable sizes " );
     279  for (queue_size = 1; queue_size < 1030; queue_size++)
     280  {
     281      printf("TA1 - message queue size: %d\n", queue_size);
     282
     283      status = rtems_message_queue_create(
     284          Queue_name[ 1 ],
     285          2,            /* just 2 msgs each */
     286          queue_size,
     287          RTEMS_DEFAULT_ATTRIBUTES,
     288          &Queue_id[ 1 ]
     289          );
     290
     291      directive_failed( status, "rtems_message_queue_create of Q1" );
     292
     293      dope_buffer(big_send_buffer, sizeof(big_send_buffer), queue_size);
     294      memset(big_receive_buffer, 'Z', sizeof(big_receive_buffer));
     295
     296      /* send a msg too big */
     297      status = rtems_message_queue_send( Queue_id[ 1 ],
     298                                         big_send_buffer,
     299                                         queue_size + 1 );
     300
     301      fatal_directive_status(status,
     302                             RTEMS_INVALID_SIZE,
     303                             "rtems_message_queue_send too large");
     304
     305      /* send a msg that is just right */
     306      status = rtems_message_queue_send(Queue_id[ 1 ],
     307                                        big_send_buffer,
     308                                        queue_size);
     309      directive_failed(status, "rtems_message_queue_send exact size");
     310
     311      /* now read and verify the message just sent */
     312      status = rtems_message_queue_receive(Queue_id[ 1 ],
     313                                           big_receive_buffer,
     314                                           &size,
     315                                           RTEMS_DEFAULT_OPTIONS,
     316                                           1 * TICKS_PER_SECOND);
     317      directive_failed(status, "rtems_message_queue_receive exact size");
     318      if (size != queue_size)
     319      {
     320          puts("TA1 - exact size size match failed");
     321          exit(1);
     322      }
     323
     324      if (memcmp(big_send_buffer, big_receive_buffer, size) != 0)
     325      {
     326          puts("TA1 - exact size data match failed");
     327          exit(1);
     328      }
     329
     330      for (cp = (big_receive_buffer + size);
     331           cp < (big_receive_buffer + sizeof(big_receive_buffer));
     332           cp++)
     333          if (*cp != 'Z')
     334          {
     335              puts("TA1 - exact size overrun match failed");
     336              exit(1);
     337          }
     338         
     339      /* all done with this one; delete it */
     340      status = rtems_message_queue_delete( Queue_id[ 1 ] );
     341      directive_failed( status, "rtems_message_queue_delete" );
     342  }
     343 
    211344  puts( "*** END OF TEST 13 ***" );
    212345  exit( 0 );
  • testsuites/sptests/sp13/task2.c

    r556fb911 r4b374f36  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  $Id$
     19 *  task2.c,v 1.2 1995/05/31 17:10:22 joel Exp
    2020 */
    2121
     
    2727{
    2828  long                buffer[ 4 ];
     29  rtems_unsigned32    size;
    2930  rtems_task_priority previous_priority;
    3031  rtems_status_code   status;
     
    3637    Queue_id[ 1 ],
    3738    (long (*)[4])buffer,
     39    &size,
    3840    RTEMS_NO_WAIT,
    3941    RTEMS_NO_TIMEOUT
     
    5153    Queue_id[ 1 ],
    5254    (long (*)[4])buffer,
     55    &size,
    5356    RTEMS_DEFAULT_OPTIONS,
    5457    RTEMS_NO_TIMEOUT
     
    6669    Queue_id[ 1 ],
    6770    (long (*)[4])buffer,
     71    &size,
    6872    RTEMS_DEFAULT_OPTIONS,
    6973    RTEMS_NO_TIMEOUT
     
    8589    Queue_id[ 2 ],
    8690    (long (*)[4])buffer,
     91    &size,
    8792    RTEMS_DEFAULT_OPTIONS,
    8893    RTEMS_NO_TIMEOUT
     
    97102  directive_failed( status, "rtems_message_queue_send" );
    98103
    99   status = rtems_message_queue_send( Queue_id[ 2 ], (long (*)[4])buffer );
     104  status = rtems_message_queue_send( Queue_id[ 2 ], (long (*)[4])buffer, 16 );
    100105  directive_failed( status, "rtems_message_queue_send" );
    101106
     
    107112    Queue_id[ 1 ],
    108113    (long (*)[4])buffer,
     114    &size,
    109115    RTEMS_DEFAULT_OPTIONS,
    110116    10 * TICKS_PER_SECOND
     
    122128    Queue_id[ 3 ],
    123129    (long (*)[4])buffer,
     130    &size,
    124131    RTEMS_DEFAULT_OPTIONS,
    125132    RTEMS_NO_TIMEOUT
  • testsuites/sptests/sp13/task3.c

    r556fb911 r4b374f36  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  $Id$
     19 *  task3.c,v 1.2 1995/05/31 17:10:24 joel Exp
    2020 */
    2121
     
    2727{
    2828  long              buffer[ 4 ];
     29  rtems_unsigned32  size;
    2930  rtems_unsigned32  count;
    3031  rtems_status_code status;
     
    3738    Queue_id[ 2 ],
    3839    (long (*)[4])buffer,
     40    &size,
    3941    RTEMS_DEFAULT_OPTIONS,
    4042    RTEMS_NO_TIMEOUT
     
    5052    Queue_id[ 1 ],
    5153    (long (*)[4])buffer,
     54    16,
    5255    &count
    5356  );
     
    6164    Queue_id[ 3 ],
    6265    (long (*)[4])buffer,
     66    &size,
    6367    RTEMS_DEFAULT_OPTIONS,
    6468    RTEMS_NO_TIMEOUT
  • testsuites/sptests/sp14/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:10:37 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp15/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:10:52 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp16/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:11:05 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp17/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:11:26 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp19/fptest.h

    r556fb911 r4b374f36  
    2323 *  notice must appear in all copies of this file and its derivatives.
    2424 *
    25  *  $Id$
     25 *  fptest.h,v 1.2 1995/05/31 17:11:39 joel Exp
    2626 */
    2727
  • testsuites/sptests/sp19/inttest.h

    r556fb911 r4b374f36  
    2424 *  notice must appear in all copies of this file and its derivatives.
    2525 *
    26  *  $Id$
     26 *  inttest.h,v 1.2 1995/05/31 17:11:44 joel Exp
    2727 */
    2828
  • testsuites/sptests/sp19/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:11:47 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp20/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:12:02 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp21/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:12:14 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp21/task1.c

    r556fb911 r4b374f36  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  $Id$
     18 *  task1.c,v 1.3 1995/05/31 17:37:05 joel Exp
    1919 */
    2020
     
    3030{
    3131  rtems_status_code status;
    32   rtems_status_code return_value;
    3332
    3433  puts( "-----  TESTING THE NULL DRIVER CHECKS  -----" );
    3534
    36   status = rtems_io_initialize( NO_DRIVER_MAJOR, 0, NULL, &return_value );
     35  status = rtems_io_initialize( NO_DRIVER_MAJOR, 0, NULL );
    3736  directive_failed( status, "rtems_io_initialize" );
    3837  puts( "TA1 - rtems_io_initialize  - NULL DRIVER RTEMS_SUCCESSFUL" );
    3938
    40   status = rtems_io_open( NO_DRIVER_MAJOR, 0, NULL, &return_value );
     39  status = rtems_io_open( NO_DRIVER_MAJOR, 0, NULL );
    4140  directive_failed( status, "rtems_io_open" );
    4241  puts( "TA1 - rtems_io_open        - NULL DRIVER RTEMS_SUCCESSFUL" );
    4342
    44   status = rtems_io_close( NO_DRIVER_MAJOR, 0, NULL, &return_value );
     43  status = rtems_io_close( NO_DRIVER_MAJOR, 0, NULL );
    4544  directive_failed( status, "rtems_io_close" );
    4645  puts( "TA1 - rtems_io_close       - NULL DRIVER RTEMS_SUCCESSFUL" );
    4746
    48   status = rtems_io_read( NO_DRIVER_MAJOR, 0, NULL, &return_value );
     47  status = rtems_io_read( NO_DRIVER_MAJOR, 0, NULL );
    4948  directive_failed( status, "rtems_io_read" );
    5049  puts( "TA1 - rtems_io_read        - NULL DRIVER RTEMS_SUCCESSFUL" );
    5150
    52   status = rtems_io_write( NO_DRIVER_MAJOR, 0, NULL, &return_value );
     51  status = rtems_io_write( NO_DRIVER_MAJOR, 0, NULL );
    5352  directive_failed( status, "rtems_io_write" );
    5453  puts( "TA1 - rtems_io_write       - NULL DRIVER RTEMS_SUCCESSFUL" );
    5554
    56   status = rtems_io_control( NO_DRIVER_MAJOR, 0, NULL, &return_value );
     55  status = rtems_io_control( NO_DRIVER_MAJOR, 0, NULL );
    5756  directive_failed( status, "rtems_io_control" );
    5857  puts( "TA1 - rtems_io_control     - NULL DRIVER RTEMS_SUCCESSFUL" );
     
    6059  puts( "-----  TESTING THE I/O MANAGER DIRECTIVES  -----" );
    6160
    62   status = rtems_io_initialize( STUB_DRIVER_MAJOR, 0, NULL, &return_value );
     61  status = rtems_io_initialize( STUB_DRIVER_MAJOR, 0, NULL );
    6362  directive_failed( status, "rtems_io_initialize" );
    6463  puts( "TA1 - rtems_io_initialize  - STUB DRIVER RTEMS_SUCCESSFUL" );
    6564
    66   status = rtems_io_open( STUB_DRIVER_MAJOR, 0, NULL, &return_value );
     65  status = rtems_io_open( STUB_DRIVER_MAJOR, 0, NULL );
    6766  directive_failed( status, "rtems_io_open" );
    6867  puts( "TA1 - rtems_io_open        - STUB DRIVER RTEMS_SUCCESSFUL" );
    6968
    70   status = rtems_io_close( STUB_DRIVER_MAJOR, 0, NULL, &return_value );
     69  status = rtems_io_close( STUB_DRIVER_MAJOR, 0, NULL );
    7170  directive_failed( status, "rtems_io_close" );
    7271  puts( "TA1 - rtems_io_close       - STUB DRIVER RTEMS_SUCCESSFUL" );
    7372
    74   status = rtems_io_read( STUB_DRIVER_MAJOR, 0, NULL, &return_value );
     73  status = rtems_io_read( STUB_DRIVER_MAJOR, 0, NULL );
    7574  directive_failed( status, "rtems_io_read" );
    7675  puts( "TA1 - rtems_io_read        - STUB DRIVER RTEMS_SUCCESSFUL" );
    7776
    78   status = rtems_io_write( STUB_DRIVER_MAJOR, 0, NULL, &return_value );
     77  status = rtems_io_write( STUB_DRIVER_MAJOR, 0, NULL );
    7978  directive_failed( status, "rtems_io_write" );
    8079  puts( "TA1 - rtems_io_write       - STUB DRIVER RTEMS_SUCCESSFUL" );
    8180
    82   status = rtems_io_control( STUB_DRIVER_MAJOR, 0, NULL, &return_value );
     81  status = rtems_io_control( STUB_DRIVER_MAJOR, 0, NULL );
    8382  directive_failed( status, "rtems_io_control" );
    8483  puts( "TA1 - rtems_io_control     - STUB DRIVER RTEMS_SUCCESSFUL" );
     
    8685  puts( "-----  RETURNING INVALID MAJOR NUMBER -----" );
    8786
    88   status = rtems_io_initialize( INVALID_DRIVER_MAJOR, 0, NULL, &return_value );
     87  status = rtems_io_initialize( INVALID_DRIVER_MAJOR, 0, NULL );
    8988  fatal_directive_status(
    9089    status,
     
    9493  puts( "TA1 - rtems_io_initialize  - RTEMS_INVALID_NUMBER" );
    9594
    96   status = rtems_io_open( INVALID_DRIVER_MAJOR, 0, NULL, &return_value );
     95  status = rtems_io_open( INVALID_DRIVER_MAJOR, 0, NULL );
    9796  fatal_directive_status(
    9897    status,
  • testsuites/sptests/sp22/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:12:31 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp23/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:12:45 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp24/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:13:00 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/sp25/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:13:11 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/spfatal/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:13:28 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/sptests/spsize/size.c

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  size.c,v 1.4 1995/07/12 19:47:25 joel Exp
    1515 */
    1616
     
    6767#define PER_MSGQ      \
    6868     (sizeof (Message_queue_Control) + NAME_PTR_SIZE)
    69 #define PER_MSG       \
     69#define PER_MSG_OVERHEAD       \
    7070     (sizeof (Message_queue_Buffer_control))
    7171#define PER_REGN      \
     
    241241                (sizeof _ISR_Signals_to_thread_executing) +
    242242
    243 /*message.h*/   (sizeof _Message_queue_Inactive_messages) +
    244                 (sizeof _Message_queue_Information)       +
     243/*message.h*/   (sizeof _Message_queue_Information)       +
    245244
    246245/*modes.h*/     0                                         +
     
    423422int maximum_timers, size_timers;
    424423int maximum_msgqs, size_msgqs;
    425 int maximum_msgs, size_msgs;
     424int maximum_msgs, size_msgs_overhead;
    426425int maximum_regns, size_regns;
    427426int maximum_parts, size_parts;
     
    458457printf( "What is maximum_messages? " );
    459458maximum_msgs = getint();
    460 size_msgs = PER_MSG * maximum_msgs;
    461 total_size += size_msgs;
     459size_msgs_overhead = PER_MSG_OVERHEAD * maximum_msgs;
     460total_size += size_msgs_overhead;
    462461
    463462printf( "What is maximum_regions? " );
     
    546545printf( " Msg Queues           - %03d * %03d            =  %d\n",
    547546          maximum_msgqs, PER_MSGQ, size_msgqs );
    548 printf( " Messages             - %03d * %03d            =  %d\n",
    549           maximum_msgs, PER_MSG, size_msgs );
     547printf( " Messages Overhead    - %03d * %03d            =  %d\n",
     548          maximum_msgs, PER_MSG_OVERHEAD, size_msgs_overhead );
    550549printf( " Regions              - %03d * %03d            =  %d\n",
    551550          maximum_regns, PER_REGN, size_regns);
     
    587586printf( " Semaphores           - maximum_semaphores * %d\n", PER_SEMAPHORE);
    588587printf( " Message Queues       - maximum_message_queues * %d\n", PER_MSGQ );
    589 printf( " Messages             - maximum_messages * %d\n",   PER_MSG );
     588printf( " Messages             -\n");
    590589printf( " Regions              - maximum_regions * %d\n",    PER_REGN );
    591590printf( " Partitions           - maximum_partitions * %d\n", PER_PART );
Note: See TracChangeset for help on using the changeset viewer.