<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-12-13)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * sapi/include/confdefs.h: Fixed workspace size estimate of POSIX keys
        and message queues.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.3088&r2=text&tr2=1.3089&diff_format=h">M</a></td><td width='1%'>1.3089</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/sapi/include/confdefs.h.diff?r1=text&tr1=1.176&r2=text&tr2=1.177&diff_format=h">M</a></td><td width='1%'>1.177</td><td width='100%'>cpukit/sapi/include/confdefs.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.3088 rtems/cpukit/ChangeLog:1.3089
--- rtems/cpukit/ChangeLog:1.3088       Tue Dec 13 04:06:53 2011
+++ rtems/cpukit/ChangeLog      Tue Dec 13 04:52:19 2011
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2011-12-13        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
<font color='#000088'>+   * sapi/include/confdefs.h: Fixed workspace size estimate of POSIX keys
+       and message queues.
+
+2011-12-13     Sebastian Huber <sebastian.huber@embedded-brains.de>
+
</font>   * score/include/rtems/score/wkspace.h, score/src/wkstringduplicate.c:
        Changed parameter of _Workspace_String_duplicate() to avoid strnlen().
 

<font color='#006600'>diff -u rtems/cpukit/sapi/include/confdefs.h:1.176 rtems/cpukit/sapi/include/confdefs.h:1.177
--- rtems/cpukit/sapi/include/confdefs.h:1.176  Mon Dec  5 07:51:06 2011
+++ rtems/cpukit/sapi/include/confdefs.h        Tue Dec 13 04:52:21 2011
</font><font color='#997700'>@@ -1527,17 +1527,14 @@
</font>    */
   #define _Configure_POSIX_Named_Object_RAM(_number, _size) \
     _Configure_Object_RAM( (_number), _size ) + \
<font color='#880000'>-    ((_number) + _Configure_From_workspace(NAME_MAX) )
</font><font color='#000088'>+    ((_number) * _Configure_From_workspace(NAME_MAX) )
</font> 
   #ifndef CONFIGURE_MAXIMUM_POSIX_THREADS
     #define CONFIGURE_MAXIMUM_POSIX_THREADS      0
   #endif
 
   #define CONFIGURE_MEMORY_PER_TASK_FOR_POSIX_API \
<font color='#880000'>-    _Configure_From_workspace( \
-      sizeof (POSIX_API_Control) + \
-     (sizeof (void *) * (CONFIGURE_MAXIMUM_POSIX_KEYS)) \
-    )
</font><font color='#000088'>+    _Configure_From_workspace(sizeof(POSIX_API_Control))
</font> 
   #ifndef CONFIGURE_MAXIMUM_POSIX_MUTEXES
     #define CONFIGURE_MAXIMUM_POSIX_MUTEXES              0
<font color='#997700'>@@ -1561,7 +1558,8 @@
</font>     #define CONFIGURE_MEMORY_FOR_POSIX_KEYS(_keys) 0
   #else
     #define CONFIGURE_MEMORY_FOR_POSIX_KEYS(_keys) \
<font color='#880000'>-      _Configure_Object_RAM(_keys, sizeof(POSIX_Keys_Control) )
</font><font color='#000088'>+      (_Configure_Object_RAM(_keys, sizeof(POSIX_Keys_Control) ) \
+        + (_keys) * 3 * _Configure_From_workspace(sizeof(void *) * 2))
</font>   #endif
 
   #ifndef CONFIGURE_MAXIMUM_POSIX_TIMERS
<font color='#997700'>@@ -1598,7 +1596,7 @@
</font>     #endif
 
     #define CONFIGURE_MEMORY_FOR_POSIX_MESSAGE_QUEUE_DESCRIPTORS(_mqueue_fds) \
<font color='#880000'>-      _Configure_POSIX_Named_Object_RAM( \
</font><font color='#000088'>+      _Configure_Object_RAM( \
</font>          _mqueue_fds, sizeof(POSIX_Message_queue_Control_fd) )
   #endif
 
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>