<!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-08-01)</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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp75/init.c, sp75/sp75.doc, sp75/sp75.scn: Correct test and
supporting documentation.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/ChangeLog.diff?r1=text&tr1=1.468&r2=text&tr2=1.469&diff_format=h">M</a></td><td width='1%'>1.469</td><td width='100%'>testsuites/sptests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp75/init.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>testsuites/sptests/sp75/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp75/sp75.doc.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>testsuites/sptests/sp75/sp75.doc</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp75/sp75.scn.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>testsuites/sptests/sp75/sp75.scn</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.468 rtems/testsuites/sptests/ChangeLog:1.469
--- rtems/testsuites/sptests/ChangeLog:1.468 Thu Jul 28 16:06:42 2011
+++ rtems/testsuites/sptests/ChangeLog Mon Aug 1 11:15:45 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * sp75/init.c, sp75/sp75.doc, sp75/sp75.scn: Correct test and
+ supporting documentation.
+
</font> 2011-07-28 Pawel Zagorski <pzagor@agh.edu.pl>
PR 1857/tests
<font color='#006600'>diff -u rtems/testsuites/sptests/sp75/init.c:1.1 rtems/testsuites/sptests/sp75/init.c:1.2
--- rtems/testsuites/sptests/sp75/init.c:1.1 Tue Jul 26 15:53:09 2011
+++ rtems/testsuites/sptests/sp75/init.c Mon Aug 1 11:15:45 2011
</font><font color='#997700'>@@ -31,13 +31,17 @@
</font> );
directive_failed(sc, "rtems_semaphore_create");
<font color='#000088'>+ /*
+ * Call semaphore obtain with dispatching disabled. Reenable
+ * dispatching before checking the status returned since
+ * directive_failed() checks for dispatching being enabled.
+ */
+ puts( "rtems_semaphore_obtain - with dispatching disabled" );
</font> _Thread_Disable_dispatch();
<font color='#880000'>-
- sc = rtems_semaphore_obtain(mutex, RTEMS_NO_WAIT, RTEMS_NO_TIMEOUT);
</font><font color='#000088'>+ sc = rtems_semaphore_obtain(mutex, RTEMS_NO_WAIT, RTEMS_NO_TIMEOUT);
+ _Thread_Enable_dispatch();
</font> directive_failed(sc, "rtems_semaphore_obtain");
<font color='#880000'>- _Thread_Enable_dispatch();
-<span style="background-color: #FF0000"> </span>
</font> puts( "*** END OF TEST SP75 ***" );
rtems_test_exit(0);
}
<font color='#006600'>diff -u rtems/testsuites/sptests/sp75/sp75.doc:1.1 rtems/testsuites/sptests/sp75/sp75.doc:1.2
--- rtems/testsuites/sptests/sp75/sp75.doc:1.1 Tue Jul 26 15:53:09 2011
+++ rtems/testsuites/sptests/sp75/sp75.doc Mon Aug 1 11:15:45 2011
</font><font color='#997700'>@@ -15,8 +15,9 @@
</font>
directives:
<font color='#880000'>- XXX list them
</font><font color='#000088'>+ rtems_semaphore_obtain
</font>
concepts:
<font color='#880000'>-+ XXX list them
</font><font color='#000088'>++ obtain semaphore in no wait mode with dispatching disabled. This is
+logically the same as performing the same operation from an ISR.
</font>
<font color='#006600'>diff -u rtems/testsuites/sptests/sp75/sp75.scn:1.1 rtems/testsuites/sptests/sp75/sp75.scn:1.2
--- rtems/testsuites/sptests/sp75/sp75.scn:1.1 Tue Jul 26 15:53:09 2011
+++ rtems/testsuites/sptests/sp75/sp75.scn Mon Aug 1 11:15:45 2011
</font><font color='#997700'>@@ -1 +1,3 @@
</font><font color='#880000'>-XXX fill in with test output
</font><font color='#000088'>+*** TEST SP75 ***
+rtems_semaphore_obtain - with dispatching disabled
+*** END OF TEST SP75 ***
</font></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>