<!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-03-15)</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-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>

        * rtems/src/taskresume.c, score/Makefile.am,
        score/include/rtems/score/thread.h: Convert _Thread_Resume and
        _Thread_Suspend into macros.
        * score/src/threadresume.c, score/src/threadsuspend.c: Removed.
</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.2781&r2=text&tr2=1.2782&diff_format=h">M</a></td><td width='1%'>1.2782</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/taskresume.c.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>cpukit/rtems/src/taskresume.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/Makefile.am.diff?r1=text&tr1=1.91&r2=text&tr2=1.92&diff_format=h">M</a></td><td width='1%'>1.92</td><td width='100%'>cpukit/score/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/thread.h.diff?r1=text&tr1=1.99&r2=text&tr2=1.100&diff_format=h">M</a></td><td width='1%'>1.100</td><td width='100%'>cpukit/score/include/rtems/score/thread.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/threadresume.c?rev=1.15&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.15</font></td><td width='100%'><font color="#880000">cpukit/score/src/threadresume.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/threadsuspend.c?rev=1.12&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.12</font></td><td width='100%'><font color="#880000">cpukit/score/src/threadsuspend.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2781 rtems/cpukit/ChangeLog:1.2782
--- rtems/cpukit/ChangeLog:1.2781       Tue Mar 15 14:03:38 2011
+++ rtems/cpukit/ChangeLog      Tue Mar 15 14:27:45 2011
</font><font color='#997700'>@@ -1,5 +1,12 @@
</font> 2011-03-15        Joel Sherrill <joel.sherrill@oarcorp.com>
 
<font color='#000088'>+   * rtems/src/taskresume.c, score/Makefile.am,
+       score/include/rtems/score/thread.h: Convert _Thread_Resume and
+       _Thread_Suspend into macros.
+       * score/src/threadresume.c, score/src/threadsuspend.c: Removed.
+
+2011-03-15     Joel Sherrill <joel.sherrill@oarcorp.com>
+
</font>   * libmisc/cpuuse/cpuusagereport.c: Make compile again.
 
 2011-03-15     Joel Sherrill <joel.sherrill@oarcorp.com>

<font color='#006600'>diff -u rtems/cpukit/rtems/src/taskresume.c:1.10 rtems/cpukit/rtems/src/taskresume.c:1.11
--- rtems/cpukit/rtems/src/taskresume.c:1.10    Tue Dec 15 12:26:41 2009
+++ rtems/cpukit/rtems/src/taskresume.c Tue Mar 15 14:27:46 2011
</font><font color='#997700'>@@ -59,7 +59,7 @@
</font> 
     case OBJECTS_LOCAL:
       if ( _States_Is_suspended( the_thread->current_state ) ) {
<font color='#880000'>-        _Thread_Resume( the_thread, true );
</font><font color='#000088'>+        _Thread_Resume( the_thread );
</font>         _Thread_Enable_dispatch();
         return RTEMS_SUCCESSFUL;
       }

<font color='#006600'>diff -u rtems/cpukit/score/Makefile.am:1.91 rtems/cpukit/score/Makefile.am:1.92
--- rtems/cpukit/score/Makefile.am:1.91 Fri Feb 18 09:12:43 2011
+++ rtems/cpukit/score/Makefile.am      Tue Mar 15 14:27:46 2011
</font><font color='#997700'>@@ -167,11 +167,10 @@
</font>     src/threaddelayended.c src/threaddispatch.c \
     src/threadget.c src/threadhandler.c src/threadinitialize.c \
     src/threadloadenv.c src/threadready.c src/threadreset.c \
<font color='#880000'>-    src/threadrestart.c src/threadresume.c src/threadsetpriority.c \
</font><font color='#000088'>+    src/threadrestart.c src/threadsetpriority.c \
</font>     src/threadsetstate.c src/threadsettransient.c \
     src/threadstackallocate.c src/threadstackfree.c src/threadstart.c \
<font color='#880000'>-    src/threadstartmultitasking.c src/threadsuspend.c \
-    src/threadtickletimeslice.c \
</font><font color='#000088'>+    src/threadstartmultitasking.c src/threadtickletimeslice.c \
</font>     src/iterateoverthreads.c src/threadblockingoperationcancel.c
 
 ## THREADQ_C_FILES

<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/thread.h:1.99 rtems/cpukit/score/include/rtems/score/thread.h:1.100
--- rtems/cpukit/score/include/rtems/score/thread.h:1.99        Fri Feb 18 09:12:43 2011
+++ rtems/cpukit/score/include/rtems/score/thread.h     Tue Mar 15 14:27:46 2011
</font><font color='#997700'>@@ -697,19 +697,16 @@
</font>  *  This routine updates the related suspend fields in the_thread
  *  control block to indicate the current nested level.
  */
<font color='#880000'>-void _Thread_Suspend(
-  Thread_Control   *the_thread
-);
</font><font color='#000088'>+#define _Thread_Suspend( _the_thread ) \
+        _Thread_Set_state( _the_thread, STATES_SUSPENDED )
</font> 
 /**
  *  This routine updates the related suspend fields in the_thread
  *  control block to indicate the current nested level.  A force
  *  parameter of true will force a resume and clear the suspend count.
  */
<font color='#880000'>-void _Thread_Resume(
-  Thread_Control   *the_thread,
-  bool              force
-);
</font><font color='#000088'>+#define _Thread_Resume( _the_thread ) \
+        _Thread_Clear_state( _the_thread, STATES_SUSPENDED )
</font> 
 #if (CPU_PROVIDES_IDLE_THREAD_BODY == FALSE)
 /**
</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>