<!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-07-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>jennifer</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>

        * support/include/tmacros.h: Disable the check for dispatch disable
        level for SMP tests. Another CPU may be inside RTEMS by the time
        these checks are being done which would result in false failures.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/ChangeLog.diff?r1=text&tr1=1.186&r2=text&tr2=1.187&diff_format=h">M</a></td><td width='1%'>1.187</td><td width='100%'>testsuites/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/support/include/tmacros.h.diff?r1=text&tr1=1.56&r2=text&tr2=1.57&diff_format=h">M</a></td><td width='1%'>1.57</td><td width='100%'>testsuites/support/include/tmacros.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/ChangeLog:1.186 rtems/testsuites/ChangeLog:1.187
--- rtems/testsuites/ChangeLog:1.186    Thu Jun 30 07:49:17 2011
+++ rtems/testsuites/ChangeLog  Fri Jul  1 09:28:03 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-07-01    Jennifer Averett <Jennifer.Averett@OARcorp.com>
+
+       * support/include/tmacros.h: Disable the check for dispatch disable
+       level for SMP tests. Another CPU may be inside RTEMS by the time
+       these checks are being done which would result in false failures.
+
</font> 2011-06-28        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * configure.ac, support/include/test_support.h:

<font color='#006600'>diff -u rtems/testsuites/support/include/tmacros.h:1.56 rtems/testsuites/support/include/tmacros.h:1.57
--- rtems/testsuites/support/include/tmacros.h:1.56     Thu Apr 21 14:05:33 2011
+++ rtems/testsuites/support/include/tmacros.h  Fri Jul  1 09:28:03 2011
</font><font color='#997700'>@@ -45,8 +45,15 @@
</font> /*
  *  Check that that the dispatch disable level is proper for the
  *  mode/state of the test.  Normally it should be 0 when in task space.
<font color='#000088'>+ *
+ *  This test is only valid when in a non smp system.  In an smp system
+ *  another cpu may be accessing the core at any point when this core
+ *  does not have it locked.
</font>  */
<font color='#880000'>-#define check_dispatch_disable_level( _expect ) \
</font><font color='#000088'>+#if defined SMPTEST
+ #define check_dispatch_disable_level( _expect )<span style="background-color: #FF0000"> </span>
+#else
+ #define check_dispatch_disable_level( _expect ) \
</font>   do { \
     if ( (_expect) != -1 \
            && ((_Thread_Dispatch_in_critical_section() == false && (_expect) != 0) \
<font color='#997700'>@@ -55,11 +62,12 @@
</font>       printk( \
         "\n_Thread_Dispatch_disable_level is (%" PRId32 \
            ") not %d detected at %s:%d\n", \
<font color='#880000'>-         _Thread_Dispatch_get_disable_level(), (_expect), __FILE__, __LINE__ ); \
</font><font color='#000088'>+         _Thread_Dispatch_in_critical_section(), (_expect), __FILE__, __LINE__ ); \
</font>       FLUSH_OUTPUT(); \
       rtems_test_exit( 1 ); \
     } \
   } while ( 0 )
<font color='#000088'>+#endif
</font> 
 /*
  *  These macros properly report errors within the Classic API
</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>