summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/tmtests/include/timesys.h2
-rw-r--r--testsuites/tmtests/tm01/system.h12
-rw-r--r--testsuites/tmtests/tm02/system.h12
-rw-r--r--testsuites/tmtests/tm03/system.h12
-rw-r--r--testsuites/tmtests/tm04/system.h12
-rw-r--r--testsuites/tmtests/tm05/system.h12
-rw-r--r--testsuites/tmtests/tm06/system.h12
-rw-r--r--testsuites/tmtests/tm07/system.h12
-rw-r--r--testsuites/tmtests/tm08/system.h12
-rw-r--r--testsuites/tmtests/tm09/system.h12
-rw-r--r--testsuites/tmtests/tm09/task1.c13
-rw-r--r--testsuites/tmtests/tm10/system.h12
-rw-r--r--testsuites/tmtests/tm10/task1.c11
-rw-r--r--testsuites/tmtests/tm11/system.h12
-rw-r--r--testsuites/tmtests/tm11/task1.c13
-rw-r--r--testsuites/tmtests/tm12/system.h12
-rw-r--r--testsuites/tmtests/tm12/task1.c8
-rw-r--r--testsuites/tmtests/tm13/system.h12
-rw-r--r--testsuites/tmtests/tm13/task1.c13
-rw-r--r--testsuites/tmtests/tm14/system.h12
-rw-r--r--testsuites/tmtests/tm14/task1.c8
-rw-r--r--testsuites/tmtests/tm15/system.h12
-rw-r--r--testsuites/tmtests/tm16/system.h12
-rw-r--r--testsuites/tmtests/tm17/system.h12
-rw-r--r--testsuites/tmtests/tm18/system.h12
-rw-r--r--testsuites/tmtests/tm19/system.h12
-rw-r--r--testsuites/tmtests/tm20/system.h12
-rw-r--r--testsuites/tmtests/tm20/task1.c15
-rw-r--r--testsuites/tmtests/tm21/system.h12
-rw-r--r--testsuites/tmtests/tm21/task1.c3
-rw-r--r--testsuites/tmtests/tm22/system.h12
-rw-r--r--testsuites/tmtests/tm22/task1.c11
-rw-r--r--testsuites/tmtests/tm23/system.h12
-rw-r--r--testsuites/tmtests/tm24/system.h12
-rw-r--r--testsuites/tmtests/tm25/system.h12
-rw-r--r--testsuites/tmtests/tm26/fptest.h2
-rw-r--r--testsuites/tmtests/tm26/system.h13
-rw-r--r--testsuites/tmtests/tm27/system.h12
-rw-r--r--testsuites/tmtests/tm28/system.h12
-rw-r--r--testsuites/tmtests/tm29/system.h12
-rw-r--r--testsuites/tmtests/tmck/system.h12
-rw-r--r--testsuites/tmtests/tmoverhd/dumrtems.h2
-rw-r--r--testsuites/tmtests/tmoverhd/system.h12
43 files changed, 228 insertions, 246 deletions
diff --git a/testsuites/tmtests/include/timesys.h b/testsuites/tmtests/include/timesys.h
index 3b61d7b42d..85f2040db2 100644
--- a/testsuites/tmtests/include/timesys.h
+++ b/testsuites/tmtests/include/timesys.h
@@ -11,7 +11,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * timesys.h,v 1.2 1995/05/31 17:13:45 joel Exp
*/
diff --git a/testsuites/tmtests/tm01/system.h b/testsuites/tmtests/tm01/system.h
index 9133506e7f..b69cef78bc 100644
--- a/testsuites/tmtests/tm01/system.h
+++ b/testsuites/tmtests/tm01/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:14:01 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm02/system.h b/testsuites/tmtests/tm02/system.h
index 9133506e7f..bd1c0e3394 100644
--- a/testsuites/tmtests/tm02/system.h
+++ b/testsuites/tmtests/tm02/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:14:12 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm03/system.h b/testsuites/tmtests/tm03/system.h
index 9133506e7f..27d7dd5f6c 100644
--- a/testsuites/tmtests/tm03/system.h
+++ b/testsuites/tmtests/tm03/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:14:23 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm04/system.h b/testsuites/tmtests/tm04/system.h
index 9133506e7f..8db59433a2 100644
--- a/testsuites/tmtests/tm04/system.h
+++ b/testsuites/tmtests/tm04/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:14:33 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm05/system.h b/testsuites/tmtests/tm05/system.h
index 9133506e7f..7f9525e54e 100644
--- a/testsuites/tmtests/tm05/system.h
+++ b/testsuites/tmtests/tm05/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:14:43 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm06/system.h b/testsuites/tmtests/tm06/system.h
index 9133506e7f..a8fa305480 100644
--- a/testsuites/tmtests/tm06/system.h
+++ b/testsuites/tmtests/tm06/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:14:54 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm07/system.h b/testsuites/tmtests/tm07/system.h
index 9133506e7f..a7d6538a7d 100644
--- a/testsuites/tmtests/tm07/system.h
+++ b/testsuites/tmtests/tm07/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:15:05 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm08/system.h b/testsuites/tmtests/tm08/system.h
index 9133506e7f..26418252be 100644
--- a/testsuites/tmtests/tm08/system.h
+++ b/testsuites/tmtests/tm08/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:15:15 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm09/system.h b/testsuites/tmtests/tm09/system.h
index 9133506e7f..8756e04ca2 100644
--- a/testsuites/tmtests/tm09/system.h
+++ b/testsuites/tmtests/tm09/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:15:26 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm09/task1.c b/testsuites/tmtests/tm09/task1.c
index 9126ee8a1d..d23967a3b1 100644
--- a/testsuites/tmtests/tm09/task1.c
+++ b/testsuites/tmtests/tm09/task1.c
@@ -8,7 +8,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * task1.c,v 1.2 1995/05/31 17:15:28 joel Exp
*/
#include "system.h"
@@ -57,6 +57,7 @@ rtems_task Test_task (
rtems_message_queue_create(
1,
OPERATION_COUNT,
+ 16,
RTEMS_DEFAULT_ATTRIBUTES,
&Queue_id
);
@@ -103,6 +104,7 @@ void queue_test()
rtems_unsigned32 iterations;
long buffer[4];
rtems_status_code status;
+ rtems_unsigned32 size;
send_loop_time = 0;
urgent_loop_time = 0;
@@ -134,7 +136,7 @@ void queue_test()
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_message_queue_send( Queue_id, (long (*)[4])buffer );
+ (void) rtems_message_queue_send( Queue_id, (long (*)[4])buffer, 16 );
send_time += Read_timer();
Timer_initialize();
@@ -142,6 +144,7 @@ void queue_test()
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4])buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
@@ -149,7 +152,7 @@ void queue_test()
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_message_queue_urgent( Queue_id, (long (*)[4])buffer );
+ (void) rtems_message_queue_urgent( Queue_id, (long (*)[4])buffer, 16 );
urgent_time += Read_timer();
Timer_initialize();
@@ -157,6 +160,7 @@ void queue_test()
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4])buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
@@ -169,7 +173,8 @@ void queue_test()
/* send one message to flush */
status = rtems_message_queue_send(
Queue_id,
- (long (*)[4])buffer
+ (long (*)[4])buffer,
+ 16
);
directive_failed( status, "rtems_message_queue_send" );
diff --git a/testsuites/tmtests/tm10/system.h b/testsuites/tmtests/tm10/system.h
index 9133506e7f..9c59593710 100644
--- a/testsuites/tmtests/tm10/system.h
+++ b/testsuites/tmtests/tm10/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:15:37 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm10/task1.c b/testsuites/tmtests/tm10/task1.c
index 788c2cd1f7..9ed9fc129e 100644
--- a/testsuites/tmtests/tm10/task1.c
+++ b/testsuites/tmtests/tm10/task1.c
@@ -8,7 +8,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * task1.c,v 1.2 1995/05/31 17:15:39 joel Exp
*/
#include "system.h"
@@ -51,6 +51,7 @@ rtems_task Init(
void test_init()
{
rtems_unsigned32 index;
+ rtems_unsigned32 size;
rtems_task_entry task_entry;
rtems_status_code status;
rtems_task_priority priority;
@@ -82,6 +83,7 @@ void test_init()
status = rtems_message_queue_create(
1,
OPERATION_COUNT,
+ 16,
RTEMS_DEFAULT_ATTRIBUTES,
&Queue_id
);
@@ -97,6 +99,7 @@ void test_init()
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4]) Buffer,
+ &size,
RTEMS_NO_WAIT,
RTEMS_NO_TIMEOUT
);
@@ -116,10 +119,13 @@ rtems_task High_task(
rtems_task_argument argument
)
{
+ rtems_unsigned32 size;
+
Timer_initialize();
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4]) Buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
@@ -129,9 +135,12 @@ rtems_task Middle_tasks(
rtems_task_argument argument
)
{
+ rtems_unsigned32 size;
+
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4]) Buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
diff --git a/testsuites/tmtests/tm11/system.h b/testsuites/tmtests/tm11/system.h
index 9133506e7f..49eeeefc67 100644
--- a/testsuites/tmtests/tm11/system.h
+++ b/testsuites/tmtests/tm11/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:15:48 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm11/task1.c b/testsuites/tmtests/tm11/task1.c
index 9bf45442dc..f7d518613f 100644
--- a/testsuites/tmtests/tm11/task1.c
+++ b/testsuites/tmtests/tm11/task1.c
@@ -8,7 +8,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * task1.c,v 1.2 1995/05/31 17:15:50 joel Exp
*/
#include "system.h"
@@ -78,6 +78,7 @@ rtems_task test_init(
status = rtems_message_queue_create(
rtems_build_name( 'M', 'Q', '1', ' ' ),
OPERATION_COUNT,
+ 16,
RTEMS_DEFAULT_ATTRIBUTES,
&Queue_id
);
@@ -106,30 +107,36 @@ rtems_task test_init(
}
Timer_initialize();
- (void) rtems_message_queue_send( Queue_id, (long (*)[4]) Buffer );
+ (void) rtems_message_queue_send( Queue_id, (long (*)[4]) Buffer, 16 );
}
rtems_task Middle_tasks(
rtems_task_argument argument
)
{
+ rtems_unsigned32 size;
+
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4]) Buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
- (void) rtems_message_queue_send( Queue_id, (long (*)[4]) Buffer );
+ (void) rtems_message_queue_send( Queue_id, (long (*)[4]) Buffer, size );
}
rtems_task High_task(
rtems_task_argument argument
)
{
+ rtems_unsigned32 size;
+
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4]) Buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
diff --git a/testsuites/tmtests/tm12/system.h b/testsuites/tmtests/tm12/system.h
index 9133506e7f..0ba9d98e96 100644
--- a/testsuites/tmtests/tm12/system.h
+++ b/testsuites/tmtests/tm12/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:15:59 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm12/task1.c b/testsuites/tmtests/tm12/task1.c
index 8735cc601f..149c356a50 100644
--- a/testsuites/tmtests/tm12/task1.c
+++ b/testsuites/tmtests/tm12/task1.c
@@ -8,7 +8,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * task1.c,v 1.2 1995/05/31 17:16:00 joel Exp
*/
#include "system.h"
@@ -74,6 +74,7 @@ rtems_task test_init(
status = rtems_message_queue_create(
rtems_build_name( 'M', 'Q', '1', ' ' ),
OPERATION_COUNT,
+ 16,
RTEMS_DEFAULT_ATTRIBUTES,
&Queue_id
);
@@ -115,7 +116,7 @@ rtems_task High_task(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_message_queue_send( Queue_id, (long (*)[4]) Buffer );
+ (void) rtems_message_queue_send( Queue_id, (long (*)[4]) Buffer, 16 );
end_time = Read_timer();
put_time(
@@ -133,9 +134,12 @@ rtems_task Low_tasks(
rtems_task_argument argument
)
{
+ rtems_unsigned32 size;
+
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4]) Buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
diff --git a/testsuites/tmtests/tm13/system.h b/testsuites/tmtests/tm13/system.h
index 9133506e7f..c56c1b133e 100644
--- a/testsuites/tmtests/tm13/system.h
+++ b/testsuites/tmtests/tm13/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:16:11 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm13/task1.c b/testsuites/tmtests/tm13/task1.c
index 28ff2bf149..32ca67c785 100644
--- a/testsuites/tmtests/tm13/task1.c
+++ b/testsuites/tmtests/tm13/task1.c
@@ -8,7 +8,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * task1.c,v 1.2 1995/05/31 17:16:13 joel Exp
*/
#include "system.h"
@@ -77,6 +77,7 @@ rtems_task test_init(
status = rtems_message_queue_create(
rtems_build_name( 'M', 'Q', '1', ' ' ),
OPERATION_COUNT,
+ 16,
RTEMS_DEFAULT_ATTRIBUTES,
&Queue_id
);
@@ -105,30 +106,36 @@ rtems_task test_init(
}
Timer_initialize();
- (void) rtems_message_queue_urgent( Queue_id, (long (*)[4]) Buffer );
+ (void) rtems_message_queue_urgent( Queue_id, (long (*)[4]) Buffer, 16 );
}
rtems_task Middle_tasks(
rtems_task_argument argument
)
{
+ rtems_unsigned32 size;
+
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4]) Buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
- (void) rtems_message_queue_urgent( Queue_id, (long (*)[4]) Buffer );
+ (void) rtems_message_queue_urgent( Queue_id, (long (*)[4]) Buffer, size );
}
rtems_task High_task(
rtems_task_argument argument
)
{
+ rtems_unsigned32 size;
+
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4]) Buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
diff --git a/testsuites/tmtests/tm14/system.h b/testsuites/tmtests/tm14/system.h
index 9133506e7f..66fcd71c55 100644
--- a/testsuites/tmtests/tm14/system.h
+++ b/testsuites/tmtests/tm14/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:16:22 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm14/task1.c b/testsuites/tmtests/tm14/task1.c
index 3020fa66e9..b4b2e1eabf 100644
--- a/testsuites/tmtests/tm14/task1.c
+++ b/testsuites/tmtests/tm14/task1.c
@@ -8,7 +8,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * task1.c,v 1.2 1995/05/31 17:16:24 joel Exp
*/
#include "system.h"
@@ -74,6 +74,7 @@ rtems_task test_init(
status = rtems_message_queue_create(
rtems_build_name( 'M', 'Q', '1', ' ' ),
OPERATION_COUNT,
+ 16,
RTEMS_DEFAULT_ATTRIBUTES,
&Queue_id
);
@@ -115,7 +116,7 @@ rtems_task High_task(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_message_queue_urgent( Queue_id, (long (*)[4]) Buffer );
+ (void) rtems_message_queue_urgent( Queue_id, (long (*)[4]) Buffer, 16 );
end_time = Read_timer();
put_time(
@@ -133,9 +134,12 @@ rtems_task Low_tasks(
rtems_task_argument argument
)
{
+ rtems_unsigned32 size;
+
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4]) Buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
diff --git a/testsuites/tmtests/tm15/system.h b/testsuites/tmtests/tm15/system.h
index 9133506e7f..189c611505 100644
--- a/testsuites/tmtests/tm15/system.h
+++ b/testsuites/tmtests/tm15/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:16:33 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm16/system.h b/testsuites/tmtests/tm16/system.h
index 9133506e7f..d4418f1722 100644
--- a/testsuites/tmtests/tm16/system.h
+++ b/testsuites/tmtests/tm16/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:16:45 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm17/system.h b/testsuites/tmtests/tm17/system.h
index 9133506e7f..80209a3ee8 100644
--- a/testsuites/tmtests/tm17/system.h
+++ b/testsuites/tmtests/tm17/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:16:57 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm18/system.h b/testsuites/tmtests/tm18/system.h
index 9133506e7f..a4d3b338c0 100644
--- a/testsuites/tmtests/tm18/system.h
+++ b/testsuites/tmtests/tm18/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:17:15 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm19/system.h b/testsuites/tmtests/tm19/system.h
index 9133506e7f..d785e54f8c 100644
--- a/testsuites/tmtests/tm19/system.h
+++ b/testsuites/tmtests/tm19/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:17:35 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm20/system.h b/testsuites/tmtests/tm20/system.h
index 9133506e7f..16aff61444 100644
--- a/testsuites/tmtests/tm20/system.h
+++ b/testsuites/tmtests/tm20/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:17:56 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm20/task1.c b/testsuites/tmtests/tm20/task1.c
index 6cfcb3d0c1..97c1a13e0b 100644
--- a/testsuites/tmtests/tm20/task1.c
+++ b/testsuites/tmtests/tm20/task1.c
@@ -8,7 +8,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * task1.c,v 1.2 1995/05/31 17:18:00 joel Exp
*/
#include "system.h"
@@ -89,7 +89,6 @@ rtems_task Task_1(
rtems_unsigned32 index;
rtems_mode previous_mode;
rtems_task_priority previous_priority;
- rtems_unsigned32 return_value;
rtems_status_code status;
Partition_name = rtems_build_name( 'P', 'A', 'R', 'T' );
@@ -350,7 +349,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_initialize( 0, 0, NULL, &return_value );
+ (void) rtems_io_initialize( 0, 0, NULL );
end_time = Read_timer();
put_time(
@@ -363,7 +362,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_open( 0, 0, NULL, &return_value );
+ (void) rtems_io_open( 0, 0, NULL );
end_time = Read_timer();
put_time(
@@ -376,7 +375,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_close( 0, 0, NULL, &return_value );
+ (void) rtems_io_close( 0, 0, NULL );
end_time = Read_timer();
put_time(
@@ -389,7 +388,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_read( 0, 0, NULL, &return_value );
+ (void) rtems_io_read( 0, 0, NULL );
end_time = Read_timer();
put_time(
@@ -402,7 +401,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_write( 0, 0, NULL, &return_value );
+ (void) rtems_io_write( 0, 0, NULL );
end_time = Read_timer();
put_time(
@@ -415,7 +414,7 @@ rtems_task Task_1(
Timer_initialize();
for ( index=1 ; index <= OPERATION_COUNT ; index++ )
- (void) rtems_io_control( 0, 0, NULL, &return_value );
+ (void) rtems_io_control( 0, 0, NULL );
end_time = Read_timer();
put_time(
diff --git a/testsuites/tmtests/tm21/system.h b/testsuites/tmtests/tm21/system.h
index 9133506e7f..478208437f 100644
--- a/testsuites/tmtests/tm21/system.h
+++ b/testsuites/tmtests/tm21/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:18:16 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm21/task1.c b/testsuites/tmtests/tm21/task1.c
index 0f31e08485..4cdf738d09 100644
--- a/testsuites/tmtests/tm21/task1.c
+++ b/testsuites/tmtests/tm21/task1.c
@@ -8,7 +8,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * task1.c,v 1.2 1995/05/31 17:18:19 joel Exp
*/
#include "system.h"
@@ -72,6 +72,7 @@ rtems_task Task_1(
status = rtems_message_queue_create(
index,
OPERATION_COUNT,
+ 16,
RTEMS_DEFAULT_ATTRIBUTES,
&id
);
diff --git a/testsuites/tmtests/tm22/system.h b/testsuites/tmtests/tm22/system.h
index 9133506e7f..236315dac7 100644
--- a/testsuites/tmtests/tm22/system.h
+++ b/testsuites/tmtests/tm22/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:18:37 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm22/task1.c b/testsuites/tmtests/tm22/task1.c
index 450466ea54..981093efe1 100644
--- a/testsuites/tmtests/tm22/task1.c
+++ b/testsuites/tmtests/tm22/task1.c
@@ -8,7 +8,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * task1.c,v 1.2 1995/05/31 17:18:40 joel Exp
*/
#include "system.h"
@@ -44,7 +44,8 @@ rtems_task Init(
status = rtems_message_queue_create(
rtems_build_name( 'M', 'Q', '1', ' '),
- 0,
+ 100,
+ 16,
RTEMS_DEFAULT_ATTRIBUTES,
&Queue_id
);
@@ -91,6 +92,7 @@ rtems_task High_task(
(void) rtems_message_queue_broadcast(
Queue_id,
(long (*)[4]) Buffer,
+ 16,
&count
);
end_time = Read_timer();
@@ -114,6 +116,7 @@ rtems_task Low_task(
rtems_id id;
rtems_unsigned32 index;
rtems_unsigned32 count;
+ rtems_unsigned32 size;
rtems_status_code status;
status = rtems_task_create(
@@ -132,6 +135,7 @@ rtems_task Low_task(
status = rtems_message_queue_receive(
Queue_id,
(long (*)[4]) Buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
@@ -142,6 +146,7 @@ rtems_task Low_task(
(void) rtems_message_queue_broadcast(
Queue_id,
(long (*)[4]) Buffer,
+ 16,
&count
);
end_time = Read_timer();
@@ -157,6 +162,7 @@ rtems_task Low_task(
(void) rtems_message_queue_receive(
Queue_id,
(long (*)[4]) Buffer,
+ &size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT
);
@@ -186,6 +192,7 @@ rtems_task Preempt_task(
(void) rtems_message_queue_broadcast(
Queue_id,
(long (*)[4]) Buffer,
+ 16,
&count
);
diff --git a/testsuites/tmtests/tm23/system.h b/testsuites/tmtests/tm23/system.h
index 9133506e7f..fff94be073 100644
--- a/testsuites/tmtests/tm23/system.h
+++ b/testsuites/tmtests/tm23/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:18:54 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm24/system.h b/testsuites/tmtests/tm24/system.h
index 9133506e7f..6b3aaa8393 100644
--- a/testsuites/tmtests/tm24/system.h
+++ b/testsuites/tmtests/tm24/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:19:07 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm25/system.h b/testsuites/tmtests/tm25/system.h
index 9133506e7f..fe378e711b 100644
--- a/testsuites/tmtests/tm25/system.h
+++ b/testsuites/tmtests/tm25/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:19:17 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm26/fptest.h b/testsuites/tmtests/tm26/fptest.h
index 39b8438ef9..2001bcaca9 100644
--- a/testsuites/tmtests/tm26/fptest.h
+++ b/testsuites/tmtests/tm26/fptest.h
@@ -22,7 +22,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * fptest.h,v 1.2 1995/05/31 17:19:26 joel Exp
*/
diff --git a/testsuites/tmtests/tm26/system.h b/testsuites/tmtests/tm26/system.h
index 9133506e7f..c46f55b939 100644
--- a/testsuites/tmtests/tm26/system.h
+++ b/testsuites/tmtests/tm26/system.h
@@ -10,14 +10,13 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:19:30 joel Exp
*/
-#include <rtems.h>
+#include <bsp.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm27/system.h b/testsuites/tmtests/tm27/system.h
index 9133506e7f..25e9ac5656 100644
--- a/testsuites/tmtests/tm27/system.h
+++ b/testsuites/tmtests/tm27/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:19:41 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm28/system.h b/testsuites/tmtests/tm28/system.h
index 9133506e7f..0f8d12b27a 100644
--- a/testsuites/tmtests/tm28/system.h
+++ b/testsuites/tmtests/tm28/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:19:51 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tm29/system.h b/testsuites/tmtests/tm29/system.h
index 9133506e7f..2da585d5a1 100644
--- a/testsuites/tmtests/tm29/system.h
+++ b/testsuites/tmtests/tm29/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:20:02 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tmck/system.h b/testsuites/tmtests/tmck/system.h
index 9133506e7f..4a8601897a 100644
--- a/testsuites/tmtests/tmck/system.h
+++ b/testsuites/tmtests/tmck/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:20:12 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>
diff --git a/testsuites/tmtests/tmoverhd/dumrtems.h b/testsuites/tmtests/tmoverhd/dumrtems.h
index d0492c1014..e90c5cef7f 100644
--- a/testsuites/tmtests/tmoverhd/dumrtems.h
+++ b/testsuites/tmtests/tmoverhd/dumrtems.h
@@ -11,7 +11,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * dumrtems.h,v 1.2 1995/05/31 17:20:21 joel Exp
*/
#ifndef __DUMRTEMS_h
diff --git a/testsuites/tmtests/tmoverhd/system.h b/testsuites/tmtests/tmoverhd/system.h
index 9133506e7f..8dc2b305b7 100644
--- a/testsuites/tmtests/tmoverhd/system.h
+++ b/testsuites/tmtests/tmoverhd/system.h
@@ -10,14 +10,12 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * system.h,v 1.2 1995/05/31 17:20:26 joel Exp
*/
-#include <rtems.h>
+#include <coverhd.h>
+#include <tmacros.h>
-#include "coverhd.h"
-#include "tmacros.h"
-
-#include "timesys.h"
-#include "timegvar.h"
+#include <timesys.h>
+#include <timegvar.h>