<!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-05-23)</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Remove white-spaces.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/percpu.h.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>cpukit/score/include/rtems/score/percpu.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/prioritybitmap.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/score/include/rtems/score/prioritybitmap.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/rbtree.h.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%'>cpukit/score/include/rtems/score/rbtree.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/schedulerpriority.h.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>cpukit/score/include/rtems/score/schedulerpriority.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/schedulersimple.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/score/include/rtems/score/schedulersimple.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/schedulersimplesmp.h.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%'>cpukit/score/include/rtems/score/schedulersimplesmp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/smp.h.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%'>cpukit/score/include/rtems/score/smp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/smplock.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/score/include/rtems/score/smplock.h</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.104&r2=text&tr2=1.105&diff_format=h">M</a></td><td width='1%'>1.105</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/heapfree.c.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>cpukit/score/src/heapfree.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/objectinitializeinformation.c.diff?r1=text&tr1=1.21&r2=text&tr2=1.22&diff_format=h">M</a></td><td width='1%'>1.22</td><td width='100%'>cpukit/score/src/objectinitializeinformation.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/rbtree.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%'>cpukit/score/src/rbtree.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/rbtreeextract.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%'>cpukit/score/src/rbtreeextract.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/rbtreefind.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%'>cpukit/score/src/rbtreefind.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/rbtreeinsert.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%'>cpukit/score/src/rbtreeinsert.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/rbtreepeek.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%'>cpukit/score/src/rbtreepeek.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/schedulerpriorityenqueue.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%'>cpukit/score/src/schedulerpriorityenqueue.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/schedulerpriorityenqueuefirst.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%'>cpukit/score/src/schedulerpriorityenqueuefirst.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/schedulerpriorityextract.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/score/src/schedulerpriorityextract.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/schedulerpriorityupdate.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/score/src/schedulerpriorityupdate.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/schedulersimple.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%'>cpukit/score/src/schedulersimple.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/schedulersimpleextract.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%'>cpukit/score/src/schedulersimpleextract.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/schedulersimpleschedule.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%'>cpukit/score/src/schedulersimpleschedule.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/schedulersimplesmpschedule.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%'>cpukit/score/src/schedulersimplesmpschedule.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/schedulersimpleyield.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/score/src/schedulersimpleyield.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/smp.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>cpukit/score/src/smp.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/smplock.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/score/src/smplock.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/threadcreateidle.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/score/src/threadcreateidle.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/threadget.c.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>cpukit/score/src/threadget.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/threadsetstate.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>cpukit/score/src/threadsetstate.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/threadsettransient.c.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>cpukit/score/src/threadsettransient.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/percpu.h:1.8 rtems/cpukit/score/include/rtems/score/percpu.h:1.9
--- rtems/cpukit/score/include/rtems/score/percpu.h:1.8 Fri May 20 07:36:00 2011
+++ rtems/cpukit/score/include/rtems/score/percpu.h     Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font>  *  found in the file LICENSE in this distribution or at
  *  http://www.rtems.com/license/LICENSE.
  *
<font color='#880000'>- *  $Id$<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  $Id$
</font>  */
 
 #ifndef _RTEMS_PERCPU_H
<font color='#997700'>@@ -64,7 +64,7 @@
</font> #endif
 
 typedef enum {
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font>   /**
    *  This defines the constant used to indicate that the cpu code is in
    *  its initial powered up start.
<font color='#997700'>@@ -92,17 +92,17 @@
</font> typedef struct {
   #if defined(RTEMS_SMP)
     /** This element is used to lock this structure */
<font color='#880000'>-    SMP_lock_spinlock_simple_Control  lock;<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    SMP_lock_spinlock_simple_Control  lock;
</font> 
     /** This indicates that the CPU is online. */
<font color='#880000'>-    uint32_t                          state;<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    uint32_t                          state;
</font> 
     /**
      *  This is the request for the interrupt.
<font color='#880000'>-     *<span style="background-color: #FF0000">  </span>
</font><font color='#000088'>+     *
</font>      *  @note This may become a chain protected by atomic instructions.
      */
<font color='#880000'>-    uint32_t                          message;<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    uint32_t                          message;
</font>   #endif
 
 #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE) || \

<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/prioritybitmap.h:1.2 rtems/cpukit/score/include/rtems/score/prioritybitmap.h:1.3
--- rtems/cpukit/score/include/rtems/score/prioritybitmap.h:1.2 Wed Nov 24 09:51:27 2010
+++ rtems/cpukit/score/include/rtems/score/prioritybitmap.h     Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -20,8 +20,8 @@
</font> #define _RTEMS_SCORE_PRIORITYBITMAP_H
 
 /**
<font color='#880000'>- *  @addtogroup ScorePriority<span style="background-color: #FF0000"> </span>
- *<span style="background-color: #FF0000">  </span>
</font><font color='#000088'>+ *  @addtogroup ScorePriority
+ *
</font>  */
 /**@{*/
 
<font color='#997700'>@@ -38,8 +38,8 @@
</font> #include <rtems/score/priority.h>
 
 
<font color='#880000'>-/*<span style="background-color: #FF0000"> </span>
- * The Priority_bit_map_Control variables are instantiated only<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+/*
+ * The Priority_bit_map_Control variables are instantiated only
</font>  * if using the bit map handler.
  */
 

<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/rbtree.h:1.1 rtems/cpukit/score/include/rtems/score/rbtree.h:1.2
--- rtems/cpukit/score/include/rtems/score/rbtree.h:1.1 Mon Apr  4 13:44:16 2011
+++ rtems/cpukit/score/include/rtems/score/rbtree.h     Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -83,12 +83,12 @@
</font>   /**
    * @brief macro to return the structure containing the @a node.
    *
<font color='#880000'>-   * This macro returns a pointer of type @a container_type that points<span style="background-color: #FF0000"> </span>
-   * to the structure containing @a node, where @a node_field_name is the<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+   * This macro returns a pointer of type @a container_type that points
+   * to the structure containing @a node, where @a node_field_name is the
</font>    * field name of the RBTree_Node structure in @a container_type.
    *
    */
<font color='#880000'>-<span style="background-color: #FF0000">  </span>
</font><font color='#000088'>+
</font> #define _RBTree_Container_of(node,container_type, node_field_name) \
   ((container_type*) \
    ((size_t)node - ((size_t)(&((container_type *)0)->node_field_name))))
<font color='#997700'>@@ -107,12 +107,12 @@
</font>    *
    * @note This implementation does not require special checks for
    *   manipulating the root element of the RBT.
<font color='#880000'>-   *   To accomplish this the @a RBTree_Control structure can be overlaid<span style="background-color: #FF0000"> </span>
-   *   with a @ref RBTree_Node structure to act as a "dummy root",<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+   *   To accomplish this the @a RBTree_Control structure can be overlaid
+   *   with a @ref RBTree_Node structure to act as a "dummy root",
</font>    *   which has a NULL parent and its left child is the root.
    */
 
<font color='#880000'>-  /* the RBTree_Control is actually part of the RBTree structure as an<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  /* the RBTree_Control is actually part of the RBTree structure as an
</font>    * RBTree_Node. The mapping of fields from RBTree_Control to RBTree_Node are:
    *   permanent_null == parent
    *   root == left
<font color='#997700'>@@ -201,7 +201,7 @@
</font>    *  @brief Check the min or max node on a rbtree
    *
    *  This function returns a pointer to the min or max node of @a the_rbtree.
<font color='#880000'>-   *  If @a the_rbtree is empty, then NULL is returned. @a dir specifies<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+   *  If @a the_rbtree is empty, then NULL is returned. @a dir specifies
</font>    *  whether to return the min (0) or max (1).
    *
    *  @return This method returns a pointer to a node.
<font color='#997700'>@@ -216,18 +216,18 @@
</font> 
   /** @brief Find the node with given value in the tree
    *
<font color='#880000'>-   *  This function returns a pointer to the node with value equal to @a value<span style="background-color: #FF0000"> </span>
-   *  if it exists in the Red-Black Tree @a the_rbtree, and NULL if not.<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+   *  This function returns a pointer to the node with value equal to @a value
+   *  if it exists in the Red-Black Tree @a the_rbtree, and NULL if not.
</font>    */
   RBTree_Node *_RBTree_Find(
<font color='#880000'>-      RBTree_Control *the_rbtree,<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+      RBTree_Control *the_rbtree,
</font>       unsigned int value
       );
 
<font color='#880000'>-  /** @brief Find the control structure of the tree containing the given node<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  /** @brief Find the control structure of the tree containing the given node
</font>    *
<font color='#880000'>-   *  This function returns a pointer to the control structure of the tree<span style="background-color: #FF0000"> </span>
-   *  containing @a the_node, if it exists, and NULL if not.<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+   *  This function returns a pointer to the control structure of the tree
+   *  containing @a the_node, if it exists, and NULL if not.
</font>    */
   RBTree_Control *_RBTree_Find_header(
       RBTree_Node *the_node
<font color='#997700'>@@ -239,7 +239,7 @@
</font>    *
    *  @retval 0 Successfully inserted.
    *  @retval -1 NULL @a the_node.
<font color='#880000'>-   *  @retval RBTree_Node* if one with equal value to @a the_node->value exists<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+   *  @retval RBTree_Node* if one with equal value to @a the_node->value exists
</font>    *          in @a the_rbtree.
    *
    *  @note It does NOT disable interrupts to ensure the atomicity

<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/schedulerpriority.h:1.8 rtems/cpukit/score/include/rtems/score/schedulerpriority.h:1.9
--- rtems/cpukit/score/include/rtems/score/schedulerpriority.h:1.8      Tue Mar  8 13:27:35 2011
+++ rtems/cpukit/score/include/rtems/score/schedulerpriority.h  Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -68,19 +68,19 @@
</font> void _Scheduler_priority_Initialize(void);
 
 /**
<font color='#880000'>- *  This routine removes @a the_thread from the scheduling decision,<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine removes @a the_thread from the scheduling decision,
</font>  *  that is, removes it from the ready queue.  It performs
  *  any necessary scheduling operations including the selection of
  *  a new heir thread.
  *
  *  @param[in] the_thread is the thread to be blocked
  */
<font color='#880000'>-void _Scheduler_priority_Block(<span style="background-color: #FF0000"> </span>
-  Thread_Control    *the_thread<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void _Scheduler_priority_Block(
+  Thread_Control    *the_thread
</font> );
 
 /**
<font color='#880000'>- *  This kernel routine sets the heir thread to be the next ready thread<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This kernel routine sets the heir thread to be the next ready thread
</font>  *  by invoking the_scheduler->ready_queue->operations->first().
  */
 void _Scheduler_priority_Schedule(void);
<font color='#997700'>@@ -106,7 +106,7 @@
</font> );
 
 /**
<font color='#880000'>- *  This routine updates @a the_thread->scheduler based on @a the_scheduler<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine updates @a the_thread->scheduler based on @a the_scheduler
</font>  *  structures and thread state.
  *
  *  @param[in] the_thread will have its scheduler specific information
<font color='#997700'>@@ -117,14 +117,14 @@
</font> );
 
 /**
<font color='#880000'>- *  This routine adds @a the_thread to the scheduling decision,<span style="background-color: #FF0000"> </span>
- *  that is, adds it to the ready queue and<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine adds @a the_thread to the scheduling decision,
+ *  that is, adds it to the ready queue and
</font>  *  updates any appropriate scheduling variables, for example the heir thread.
  *
  *  @param[in] the_thread will be unblocked
  */
 void _Scheduler_priority_Unblock(
<font color='#880000'>-  Thread_Control    *the_thread<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  Thread_Control    *the_thread
</font> );
 
 /**
<font color='#997700'>@@ -150,7 +150,7 @@
</font> );
 
 /**
<font color='#880000'>- *  This routine puts @a the_thread to the head of the ready queue.<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine puts @a the_thread to the head of the ready queue.
</font>  *  For priority-based ready queues, the thread will be the first thread
  *  at its priority level.
  *

<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/schedulersimple.h:1.2 rtems/cpukit/score/include/rtems/score/schedulersimple.h:1.3
--- rtems/cpukit/score/include/rtems/score/schedulersimple.h:1.2        Thu May 12 08:54:30 2011
+++ rtems/cpukit/score/include/rtems/score/schedulersimple.h    Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -53,7 +53,7 @@
</font> void _Scheduler_simple_Initialize( void );
 
 /**
<font color='#880000'>- *  This routine sets the heir thread to be the next ready thread<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine sets the heir thread to be the next ready thread
</font>  *  on the ready queue by getting the first node in the scheduler
  *  information.
  */
<font color='#997700'>@@ -62,41 +62,41 @@
</font> /**
  *  This routine is invoked when a thread wishes to voluntarily
  *  transfer control of the processor to another thread in the queue.
<font color='#880000'>- *  It will remove the running THREAD from the scheduler.informaiton<span style="background-color: #FF0000"> </span>
- *  (where the ready queue is stored) and place it immediately at the<span style="background-color: #FF0000"> </span>
- *  between the last entry of its priority and the next priority thread.<span style="background-color: #FF0000">  </span>
- *  Reset timeslice and yield the processor functions both use this routine,<span style="background-color: #FF0000"> </span>
- *  therefore if reset is true and this is the only thread on the queue then<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  It will remove the running THREAD from the scheduler.informaiton
+ *  (where the ready queue is stored) and place it immediately at the
+ *  between the last entry of its priority and the next priority thread.
+ *  Reset timeslice and yield the processor functions both use this routine,
+ *  therefore if reset is true and this is the only thread on the queue then
</font>  *  the timeslice counter is reset.  The heir THREAD will be updated if the
  *  running is also the currently the heir.
 */
 void _Scheduler_simple_Yield( void );
 
 /**
<font color='#880000'>- *  This routine removes @a the_thread from the scheduling decision,<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine removes @a the_thread from the scheduling decision,
</font>  *  that is, removes it from the ready queue.  It performs
  *  any necessary scheduling operations including the selection of
  *  a new heir thread.
  *
  *  @param[in] the_thread is the thread that is to be blocked
  */
<font color='#880000'>-void _Scheduler_simple_Block(<span style="background-color: #FF0000"> </span>
-  Thread_Control *the_thread<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void _Scheduler_simple_Block(
+  Thread_Control *the_thread
</font> );
 
 /**
<font color='#880000'>- *  This routine adds @a the_thread to the scheduling decision,<span style="background-color: #FF0000"> </span>
- *  that is, adds it to the ready queue and<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine adds @a the_thread to the scheduling decision,
+ *  that is, adds it to the ready queue and
</font>  *  updates any appropriate scheduling variables, for example the heir thread.
  *
  *  @param[in] the_thread is the thread that is to be unblocked
  */
 void _Scheduler_simple_Unblock(
<font color='#880000'>-  Thread_Control *the_thread<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  Thread_Control *the_thread
</font> );
 
 /**
<font color='#880000'>- *  This routine removes a specific thread from the specified<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine removes a specific thread from the specified
</font>  *  simple-based ready queue.
  *
  *  @param[in] the_thread is the thread to be blocked
<font color='#997700'>@@ -115,7 +115,7 @@
</font> );
 
 /**
<font color='#880000'>- *  This routine puts @a the_thread to the head of the ready queue.<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine puts @a the_thread to the head of the ready queue.
</font>  *  The thread will be the first thread at its priority level.
  *
  *  @param[in] the_thread is the thread to be blocked
<font color='#997700'>@@ -135,7 +135,7 @@
</font>  *  @return this routine returns -1 since this is just an empty placeholder
  *  and the return value may be defined differently by each scheduler.
  */
<font color='#880000'>-void *_Scheduler_simple_Allocate(<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void *_Scheduler_simple_Allocate(
</font>   Thread_Control *the_thread
 );
 
<font color='#997700'>@@ -146,7 +146,7 @@
</font>  *
  *  @param[in] the_thread is the thread to be blocked
  */
<font color='#880000'>-void _Scheduler_simple_Update(<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void _Scheduler_simple_Update(
</font>   Thread_Control *the_thread
 );
 
<font color='#997700'>@@ -157,7 +157,7 @@
</font>  *
  *  @param[in] the_thread is the thread to be blocked
  */
<font color='#880000'>-void _Scheduler_simple_Free(<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void _Scheduler_simple_Free(
</font>   Thread_Control *the_thread
 );
 
<font color='#997700'>@@ -166,7 +166,7 @@
</font>  *
  *  This routine puts @a the_thread on the ready queue
  *  at the end of its priority group.
<font color='#880000'>- *<span style="background-color: #FF0000">  </span>
</font><font color='#000088'>+ *
</font>  *  @param[in] the_thread - pointer to a thread control block
  */
 void _Scheduler_simple_Ready_queue_enqueue(
<font color='#997700'>@@ -178,7 +178,7 @@
</font>  *
  *  This routine puts @a the_thread on to the ready queue
  *  at the beginning of its priority group.
<font color='#880000'>- *<span style="background-color: #FF0000">  </span>
</font><font color='#000088'>+ *
</font>  *  @param[in] the_thread - pointer to a thread control block
  */
 void _Scheduler_simple_Ready_queue_enqueue_first(

<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/schedulersimplesmp.h:1.1 rtems/cpukit/score/include/rtems/score/schedulersimplesmp.h:1.2
--- rtems/cpukit/score/include/rtems/score/schedulersimplesmp.h:1.1     Tue May 17 14:48:43 2011
+++ rtems/cpukit/score/include/rtems/score/schedulersimplesmp.h Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -64,35 +64,35 @@
</font>  *
  *  This routine allocates ready threads to individual cores in an SMP
  *  system.  If the allocation results in a new heir which requires
<font color='#880000'>- *  a dispatch, then the dispatch needed flag for that core is set.<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  a dispatch, then the dispatch needed flag for that core is set.
</font>  */
 void _Scheduler_simple_smp_Schedule( void );
 
 /**
  *  @brief Scheduler Simple SMP Block Method
  *
<font color='#880000'>- *  This routine removes @a the_thread from the scheduling decision,<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine removes @a the_thread from the scheduling decision,
</font>  *  that is, removes it from the ready queue.  It performs
  *  any necessary scheduling operations including the selection of
  *  a new heir thread.
  *
  *  @param[in] the_thread is the thread that is to be blocked
  */
<font color='#880000'>-void _Scheduler_simple_smp_Block(<span style="background-color: #FF0000"> </span>
-  Thread_Control *the_thread<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void _Scheduler_simple_smp_Block(
+  Thread_Control *the_thread
</font> );
 
 /**
  *  @brief Scheduler Simple SMP Unblock Method
  *
<font color='#880000'>- *  This routine adds @a the_thread to the scheduling decision,<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine adds @a the_thread to the scheduling decision,
</font>  *  that is, adds it to the ready queue and updates any appropriate
  *  scheduling variables, for example the heir thread.
  *
  *  @param[in] the_thread is the thread that is to be unblocked
  */
 void _Scheduler_simple_smp_Unblock(
<font color='#880000'>-  Thread_Control *the_thread<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  Thread_Control *the_thread
</font> );
 
 #ifdef __cplusplus

<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/smp.h:1.1 rtems/cpukit/score/include/rtems/score/smp.h:1.2
--- rtems/cpukit/score/include/rtems/score/smp.h:1.1    Wed Apr 27 12:18:59 2011
+++ rtems/cpukit/score/include/rtems/score/smp.h        Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -77,7 +77,7 @@
</font>  *
  *  This method is invoked by RTEMS when it needs to make a request
  *  of the other CPUs.  It should be implemented using some type of
<font color='#880000'>- *  interprocessor interrupt. CPUs not including the originating<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  interprocessor interrupt. CPUs not including the originating
</font>  *  CPU should receive the message.
  *
  *  @param [in] message is message to send

<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/smplock.h:1.2 rtems/cpukit/score/include/rtems/score/smplock.h:1.3
--- rtems/cpukit/score/include/rtems/score/smplock.h:1.2        Fri May 20 07:36:00 2011
+++ rtems/cpukit/score/include/rtems/score/smplock.h    Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -35,7 +35,7 @@
</font> /**
  *  This type is used to lock elements for atomic access.
  *  This spinlock is a simple non-nesting spinlock, and
<font color='#880000'>- *  may be used for short non-nesting accesses.<span style="background-color: #FF0000">  </span>
</font><font color='#000088'>+ *  may be used for short non-nesting accesses.
</font>  */
 typedef uint32_t SMP_lock_spinlock_simple_Control;
 
<font color='#997700'>@@ -106,9 +106,9 @@
</font>  *  This method is used to obtain the lock at @a lock.  ISR's are
  *  disabled when this routine returns and it is the callers responsibility
  *  to either:
<font color='#880000'>- *   1) Do something very short and then call<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *   1) Do something very short and then call
</font>  *      _SMP_lock_spinlock_nested_Release  or
<font color='#880000'>- *   2) Do something very sort, call isr enable, then when ready<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *   2) Do something very sort, call isr enable, then when ready
</font>  *      call isr_disable and _SMP_lock_spinlock_nested_Release
  *
  *  @param [in] lock is the address of the lock to obtain.

<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/thread.h:1.104 rtems/cpukit/score/include/rtems/score/thread.h:1.105
--- rtems/cpukit/score/include/rtems/score/thread.h:1.104       Mon May 23 08:30:15 2011
+++ rtems/cpukit/score/include/rtems/score/thread.h     Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -54,7 +54,7 @@
</font> 
 #if defined(RTEMS_SMP) || \
    (CPU_INLINE_ENABLE_DISPATCH == FALSE) || \
<font color='#880000'>-   (__RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH__ == 1)<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+   (__RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH__ == 1)
</font>   #define __THREAD_DO_NOT_INLINE_ENABLE_DISPATCH__
 #endif
 

<font color='#006600'>diff -u rtems/cpukit/score/src/heapfree.c:1.16 rtems/cpukit/score/src/heapfree.c:1.17
--- rtems/cpukit/score/src/heapfree.c:1.16      Thu Apr 21 14:05:15 2011
+++ rtems/cpukit/score/src/heapfree.c   Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -36,7 +36,7 @@
</font>       _Heap_Alloc_area_of_block( block );
     uintptr_t *const pattern_end = (uintptr_t *)
       ((uintptr_t) block + _Heap_Block_size( block ) + HEAP_ALLOC_BONUS);
<font color='#880000'>-    uintptr_t const delayed_free_block_count =<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    uintptr_t const delayed_free_block_count =
</font>       heap->Protection.delayed_free_block_count;
     uintptr_t *current = NULL;
 
<font color='#997700'>@@ -45,7 +45,7 @@
</font> 
     if ( delayed_free_block_count > 0 ) {
       Heap_Block *const last = heap->Protection.last_delayed_free_block;
<font color='#880000'>-<span style="background-color: #FF0000">      </span>
</font><font color='#000088'>+
</font>       last->Protection_begin.next_delayed_free_block = block;
     } else {
       heap->Protection.first_delayed_free_block = block;
<font color='#997700'>@@ -123,10 +123,10 @@
</font>   if ( alloc_begin_ptr == NULL ) {
     return true;
   }
<font color='#880000'>-<span style="background-color: #FF0000">  </span>
</font><font color='#000088'>+
</font>   alloc_begin = (uintptr_t) alloc_begin_ptr;
   block = _Heap_Block_of_alloc_area( alloc_begin, heap->page_size );
<font color='#880000'>-<span style="background-color: #FF0000">  </span>
</font><font color='#000088'>+
</font>   if ( !_Heap_Is_block_in_heap( heap, block ) ) {
     return false;
   }

<font color='#006600'>diff -u rtems/cpukit/score/src/objectinitializeinformation.c:1.21 rtems/cpukit/score/src/objectinitializeinformation.c:1.22
--- rtems/cpukit/score/src/objectinitializeinformation.c:1.21   Tue Mar  8 17:55:24 2011
+++ rtems/cpukit/score/src/objectinitializeinformation.c        Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -139,7 +139,7 @@
</font>       name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &
                     ~(OBJECTS_NAME_ALIGNMENT-1);
   #endif
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font>   information->name_length = name_length;
 
   _Chain_Initialize_empty( &information->Inactive );

<font color='#006600'>diff -u rtems/cpukit/score/src/rbtree.c:1.1 rtems/cpukit/score/src/rbtree.c:1.2
--- rtems/cpukit/score/src/rbtree.c:1.1 Mon Apr  4 13:44:16 2011
+++ rtems/cpukit/score/src/rbtree.c     Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -47,7 +47,7 @@
</font> 
   /* could do sanity checks here */
   _RBTree_Initialize_empty(the_rbtree);
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font>   count = number_nodes;
   next  = starting_address;
   while ( count-- ) {

<font color='#006600'>diff -u rtems/cpukit/score/src/rbtreeextract.c:1.1 rtems/cpukit/score/src/rbtreeextract.c:1.2
--- rtems/cpukit/score/src/rbtreeextract.c:1.1  Mon Apr  4 13:44:16 2011
+++ rtems/cpukit/score/src/rbtreeextract.c      Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -32,7 +32,7 @@
</font>   RBTree_Node *parent, *sibling;
   RBTree_Direction dir;
 
<font color='#880000'>-  parent = the_node->parent;<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  parent = the_node->parent;
</font>   if(!parent->parent) return;
 
   sibling = _RBTree_Sibling(the_node);
<font color='#997700'>@@ -40,9 +40,9 @@
</font>   /* continue to correct tree as long as the_node is black and not the root */
   while (!_RBTree_Is_red(the_node) && parent->parent) {
 
<font color='#880000'>-    /* if sibling is red, switch parent (black) and sibling colors,<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    /* if sibling is red, switch parent (black) and sibling colors,
</font>      * then rotate parent left, making the sibling be the_node's grandparent.
<font color='#880000'>-     * Now the_node has a black sibling and red parent. After rotation,<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+     * Now the_node has a black sibling and red parent. After rotation,
</font>      * update sibling pointer.
      */
     if (_RBTree_Is_red(sibling)) {
<font color='#997700'>@@ -54,8 +54,8 @@
</font>     }
 
     /* sibling is black, see if both of its children are also black. */
<font color='#880000'>-    if (sibling &&<span style="background-color: #FF0000"> </span>
-        !_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    if (sibling &&
+        !_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&
</font>         !_RBTree_Is_red(sibling->child[RBT_LEFT])) {
         sibling->color = RBT_RED;
         if (_RBTree_Is_red(parent)) {
<font color='#997700'>@@ -66,9 +66,9 @@
</font>         parent = the_node->parent;
         sibling = _RBTree_Sibling(the_node);
     } else if(sibling) {
<font color='#880000'>-      /* at least one of sibling's children is red. we now proceed in two<span style="background-color: #FF0000"> </span>
-       * cases, either the_node is to the left or the right of the parent.<span style="background-color: #FF0000"> </span>
-       * In both cases, first check if one of sibling's children is black,<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+      /* at least one of sibling's children is red. we now proceed in two
+       * cases, either the_node is to the left or the right of the parent.
+       * In both cases, first check if one of sibling's children is black,
</font>        * and if so rotate in the proper direction and update sibling pointer.
        * Then switch the sibling and parent colors, and rotate through parent.
        */
<font color='#997700'>@@ -113,7 +113,7 @@
</font>       the_rbtree->first[RBT_LEFT] = the_node->child[RBT_RIGHT];
     else {
       the_rbtree->first[RBT_LEFT] = the_node->parent;
<font color='#880000'>-      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,
</font>             the_rbtree->first[RBT_LEFT]))
         the_rbtree->first[RBT_LEFT] = NULL;
     }
<font color='#997700'>@@ -124,7 +124,7 @@
</font>       the_rbtree->first[RBT_RIGHT] = the_node->child[RBT_LEFT];
     else {
       the_rbtree->first[RBT_RIGHT] = the_node->parent;
<font color='#880000'>-      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,
</font>             the_rbtree->first[RBT_RIGHT]))
         the_rbtree->first[RBT_RIGHT] = NULL;
     }
<font color='#997700'>@@ -132,8 +132,8 @@
</font> 
   /* if the_node has at most one non-null child then it is safe to proceed
    * check if both children are non-null, if so then we must find a target node
<font color='#880000'>-   * either max in node->child[RBT_LEFT] or min in node->child[RBT_RIGHT],<span style="background-color: #FF0000"> </span>
-   * and replace the_node with the target node. This maintains the binary<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+   * either max in node->child[RBT_LEFT] or min in node->child[RBT_RIGHT],
+   * and replace the_node with the target node. This maintains the binary
</font>    * search tree property, but may violate the red-black properties.
    */
 
<font color='#997700'>@@ -141,14 +141,14 @@
</font>     target = the_node->child[RBT_LEFT]; /* find max in node->child[RBT_LEFT] */
     while (target->child[RBT_RIGHT]) target = target->child[RBT_RIGHT];
 
<font color='#880000'>-    /* if the target node has a child, need to move it up the tree into<span style="background-color: #FF0000"> </span>
-     * target's position (target is the right child of target->parent)<span style="background-color: #FF0000"> </span>
-     * when target vacates it. if there is no child, then target->parent<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    /* if the target node has a child, need to move it up the tree into
+     * target's position (target is the right child of target->parent)
+     * when target vacates it. if there is no child, then target->parent
</font>      * should become NULL. This may cause the coloring to be violated.
      * For now we store the color of the node being deleted in victim_color.
      */
      leaf = target->child[RBT_LEFT];
<font color='#880000'>-    if(leaf) {<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    if(leaf) {
</font>       leaf->parent = target->parent;
     } else {
       /* fix the tree here if the child is a null leaf. */
<font color='#997700'>@@ -168,20 +168,20 @@
</font>     target->child[RBT_LEFT] = the_node->child[RBT_LEFT];
     the_node->child[RBT_LEFT]->parent = target;
 
<font color='#880000'>-    /* finally, update the parent node and recolor. target has completely<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    /* finally, update the parent node and recolor. target has completely
</font>      * replaced the_node, and target's child has moved up the tree if needed.
      * the_node is no longer part of the tree, although it has valid pointers
      * still.
      */
     target->parent = the_node->parent;
     target->color = the_node->color;
<font color='#880000'>-  } else {<span style="background-color: #FF0000"> </span>
-    /* the_node has at most 1 non-null child. Move the child in to<span style="background-color: #FF0000"> </span>
-     * the_node's location in the tree. This may cause the coloring to be<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  } else {
+    /* the_node has at most 1 non-null child. Move the child in to
+     * the_node's location in the tree. This may cause the coloring to be
</font>      * violated. We will fix it later.
      * For now we store the color of the node being deleted in victim_color.
      */
<font color='#880000'>-    leaf = the_node->child[RBT_LEFT] ?<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    leaf = the_node->child[RBT_LEFT] ?
</font>               the_node->child[RBT_LEFT] : the_node->child[RBT_RIGHT];
     if( leaf ) {
       leaf->parent = the_node->parent;
<font color='#997700'>@@ -196,9 +196,9 @@
</font>     the_node->parent->child[dir] = leaf;
   }
 
<font color='#880000'>-  /* fix coloring. leaf has moved up the tree. The color of the deleted<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  /* fix coloring. leaf has moved up the tree. The color of the deleted
</font>    * node is in victim_color. There are three cases:
<font color='#880000'>-   *   1. Deleted a red node, its child must be black. Nothing must be done.<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+   *   1. Deleted a red node, its child must be black. Nothing must be done.
</font>    *   2. Deleted a black node and the child is red. Paint child black.
    *   3. Deleted a black node and its child is black. This requires some
    *      care and rotations.

<font color='#006600'>diff -u rtems/cpukit/score/src/rbtreefind.c:1.1 rtems/cpukit/score/src/rbtreefind.c:1.2
--- rtems/cpukit/score/src/rbtreefind.c:1.1     Mon Apr  4 13:44:16 2011
+++ rtems/cpukit/score/src/rbtreefind.c Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -20,9 +20,9 @@
</font> /*
  *  _RBTree_Find
  *
<font color='#880000'>- *  This kernel routine returns a pointer to the rbtree node containing the<span style="background-color: #FF0000"> </span>
- *  given value within the given tree, if it exists, or NULL otherwise.<span style="background-color: #FF0000"> </span>
- *<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This kernel routine returns a pointer to the rbtree node containing the
+ *  given value within the given tree, if it exists, or NULL otherwise.
+ *
</font>  *  Input parameters:
  *    the_rbtree - pointer to rbtree control
  *    the_value - value of the node to search for

<font color='#006600'>diff -u rtems/cpukit/score/src/rbtreeinsert.c:1.1 rtems/cpukit/score/src/rbtreeinsert.c:1.2
--- rtems/cpukit/score/src/rbtreeinsert.c:1.1   Mon Apr  4 13:44:16 2011
+++ rtems/cpukit/score/src/rbtreeinsert.c       Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -19,9 +19,9 @@
</font> 
 /** @brief Validate and fix-up tree properties for a new insert/colored node
  *
<font color='#880000'>- *  This routine checks and fixes the Red-Black Tree properties based on<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This routine checks and fixes the Red-Black Tree properties based on
</font>  *  @a the_node being just added to the tree.
<font color='#880000'>- *<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *
</font>  *  @note It does NOT disable interrupts to ensure the atomicity of the
  *        append operation.
  */
<font color='#997700'>@@ -37,7 +37,7 @@
</font>   while (_RBTree_Is_red(_RBTree_Parent(the_node))) {
     u = _RBTree_Parent_sibling(the_node);
     g = the_node->parent->parent;
<font color='#880000'>-<span style="background-color: #FF0000">    </span>
</font><font color='#000088'>+
</font>     /* if uncle is red, repaint uncle/parent black and grandparent red */
     if(_RBTree_Is_red(u)) {
       the_node->parent->color = RBT_BLACK;
<font color='#997700'>@@ -47,7 +47,7 @@
</font>     } else { /* if uncle is black */
       RBTree_Direction dir = the_node != the_node->parent->child[0];
       RBTree_Direction pdir = the_node->parent != g->child[0];
<font color='#880000'>-<span style="background-color: #FF0000">      </span>
</font><font color='#000088'>+
</font>       /* ensure node is on the same branch direction as parent */
       if (dir != pdir) {
         _RBTree_Rotate(the_node->parent, pdir);
<font color='#997700'>@@ -55,7 +55,7 @@
</font>       }
       the_node->parent->color = RBT_BLACK;
       g->color = RBT_RED;
<font color='#880000'>-<span style="background-color: #FF0000">      </span>
</font><font color='#000088'>+
</font>       /* now rotate grandparent in the other branch direction (toward uncle) */
       _RBTree_Rotate(g, (1-pdir));
     }
<font color='#997700'>@@ -71,7 +71,7 @@
</font>  *
  *  @retval 0 Successfully inserted.
  *  @retval -1 NULL @a the_node.
<font color='#880000'>- *  @retval RBTree_Node* if one with equal value to @a the_node->value exists<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  @retval RBTree_Node* if one with equal value to @a the_node->value exists
</font>  *          in @a the_rbtree.
  *
  *  @note It does NOT disable interrupts to ensure the atomicity
<font color='#997700'>@@ -92,7 +92,7 @@
</font>     the_rbtree->first[0] = the_rbtree->first[1] = the_node;
     the_node->parent = (RBTree_Node *) the_rbtree;
     the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;
<font color='#880000'>-  } else {<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  } else {
</font>     /* typical binary search tree insert, descend tree to leaf and insert */
     while (iter_node) {
       if(the_node->value == iter_node->value) return(iter_node);
<font color='#997700'>@@ -112,7 +112,7 @@
</font>       }
 
     } /* while(iter_node) */
<font color='#880000'>-<span style="background-color: #FF0000">    </span>
</font><font color='#000088'>+
</font>     /* verify red-black properties */
     _RBTree_Validate_insert_unprotected(the_node);
   }

<font color='#006600'>diff -u rtems/cpukit/score/src/rbtreepeek.c:1.1 rtems/cpukit/score/src/rbtreepeek.c:1.2
--- rtems/cpukit/score/src/rbtreepeek.c:1.1     Mon Apr  4 13:44:16 2011
+++ rtems/cpukit/score/src/rbtreepeek.c Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -20,7 +20,7 @@
</font> /*
  *  _RBTree_Get
  *
<font color='#880000'>- *  This kernel routine returns a pointer to the min or max node on the tree,<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  This kernel routine returns a pointer to the min or max node on the tree,
</font>  *  without removing that node.
  *
  *  Input parameters:

<font color='#006600'>diff -u rtems/cpukit/score/src/schedulerpriorityenqueue.c:1.1 rtems/cpukit/score/src/schedulerpriorityenqueue.c:1.2
--- rtems/cpukit/score/src/schedulerpriorityenqueue.c:1.1       Fri Feb 18 09:12:44 2011
+++ rtems/cpukit/score/src/schedulerpriorityenqueue.c   Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -18,7 +18,7 @@
</font> #include <rtems/score/scheduler.h>
 #include <rtems/score/schedulerpriority.h>
 
<font color='#880000'>-void _Scheduler_priority_Enqueue(<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void _Scheduler_priority_Enqueue(
</font>   Thread_Control      *the_thread
 )
 {

<font color='#006600'>diff -u rtems/cpukit/score/src/schedulerpriorityenqueuefirst.c:1.1 rtems/cpukit/score/src/schedulerpriorityenqueuefirst.c:1.2
--- rtems/cpukit/score/src/schedulerpriorityenqueuefirst.c:1.1  Fri Feb 18 09:12:44 2011
+++ rtems/cpukit/score/src/schedulerpriorityenqueuefirst.c      Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -18,7 +18,7 @@
</font> #include <rtems/score/chain.h>
 #include <rtems/score/schedulerpriority.h>
 
<font color='#880000'>-void _Scheduler_priority_Enqueue_first(<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void _Scheduler_priority_Enqueue_first(
</font>   Thread_Control      *the_thread
 )
 {

<font color='#006600'>diff -u rtems/cpukit/score/src/schedulerpriorityextract.c:1.2 rtems/cpukit/score/src/schedulerpriorityextract.c:1.3
--- rtems/cpukit/score/src/schedulerpriorityextract.c:1.2       Sun Feb 27 18:10:38 2011
+++ rtems/cpukit/score/src/schedulerpriorityextract.c   Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -19,7 +19,7 @@
</font> #include <rtems/score/chain.h>
 #include <rtems/score/schedulerpriority.h>
 
<font color='#880000'>-void _Scheduler_priority_Extract(<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void _Scheduler_priority_Extract(
</font>   Thread_Control      *the_thread
 )
 {

<font color='#006600'>diff -u rtems/cpukit/score/src/schedulerpriorityupdate.c:1.2 rtems/cpukit/score/src/schedulerpriorityupdate.c:1.3
--- rtems/cpukit/score/src/schedulerpriorityupdate.c:1.2        Sun Feb 27 18:10:38 2011
+++ rtems/cpukit/score/src/schedulerpriorityupdate.c    Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -35,8 +35,8 @@
</font> 
   sched_info->ready_chain = &rq[ the_thread->current_priority ];
 
<font color='#880000'>-  _Priority_bit_map_Initialize_information(<span style="background-color: #FF0000"> </span>
-    &sched_info->Priority_map,<span style="background-color: #FF0000"> </span>
-    the_thread->current_priority<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  _Priority_bit_map_Initialize_information(
+    &sched_info->Priority_map,
+    the_thread->current_priority
</font>   );
 }

<font color='#006600'>diff -u rtems/cpukit/score/src/schedulersimple.c:1.1 rtems/cpukit/score/src/schedulersimple.c:1.2
--- rtems/cpukit/score/src/schedulersimple.c:1.1        Wed Mar 16 11:32:21 2011
+++ rtems/cpukit/score/src/schedulersimple.c    Mon May 23 21:44:57 2011
</font><font color='#997700'>@@ -29,12 +29,12 @@
</font> /**
  * This routine does nothing, and is used as a stub for Schedule allocate
  *
<font color='#880000'>- * Note: returns a non-zero value, or else thread initialize thinks the<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ * Note: returns a non-zero value, or else thread initialize thinks the
</font>  * allocation failed.
  *
  * The overhead of a function call will still be imposed.
  */
<font color='#880000'>-void * _Scheduler_simple_Allocate(<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void * _Scheduler_simple_Allocate(
</font>   Thread_Control *the_thread
 )
 {
<font color='#997700'>@@ -47,7 +47,7 @@
</font>  *
  * The overhead of a function call will still be imposed.
  */
<font color='#880000'>-void _Scheduler_simple_Update(<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void _Scheduler_simple_Update(
</font>   Thread_Control *the_thread
 )
 {
<font color='#997700'>@@ -58,7 +58,7 @@
</font>  *
  * The overhead of a function call will still be imposed.
  */
<font color='#880000'>-void _Scheduler_simple_Free(<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void _Scheduler_simple_Free(
</font>   Thread_Control *the_thread
 )
 {
<font color='#997700'>@@ -71,7 +71,7 @@
</font> {
   void *f;
 
<font color='#880000'>-  /*<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  /*
</font>    * Initialize Ready Queue
    */
 

<font color='#006600'>diff -u rtems/cpukit/score/src/schedulersimpleextract.c:1.1 rtems/cpukit/score/src/schedulersimpleextract.c:1.2
--- rtems/cpukit/score/src/schedulersimpleextract.c:1.1 Wed Mar 16 11:32:22 2011
+++ rtems/cpukit/score/src/schedulersimpleextract.c     Mon May 23 21:44:58 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  Schedule Simple Handler / Extract<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ *  Schedule Simple Handler / Extract
</font>  *
  *  COPYRIGHT (c) 2011.
  *  On-Line Applications Research Corporation (OAR).

<font color='#006600'>diff -u rtems/cpukit/score/src/schedulersimpleschedule.c:1.1 rtems/cpukit/score/src/schedulersimpleschedule.c:1.2
--- rtems/cpukit/score/src/schedulersimpleschedule.c:1.1        Wed Mar 16 11:32:22 2011
+++ rtems/cpukit/score/src/schedulersimpleschedule.c    Mon May 23 21:44:58 2011
</font><font color='#997700'>@@ -28,7 +28,7 @@
</font> 
 void _Scheduler_simple_Schedule(void)
 {
<font color='#880000'>-  _Thread_Heir = (Thread_Control *) _Chain_First(<span style="background-color: #FF0000"> </span>
-    (Chain_Control *) _Scheduler.information<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  _Thread_Heir = (Thread_Control *) _Chain_First(
+    (Chain_Control *) _Scheduler.information
</font>   );
 }

<font color='#006600'>diff -u rtems/cpukit/score/src/schedulersimplesmpschedule.c:1.1 rtems/cpukit/score/src/schedulersimplesmpschedule.c:1.2
--- rtems/cpukit/score/src/schedulersimplesmpschedule.c:1.1     Tue May 17 14:48:43 2011
+++ rtems/cpukit/score/src/schedulersimplesmpschedule.c Mon May 23 21:44:58 2011
</font><font color='#997700'>@@ -33,7 +33,7 @@
</font> #if 0
 #define D(format,...) printk( format, __VA_ARGS__)
 #else
<font color='#880000'>-#define D(format,...)<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+#define D(format,...)
</font> #endif
 
 /**
<font color='#997700'>@@ -144,7 +144,7 @@
</font>      *  for this thread to be placed.
      *
      *  Check 1: heir of potential CPU is more important
<font color='#880000'>-     *           then heir of current CPU.  We want to<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+     *           then heir of current CPU.  We want to
</font>      *           replace the least important thread possible.
      */
     if ( h->current_priority > pheir->current_priority ) {
<font color='#997700'>@@ -164,7 +164,7 @@
</font>      *
      *           Which CPU has had its executing thread longer?
      */
<font color='#880000'>-    if ( _Timestamp_Less_than(<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+    if ( _Timestamp_Less_than(
</font>            &_Per_CPU_Information[cpu].time_of_last_context_switch,
            &_Per_CPU_Information[found_cpu].time_of_last_context_switch
          ) ) {
<font color='#997700'>@@ -187,7 +187,7 @@
</font>       D( "SCHED CPU=%d PHeir=0x%08x considering=0x%08x PREEMPTIBLE\n",
         cpu, h->Object.id, consider->Object.id );
       continue;
<font color='#880000'>-<span style="background-color: #FF0000">    </span>
</font><font color='#000088'>+
</font>     }
   }
 
<font color='#997700'>@@ -216,7 +216,7 @@
</font>    *  scheduling needs to examine more threads.
    */
   return found;
<font color='#880000'>-}<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+}
</font> 
 /*
  *  Reschedule threads -- select heirs for all cores

<font color='#006600'>diff -u rtems/cpukit/score/src/schedulersimpleyield.c:1.2 rtems/cpukit/score/src/schedulersimpleyield.c:1.3
--- rtems/cpukit/score/src/schedulersimpleyield.c:1.2   Tue May 17 14:49:26 2011
+++ rtems/cpukit/score/src/schedulersimpleyield.c       Mon May 23 21:44:58 2011
</font><font color='#997700'>@@ -28,13 +28,13 @@
</font> 
   executing = _Thread_Executing;
   _ISR_Disable( level );
<font color='#880000'>-<span style="background-color: #FF0000">      </span>
</font><font color='#000088'>+
</font>     _Scheduler_simple_Ready_queue_requeue(&_Scheduler, executing);
 
     _ISR_Flash( level );
 
     _Scheduler_simple_Schedule();
<font color='#880000'>-<span style="background-color: #FF0000">    </span>
</font><font color='#000088'>+
</font>     if ( !_Thread_Is_heir( executing ) )
       _Thread_Dispatch_necessary = true;
 

<font color='#006600'>diff -u rtems/cpukit/score/src/smp.c:1.4 rtems/cpukit/score/src/smp.c:1.5
--- rtems/cpukit/score/src/smp.c:1.4    Fri May 20 07:36:01 2011
+++ rtems/cpukit/score/src/smp.c        Mon May 23 21:44:58 2011
</font><font color='#997700'>@@ -66,7 +66,7 @@
</font>    *  HACK: Should not have to enable interrupts in real system here.
    *        It should happen as part of switching to the first task.
    */
<font color='#880000'>-<span style="background-color: #FF0000">   </span>
</font><font color='#000088'>+
</font>   _Per_CPU_Information[cpu].isr_nest_level = 1;
   _ISR_Set_level( 0 );
   while(1) ;
<font color='#997700'>@@ -119,7 +119,7 @@
</font>   }
 }
 
<font color='#880000'>-void rtems_smp_send_message(<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+void rtems_smp_send_message(
</font>   int       cpu,
   uint32_t  message
 )

<font color='#006600'>diff -u rtems/cpukit/score/src/smplock.c:1.2 rtems/cpukit/score/src/smplock.c:1.3
--- rtems/cpukit/score/src/smplock.c:1.2        Fri May 20 07:36:01 2011
+++ rtems/cpukit/score/src/smplock.c    Mon May 23 21:44:58 2011
</font><font color='#997700'>@@ -35,7 +35,7 @@
</font>    ISR_Level  level;
    uint32_t   value = 1;
    uint32_t   previous;
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font>    /* Note: Disable provides an implicit memory barrier. */
   _ISR_Disable( level );
    do {
<font color='#997700'>@@ -72,7 +72,7 @@
</font>   int        cpu_id;
 
   /* Note: Disable provides an implicit memory barrier. */
<font color='#880000'>-  _ISR_Disable( level );<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+  _ISR_Disable( level );
</font> 
   cpu_id = bsp_smp_processor_id();
 
<font color='#997700'>@@ -81,7 +81,7 @@
</font>     lock->count++;
     return level;
   }
<font color='#880000'>-<span style="background-color: #FF0000">    </span>
</font><font color='#000088'>+
</font>   do {
     SMP_CPU_SWAP( lock, value, previous );
   } while (previous == 1);
<font color='#997700'>@@ -102,6 +102,6 @@
</font>     printk ("Releasing spinlock when count is already zero?!?!\n");
 #endif
   lock->count--;
<font color='#880000'>-<span style="background-color: #FF0000">  </span>
-  _ISR_Enable( level );<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
+  _ISR_Enable( level );
</font> }

<font color='#006600'>diff -u rtems/cpukit/score/src/threadcreateidle.c:1.19 rtems/cpukit/score/src/threadcreateidle.c:1.20
--- rtems/cpukit/score/src/threadcreateidle.c:1.19      Wed May 11 09:22:35 2011
+++ rtems/cpukit/score/src/threadcreateidle.c   Mon May 23 21:44:58 2011
</font><font color='#997700'>@@ -37,7 +37,7 @@
</font> static inline void _Thread_Create_idle_helper(
   uint32_t name_u32,
   int      cpu
<font color='#880000'>-)<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+)
</font> {
   Objects_Name    name;
   Thread_Control *idle;

<font color='#006600'>diff -u rtems/cpukit/score/src/threadget.c:1.17 rtems/cpukit/score/src/threadget.c:1.18
--- rtems/cpukit/score/src/threadget.c:1.17     Wed Mar  9 10:19:37 2011
+++ rtems/cpukit/score/src/threadget.c  Mon May 23 21:44:58 2011
</font><font color='#997700'>@@ -80,7 +80,7 @@
</font>    *  is actually a test case in sp43 for this which trips it whether or
    *  not POSIX is enabled.  So in the interest of safety, this is left
    *  on in all configurations.
<font color='#880000'>-   */<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+   */
</font>   if ( !api_information ) {
     *location = OBJECTS_ERROR;
     goto done;

<font color='#006600'>diff -u rtems/cpukit/score/src/threadsetstate.c:1.11 rtems/cpukit/score/src/threadsetstate.c:1.12
--- rtems/cpukit/score/src/threadsetstate.c:1.11        Thu Feb 17 16:21:44 2011
+++ rtems/cpukit/score/src/threadsetstate.c     Mon May 23 21:44:58 2011
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> )
 {
   ISR_Level      level;
<font color='#880000'>-<span style="background-color: #FF0000">  </span>
</font><font color='#000088'>+
</font>   _ISR_Disable( level );
   if ( !_States_Is_ready( the_thread->current_state ) ) {
     the_thread->current_state =

<font color='#006600'>diff -u rtems/cpukit/score/src/threadsettransient.c:1.9 rtems/cpukit/score/src/threadsettransient.c:1.10
--- rtems/cpukit/score/src/threadsettransient.c:1.9     Fri Feb 18 09:12:44 2011
+++ rtems/cpukit/score/src/threadsettransient.c Mon May 23 21:44:58 2011
</font><font color='#997700'>@@ -41,7 +41,7 @@
</font> {
   ISR_Level             level;
   uint32_t              old_state;
<font color='#880000'>-<span style="background-color: #FF0000">  </span>
</font><font color='#000088'>+
</font>   _ISR_Disable( level );
 
   old_state = the_thread->current_state;
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-05-24 Ralf Corsépius <ralf.corsepius@rtems.org>

        * score/include/rtems/score/percpu.h,
        score/include/rtems/score/prioritybitmap.h,
        score/include/rtems/score/rbtree.h,
        score/include/rtems/score/schedulerpriority.h,
        score/include/rtems/score/schedulersimple.h,
        score/include/rtems/score/schedulersimplesmp.h,
        score/include/rtems/score/smp.h,
        score/include/rtems/score/smplock.h,
        score/include/rtems/score/thread.h,
        score/src/heapfree.c,
        score/src/objectinitializeinformation.c,
        score/src/rbtree.c, score/src/rbtreeextract.c,
        score/src/rbtreefind.c, score/src/rbtreeinsert.c,
        score/src/rbtreepeek.c, score/src/schedulerpriorityenqueue.c,
        score/src/schedulerpriorityenqueuefirst.c,
        score/src/schedulerpriorityextract.c,
        score/src/schedulerpriorityupdate.c,
        score/src/schedulersimple.c,
        score/src/schedulersimpleextract.c,
        score/src/schedulersimpleschedule.c,
        score/src/schedulersimplesmpschedule.c,
        score/src/schedulersimpleyield.c,
        score/src/smp.c, score/src/smplock.c,
        score/src/threadcreateidle.c, score/src/threadget.c,
        score/src/threadsetstate.c, score/src/threadsettransient.c:
        Remove white-spaces.
</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.2844&r2=text&tr2=1.2845&diff_format=h">M</a></td><td width='1%'>1.2845</td><td width='100%'>cpukit/ChangeLog</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2844 rtems/cpukit/ChangeLog:1.2845
--- rtems/cpukit/ChangeLog:1.2844       Mon May 23 11:06:22 2011
+++ rtems/cpukit/ChangeLog      Mon May 23 21:45:18 2011
</font><font color='#997700'>@@ -1,3 +1,32 @@
</font><font color='#000088'>+2011-05-24    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * score/include/rtems/score/percpu.h,
+       score/include/rtems/score/prioritybitmap.h,
+       score/include/rtems/score/rbtree.h,
+       score/include/rtems/score/schedulerpriority.h,
+       score/include/rtems/score/schedulersimple.h,
+       score/include/rtems/score/schedulersimplesmp.h,
+       score/include/rtems/score/smp.h,
+       score/include/rtems/score/smplock.h,
+       score/include/rtems/score/thread.h,
+       score/src/heapfree.c,
+       score/src/objectinitializeinformation.c,
+       score/src/rbtree.c, score/src/rbtreeextract.c,
+       score/src/rbtreefind.c, score/src/rbtreeinsert.c,
+       score/src/rbtreepeek.c, score/src/schedulerpriorityenqueue.c,
+       score/src/schedulerpriorityenqueuefirst.c,
+       score/src/schedulerpriorityextract.c,
+       score/src/schedulerpriorityupdate.c,
+       score/src/schedulersimple.c,
+       score/src/schedulersimpleextract.c,
+       score/src/schedulersimpleschedule.c,
+       score/src/schedulersimplesmpschedule.c,
+       score/src/schedulersimpleyield.c,
+       score/src/smp.c, score/src/smplock.c,
+       score/src/threadcreateidle.c, score/src/threadget.c,
+       score/src/threadsetstate.c, score/src/threadsettransient.c:
+       Remove white-spaces.
+
</font> 2011-05-23        Marta Rybczynska <marta.rybczynska@kalray.eu>
 
        PR 1805/cpukit
</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>