<!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-09-09)</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-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/score/basedefs.h: Typo.
* score/src/mpci.c, rtems/src/eventmp.c, rtems/src/msgmp.c,
rtems/src/partmp.c, rtems/src/regionmp.c, rtems/src/semmp.c,
rtems/src/signalmp.c, rtems/src/taskmp.c: Use RTEMS_STATIC_ASSERT() to
ensure that the packet size is small enough.
</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.2913&r2=text&tr2=1.2914&diff_format=h">M</a></td><td width='1%'>1.2914</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/rtems/src/eventmp.c.diff?r1=text&tr1=1.15&r2=text&tr2=1.16&diff_format=h">M</a></td><td width='1%'>1.16</td><td width='100%'>cpukit/rtems/src/eventmp.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/rtems/src/msgmp.c.diff?r1=text&tr1=1.29&r2=text&tr2=1.30&diff_format=h">M</a></td><td width='1%'>1.30</td><td width='100%'>cpukit/rtems/src/msgmp.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/rtems/src/partmp.c.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>cpukit/rtems/src/partmp.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/rtems/src/regionmp.c.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>cpukit/rtems/src/regionmp.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/rtems/src/semmp.c.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>cpukit/rtems/src/semmp.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/rtems/src/signalmp.c.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>cpukit/rtems/src/signalmp.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/rtems/src/taskmp.c.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>cpukit/rtems/src/taskmp.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/basedefs.h.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>cpukit/score/include/rtems/score/basedefs.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/mpci.c.diff?r1=text&tr1=1.37&r2=text&tr2=1.38&diff_format=h">M</a></td><td width='1%'>1.38</td><td width='100%'>cpukit/score/src/mpci.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2913 rtems/cpukit/ChangeLog:1.2914
--- rtems/cpukit/ChangeLog:1.2913 Fri Sep 2 08:17:34 2011
+++ rtems/cpukit/ChangeLog Fri Sep 9 05:57:57 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * score/include/rtems/score/basedefs.h: Typo.
+ * score/src/mpci.c, rtems/src/eventmp.c, rtems/src/msgmp.c,
+ rtems/src/partmp.c, rtems/src/regionmp.c, rtems/src/semmp.c,
+ rtems/src/signalmp.c, rtems/src/taskmp.c: Use RTEMS_STATIC_ASSERT() to
+ ensure that the packet size is small enough.
+
</font> 2011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/monitor/mon-monitor.c: Removed "exit" and "quit" commands to
<font color='#006600'>diff -u rtems/cpukit/rtems/src/eventmp.c:1.15 rtems/cpukit/rtems/src/eventmp.c:1.16
--- rtems/cpukit/rtems/src/eventmp.c:1.15 Sun Jul 24 18:55:10 2011
+++ rtems/cpukit/rtems/src/eventmp.c Fri Sep 9 05:57:58 2011
</font><font color='#997700'>@@ -26,6 +26,11 @@
</font> #include <rtems/score/thread.h>
#include <rtems/rtems/support.h>
<font color='#000088'>+RTEMS_STATIC_ASSERT(
+ sizeof(Event_MP_Packet) <= MP_PACKET_MINIMUM_PACKET_SIZE,
+ Event_MP_Packet
+);
+
</font> /*
* _Event_MP_Send_process_packet
*
<font color='#006600'>diff -u rtems/cpukit/rtems/src/msgmp.c:1.29 rtems/cpukit/rtems/src/msgmp.c:1.30
--- rtems/cpukit/rtems/src/msgmp.c:1.29 Sun Jul 24 18:55:10 2011
+++ rtems/cpukit/rtems/src/msgmp.c Fri Sep 9 05:57:58 2011
</font><font color='#997700'>@@ -27,6 +27,14 @@
</font> #include <rtems/score/watchdog.h>
#include <rtems/rtems/support.h>
<font color='#000088'>+#define MESSAGE_QUEUE_MP_PACKET_SIZE \
+ offsetof(Message_queue_MP_Packet, Buffer.buffer)
+
+RTEMS_STATIC_ASSERT(
+ MESSAGE_QUEUE_MP_PACKET_SIZE <= MP_PACKET_MINIMUM_PACKET_SIZE,
+ Message_queue_MP_Packet
+);
+
</font> /*
* _Message_queue_MP_Send_process_packet
*
<font color='#006600'>diff -u rtems/cpukit/rtems/src/partmp.c:1.19 rtems/cpukit/rtems/src/partmp.c:1.20
--- rtems/cpukit/rtems/src/partmp.c:1.19 Sun Jul 24 18:55:10 2011
+++ rtems/cpukit/rtems/src/partmp.c Fri Sep 9 05:57:58 2011
</font><font color='#997700'>@@ -26,6 +26,11 @@
</font> #include <rtems/score/thread.h>
#include <rtems/rtems/support.h>
<font color='#000088'>+RTEMS_STATIC_ASSERT(
+ sizeof(Partition_MP_Packet) <= MP_PACKET_MINIMUM_PACKET_SIZE,
+ Partition_MP_Packet
+);
+
</font> /*
* _Partition_MP_Send_process_packet
*
<font color='#006600'>diff -u rtems/cpukit/rtems/src/regionmp.c:1.22 rtems/cpukit/rtems/src/regionmp.c:1.23
--- rtems/cpukit/rtems/src/regionmp.c:1.22 Sun Jul 24 18:55:11 2011
+++ rtems/cpukit/rtems/src/regionmp.c Fri Sep 9 05:57:58 2011
</font><font color='#997700'>@@ -26,6 +26,11 @@
</font> #include <rtems/score/thread.h>
#include <rtems/rtems/support.h>
<font color='#000088'>+RTEMS_STATIC_ASSERT(
+ sizeof(Region_MP_Packet) <= MP_PACKET_MINIMUM_PACKET_SIZE,
+ Region_MP_Packet
+);
+
</font> /*
* _Region_MP_Send_process_packet
*
<font color='#006600'>diff -u rtems/cpukit/rtems/src/semmp.c:1.22 rtems/cpukit/rtems/src/semmp.c:1.23
--- rtems/cpukit/rtems/src/semmp.c:1.22 Sun Jul 24 18:55:11 2011
+++ rtems/cpukit/rtems/src/semmp.c Fri Sep 9 05:57:58 2011
</font><font color='#997700'>@@ -27,6 +27,11 @@
</font> #include <rtems/score/watchdog.h>
#include <rtems/rtems/support.h>
<font color='#000088'>+RTEMS_STATIC_ASSERT(
+ sizeof(Semaphore_MP_Packet) <= MP_PACKET_MINIMUM_PACKET_SIZE,
+ Semaphore_MP_Packet
+);
+
</font> /*
* _Semaphore_MP_Send_process_packet
*
<font color='#006600'>diff -u rtems/cpukit/rtems/src/signalmp.c:1.14 rtems/cpukit/rtems/src/signalmp.c:1.15
--- rtems/cpukit/rtems/src/signalmp.c:1.14 Sun Jul 24 18:55:11 2011
+++ rtems/cpukit/rtems/src/signalmp.c Fri Sep 9 05:57:58 2011
</font><font color='#997700'>@@ -28,6 +28,11 @@
</font> #include <rtems/score/watchdog.h>
#include <rtems/rtems/support.h>
<font color='#000088'>+RTEMS_STATIC_ASSERT(
+ sizeof(Signal_MP_Packet) <= MP_PACKET_MINIMUM_PACKET_SIZE,
+ Signal_MP_Packet
+);
+
</font> /*
* _Signal_MP_Send_process_packet
*
<font color='#006600'>diff -u rtems/cpukit/rtems/src/taskmp.c:1.19 rtems/cpukit/rtems/src/taskmp.c:1.20
--- rtems/cpukit/rtems/src/taskmp.c:1.19 Sun Jul 24 18:55:12 2011
+++ rtems/cpukit/rtems/src/taskmp.c Fri Sep 9 05:57:58 2011
</font><font color='#997700'>@@ -27,6 +27,11 @@
</font> #include <rtems/score/watchdog.h>
#include <rtems/rtems/support.h>
<font color='#000088'>+RTEMS_STATIC_ASSERT(
+ sizeof(RTEMS_tasks_MP_Packet) <= MP_PACKET_MINIMUM_PACKET_SIZE,
+ RTEMS_tasks_MP_Packet
+);
+
</font> /*
* _RTEMS_tasks_MP_Send_process_packet
*
<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/basedefs.h:1.5 rtems/cpukit/score/include/rtems/score/basedefs.h:1.6
--- rtems/cpukit/score/include/rtems/score/basedefs.h:1.5 Thu Jul 21 07:00:20 2011
+++ rtems/cpukit/score/include/rtems/score/basedefs.h Fri Sep 9 05:57:58 2011
</font><font color='#997700'>@@ -166,7 +166,7 @@
</font> #endif
#define RTEMS_STATIC_ASSERT(cond, msg) \
<font color='#880000'>- typedef int rtems_static_assert ## msg [(cond) ? 1 : -1]
</font><font color='#000088'>+ typedef int rtems_static_assert_ ## msg [(cond) ? 1 : -1]
</font>
#ifndef ASM
#ifdef RTEMS_DEPRECATED_TYPES
<font color='#006600'>diff -u rtems/cpukit/score/src/mpci.c:1.37 rtems/cpukit/score/src/mpci.c:1.38
--- rtems/cpukit/score/src/mpci.c:1.37 Sun Jul 24 18:55:13 2011
+++ rtems/cpukit/score/src/mpci.c Fri Sep 9 05:57:58 2011
</font><font color='#997700'>@@ -34,6 +34,11 @@
</font> #include <rtems/score/coresem.h>
#include <rtems/config.h>
<font color='#000088'>+RTEMS_STATIC_ASSERT(
+ sizeof(MPCI_Internal_packet) <= MP_PACKET_MINIMUM_PACKET_SIZE,
+ MPCI_Internal_packet
+);
+
</font> /**
* This is the core semaphore which the MPCI Receive Server blocks on.
*/
</pre>
<p> </p>
<a name='cs2'></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-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1873/cpukit
* score/include/rtems/score/heap.h: Revert previous commit.
* sapi/include/confdefs.h: Use proper constants in
_Configure_From_workspace().
</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.2914&r2=text&tr2=1.2915&diff_format=h">M</a></td><td width='1%'>1.2915</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.170&r2=text&tr2=1.171&diff_format=h">M</a></td><td width='1%'>1.171</td><td width='100%'>cpukit/sapi/include/confdefs.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/heap.h.diff?r1=text&tr1=1.46&r2=text&tr2=1.47&diff_format=h">M</a></td><td width='1%'>1.47</td><td width='100%'>cpukit/score/include/rtems/score/heap.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2914 rtems/cpukit/ChangeLog:1.2915
--- rtems/cpukit/ChangeLog:1.2914 Fri Sep 9 05:57:57 2011
+++ rtems/cpukit/ChangeLog Fri Sep 9 06:02:02 2011
</font><font color='#997700'>@@ -1,5 +1,12 @@
</font> 2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
<font color='#000088'>+ PR 1873/cpukit
+ * score/include/rtems/score/heap.h: Revert previous commit.
+ * sapi/include/confdefs.h: Use proper constants in
+ _Configure_From_workspace().
+
+2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
</font> * score/include/rtems/score/basedefs.h: Typo.
* score/src/mpci.c, rtems/src/eventmp.c, rtems/src/msgmp.c,
rtems/src/partmp.c, rtems/src/regionmp.c, rtems/src/semmp.c,
<font color='#006600'>diff -u rtems/cpukit/sapi/include/confdefs.h:1.170 rtems/cpukit/sapi/include/confdefs.h:1.171
--- rtems/cpukit/sapi/include/confdefs.h:1.170 Thu Sep 1 13:13:54 2011
+++ rtems/cpukit/sapi/include/confdefs.h Fri Sep 9 06:02:03 2011
</font><font color='#997700'>@@ -867,7 +867,7 @@
</font> * may be applied.
*/
#define _Configure_From_workspace(_size) \
<font color='#880000'>- (ssize_t)((_size) + (2 * sizeof(uint32_t)) + CPU_ALIGNMENT)
</font><font color='#000088'>+ (ssize_t)((_size) + HEAP_BLOCK_HEADER_SIZE + CPU_HEAP_ALIGNMENT - 1)
</font>
/**
* Do not use the unlimited bit as part of the multiplication
<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/heap.h:1.46 rtems/cpukit/score/include/rtems/score/heap.h:1.47
--- rtems/cpukit/score/include/rtems/score/heap.h:1.46 Sun Aug 21 14:51:41 2011
+++ rtems/cpukit/score/include/rtems/score/heap.h Fri Sep 9 06:02:03 2011
</font><font color='#997700'>@@ -177,9 +177,7 @@
</font> } Heap_Protection_block_end;
#define HEAP_PROTECTION_HEADER_SIZE \
<font color='#880000'>- (sizeof(Heap_Protection_block_begin) + \
- CPU_ALIGNMENT + \
- sizeof(Heap_Protection_block_end))
</font><font color='#000088'>+ (sizeof(Heap_Protection_block_begin) + sizeof(Heap_Protection_block_end))
</font> #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>