change log for rtems (2011-10-26)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Oct 26 12:10:22 UTC 2011


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

	* mouse01/init.c: Account for extra message buffer size.

M  1.280  testsuites/libtests/ChangeLog
M    1.3  testsuites/libtests/mouse01/init.c

diff -u rtems/testsuites/libtests/ChangeLog:1.279 rtems/testsuites/libtests/ChangeLog:1.280
--- rtems/testsuites/libtests/ChangeLog:1.279	Wed Oct 26 05:34:11 2011
+++ rtems/testsuites/libtests/ChangeLog	Wed Oct 26 06:13:59 2011
@@ -1,5 +1,9 @@
 2011-10-26	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
+	* mouse01/init.c: Account for extra message buffer size.
+
+2011-10-26	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
 	* ftp01/init.c: Account for extra FTP worker task stack sizes.
 
 2011-10-22	Ralf Corsépius <ralf.corsepius at rtems.org>

diff -u rtems/testsuites/libtests/mouse01/init.c:1.2 rtems/testsuites/libtests/mouse01/init.c:1.3
--- rtems/testsuites/libtests/mouse01/init.c:1.2	Thu Sep 29 10:54:09 2011
+++ rtems/testsuites/libtests/mouse01/init.c	Wed Oct 26 06:13:59 2011
@@ -27,6 +27,8 @@
 #include "termios_testdriver_intr.h"
 #include "tmacros.h"
 
+#define UID_MESSAGE_COUNT 10
+
 extern const char *Mouse_Type_Long;
 extern const char *Mouse_Type_Short;
 extern const unsigned char Mouse_Actions[];
@@ -68,7 +70,7 @@
   char               name[5] = "mous";
 
   printf( "uid_open_queue() - mouse queue\n" );
-  rc = uid_open_queue( name, 0, 10 );
+  rc = uid_open_queue( name, 0, UID_MESSAGE_COUNT );
   rtems_test_assert( rc == 0 );
 
   printf( "uid_register_device() - OK\n");
@@ -155,6 +157,12 @@
 #define CONFIGURE_MAXIMUM_TIMERS 2
 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
 
+#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
+  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( \
+    UID_MESSAGE_COUNT, \
+    sizeof(struct MW_UID_MESSAGE) \
+  )
+
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 #define CONFIGURE_INIT
 



--

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/20111026/0e04f3ab/attachment.html>


More information about the vc mailing list