change log for rtems (2011-12-13)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Dec 13 10:52:39 UTC 2011


 *sh*:
2011-12-13	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* psxmsgq04/init.c: Fixed allocation of second message queue.

M  1.382  testsuites/psxtests/ChangeLog
M   1.11  testsuites/psxtests/psxmsgq04/init.c

diff -u rtems/testsuites/psxtests/ChangeLog:1.381 rtems/testsuites/psxtests/ChangeLog:1.382
--- rtems/testsuites/psxtests/ChangeLog:1.381	Tue Dec 13 04:02:35 2011
+++ rtems/testsuites/psxtests/ChangeLog	Tue Dec 13 04:49:13 2011
@@ -1,5 +1,9 @@
 2011-12-13	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
+	* psxmsgq04/init.c: Fixed allocation of second message queue.
+
+2011-12-13	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
 	* psxconfig01/init.c: Create more objects.
 
 2011-12-13	Ralf Corsépius <ralf.corsepius at rtems.org>

diff -u rtems/testsuites/psxtests/psxmsgq04/init.c:1.10 rtems/testsuites/psxtests/psxmsgq04/init.c:1.11
--- rtems/testsuites/psxtests/psxmsgq04/init.c:1.10	Tue Feb 22 03:47:35 2011
+++ rtems/testsuites/psxtests/psxmsgq04/init.c	Tue Dec 13 04:49:13 2011
@@ -87,13 +87,8 @@
    */
   puts( "Init - Memory allocation error test" );
 
-  sb = rtems_workspace_get_information( &info );
-
-  attr.mq_maxmsg = 1;
-  attr.mq_msgsize = 200;
-
   name = Get_Longest_Name();
-  while ( attr.mq_msgsize > 0 ) {
+  do {
     sb = rtems_workspace_allocate( to_alloc, &alloced );
     rtems_test_assert( sb );
 
@@ -102,15 +97,8 @@
     /* free the memory we snagged, then check the status */
     rtems_workspace_free( alloced );
 
-    if ( second_Queue != (-1) )
-      break;
-
-    /* attr.mq_msgsize -= 48; */
     to_alloc -= 4;
-  }
-
-  if ( second_Queue == -1 )
-    rtems_test_exit(0);
+  } while ( second_Queue == -1 );
 
   puts( "Init - Message Queue created" );
 
@@ -141,7 +129,7 @@
 
 /* account for message buffers and string names */
 #define CONFIGURE_MESSAGE_BUFFER_MEMORY \
-    CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE(1, sizeof(int))
+    (2 * CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE(1, sizeof(int)))
 
 #define CONFIGURE_MAXIMUM_POSIX_THREADS                   1
 #define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES            1


 *ralf*:
2011-12-13	Ralf Corsépius <ralf.corsepius at rtems.org>

	* complex/docomplex.in: Generate prototype docomplex* prototype.

M  1.284  testsuites/libtests/ChangeLog
M    1.3  testsuites/libtests/complex/docomplex.in

diff -u rtems/testsuites/libtests/ChangeLog:1.283 rtems/testsuites/libtests/ChangeLog:1.284
--- rtems/testsuites/libtests/ChangeLog:1.283	Thu Dec  8 23:57:06 2011
+++ rtems/testsuites/libtests/ChangeLog	Tue Dec 13 04:40:46 2011
@@ -1,3 +1,7 @@
+2011-12-13	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* complex/docomplex.in: Generate prototype docomplex* prototype.
+
 2011-12-09	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* ftp01/Makefile.am: 

diff -u rtems/testsuites/libtests/complex/docomplex.in:1.2 rtems/testsuites/libtests/complex/docomplex.in:1.3
--- rtems/testsuites/libtests/complex/docomplex.in:1.2	Tue Feb 22 01:34:07 2011
+++ rtems/testsuites/libtests/complex/docomplex.in	Tue Dec 13 04:40:46 2011
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010 by
+ * Copyright (c) 2010, 2011 by
  * Ralf Corsepius, Ulm/Germany. All rights reserved.
  *
  * Permission to use, copy, modify, and distribute this software
@@ -17,6 +17,8 @@
 #include <complex.h>
 #include <stdio.h>
 
+extern void docomplex at FSUFFIX@ (void);
+
 void
 docomplex at FSUFFIX@ (void)
 {


 *ralf*:
2011-12-13	Ralf Corsépius <ralf.corsepius at rtems.org>

	* complex/init.c: Move configuration section.
	* complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c:
	Regenerate.

M  1.285  testsuites/libtests/ChangeLog
M    1.3  testsuites/libtests/complex/docomplex.c
M    1.3  testsuites/libtests/complex/docomplexf.c
M    1.3  testsuites/libtests/complex/docomplexl.c
M    1.5  testsuites/libtests/complex/init.c

diff -u rtems/testsuites/libtests/ChangeLog:1.284 rtems/testsuites/libtests/ChangeLog:1.285
--- rtems/testsuites/libtests/ChangeLog:1.284	Tue Dec 13 04:40:46 2011
+++ rtems/testsuites/libtests/ChangeLog	Tue Dec 13 04:49:25 2011
@@ -1,5 +1,8 @@
 2011-12-13	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* complex/init.c: Move configuration section.
+	* complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c:
+	Regenerate.
 	* complex/docomplex.in: Generate prototype docomplex* prototype.
 
 2011-12-09	Ralf Corsépius <ralf.corsepius at rtems.org>

diff -u rtems/testsuites/libtests/complex/docomplex.c:1.2 rtems/testsuites/libtests/complex/docomplex.c:1.3
--- rtems/testsuites/libtests/complex/docomplex.c:1.2	Tue Feb 22 01:34:07 2011
+++ rtems/testsuites/libtests/complex/docomplex.c	Tue Dec 13 04:49:25 2011
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010 by
+ * Copyright (c) 2010, 2011 by
  * Ralf Corsepius, Ulm/Germany. All rights reserved.
  *
  * Permission to use, copy, modify, and distribute this software
@@ -17,6 +17,8 @@
 #include <complex.h>
 #include <stdio.h>
 
+extern void docomplex  (void);
+
 void
 docomplex  (void)
 {

diff -u rtems/testsuites/libtests/complex/docomplexf.c:1.2 rtems/testsuites/libtests/complex/docomplexf.c:1.3
--- rtems/testsuites/libtests/complex/docomplexf.c:1.2	Tue Feb 22 01:34:07 2011
+++ rtems/testsuites/libtests/complex/docomplexf.c	Tue Dec 13 04:49:25 2011
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010 by
+ * Copyright (c) 2010, 2011 by
  * Ralf Corsepius, Ulm/Germany. All rights reserved.
  *
  * Permission to use, copy, modify, and distribute this software
@@ -17,6 +17,8 @@
 #include <complex.h>
 #include <stdio.h>
 
+extern void docomplexf (void);
+
 void
 docomplexf (void)
 {

diff -u rtems/testsuites/libtests/complex/docomplexl.c:1.2 rtems/testsuites/libtests/complex/docomplexl.c:1.3
--- rtems/testsuites/libtests/complex/docomplexl.c:1.2	Tue Feb 22 01:34:07 2011
+++ rtems/testsuites/libtests/complex/docomplexl.c	Tue Dec 13 04:49:25 2011
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010 by
+ * Copyright (c) 2010, 2011 by
  * Ralf Corsepius, Ulm/Germany. All rights reserved.
  *
  * Permission to use, copy, modify, and distribute this software
@@ -17,6 +17,8 @@
 #include <complex.h>
 #include <stdio.h>
 
+extern void docomplexl (void);
+
 void
 docomplexl (void)
 {

diff -u rtems/testsuites/libtests/complex/init.c:1.4 rtems/testsuites/libtests/complex/init.c:1.5
--- rtems/testsuites/libtests/complex/init.c:1.4	Tue Feb 22 01:34:07 2011
+++ rtems/testsuites/libtests/complex/init.c	Tue Dec 13 04:49:25 2011
@@ -38,6 +38,19 @@
 #endif
 
 #if __rtems__
+/* NOTICE: the clock driver is explicitly disabled */
+#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+
+#define CONFIGURE_MAXIMUM_TASKS            1
+#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
+
+#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT
+#include <rtems/confdefs.h>
+
 rtems_task Init(
   rtems_task_argument ignored
 )
@@ -55,18 +68,3 @@
   fprintf( stdout, "*** END OF COMPLEX MATH TEST ***\n" );
   exit( 0 );
 }
-
-#if __rtems__
-/* NOTICE: the clock driver is explicitly disabled */
-#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
-#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
-
-#define CONFIGURE_MAXIMUM_TASKS            1
-#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
-
-#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
-#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-
-#define CONFIGURE_INIT
-#include <rtems/confdefs.h>
-#endif



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111213/e2e582f6/attachment-0001.html>


More information about the vc mailing list