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

        * sp04/tswitch.c, sp07/task1.c, sp07/task2.c, sp09/screen07.c,
        sp11/task1.c, sp11/task2.c, sp12/pridrv.c, sp12/pritask.c,
        sp13/task1.c, sp14/asr.c, sp14/task1.c, sp19/first.c, sp19/fptask.c,
        sp19/inttest.h, sp19/task1.c, sp20/task1.c, sp25/task1.c,
        sp26/task1.c, sp28/init.c, sp29/init.c, sp31/task1.c, sp32/init.c,
        sp33/init.c, sp34/changepri.c, sp36/strict_order_mut.c, sp37/init.c,
        sp43/init.c, sp44/init.c, sp48/init.c, sp54/init.c, sp59/init.c,
        sp65/init.c, sp68/init.c, spchain/init.c, spclockget/init.c,
        spfatal03/testcase.h, spfatal07/testcase.h, spfatal_support/init.c:
        Do not line length exceed 80 columns.
</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.460&r2=text&tr2=1.461&diff_format=h">M</a></td><td width='1%'>1.461</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/sp04/tswitch.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%'>testsuites/sptests/sp04/tswitch.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp07/task1.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%'>testsuites/sptests/sp07/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp07/task2.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%'>testsuites/sptests/sp07/task2.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp09/screen07.c.diff?r1=text&tr1=1.25&r2=text&tr2=1.26&diff_format=h">M</a></td><td width='1%'>1.26</td><td width='100%'>testsuites/sptests/sp09/screen07.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp11/task1.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%'>testsuites/sptests/sp11/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp11/task2.c.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>testsuites/sptests/sp11/task2.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp12/pridrv.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%'>testsuites/sptests/sp12/pridrv.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp12/pritask.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%'>testsuites/sptests/sp12/pritask.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp13/task1.c.diff?r1=text&tr1=1.28&r2=text&tr2=1.29&diff_format=h">M</a></td><td width='1%'>1.29</td><td width='100%'>testsuites/sptests/sp13/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp14/asr.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>testsuites/sptests/sp14/asr.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp14/task1.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%'>testsuites/sptests/sp14/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp19/first.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%'>testsuites/sptests/sp19/first.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp19/fptask.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%'>testsuites/sptests/sp19/fptask.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp19/inttest.h.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>testsuites/sptests/sp19/inttest.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp19/task1.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>testsuites/sptests/sp19/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp20/task1.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%'>testsuites/sptests/sp20/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp25/task1.c.diff?r1=text&tr1=1.20&r2=text&tr2=1.21&diff_format=h">M</a></td><td width='1%'>1.21</td><td width='100%'>testsuites/sptests/sp25/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp26/task1.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%'>testsuites/sptests/sp26/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp28/init.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%'>testsuites/sptests/sp28/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp29/init.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>testsuites/sptests/sp29/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp31/task1.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%'>testsuites/sptests/sp31/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp32/init.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%'>testsuites/sptests/sp32/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp33/init.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>testsuites/sptests/sp33/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp34/changepri.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%'>testsuites/sptests/sp34/changepri.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp36/strict_order_mut.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>testsuites/sptests/sp36/strict_order_mut.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp37/init.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%'>testsuites/sptests/sp37/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp43/init.c.diff?r1=text&tr1=1.26&r2=text&tr2=1.27&diff_format=h">M</a></td><td width='1%'>1.27</td><td width='100%'>testsuites/sptests/sp43/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp44/init.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>testsuites/sptests/sp44/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp48/init.c.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%'>testsuites/sptests/sp48/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp54/init.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>testsuites/sptests/sp54/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp59/init.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>testsuites/sptests/sp59/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp65/init.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%'>testsuites/sptests/sp65/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp68/init.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>testsuites/sptests/sp68/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spchain/init.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%'>testsuites/sptests/spchain/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spclockget/init.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>testsuites/sptests/spclockget/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spfatal03/testcase.h.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>testsuites/sptests/spfatal03/testcase.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spfatal07/testcase.h.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>testsuites/sptests/spfatal07/testcase.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spfatal_support/init.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%'>testsuites/sptests/spfatal_support/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.460 rtems/testsuites/sptests/ChangeLog:1.461
--- rtems/testsuites/sptests/ChangeLog:1.460    Fri Jul  8 11:51:35 2011
+++ rtems/testsuites/sptests/ChangeLog  Sun Jul 24 17:10:15 2011
</font><font color='#997700'>@@ -1,3 +1,16 @@
</font><font color='#000088'>+2011-07-24    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * sp04/tswitch.c, sp07/task1.c, sp07/task2.c, sp09/screen07.c,
+       sp11/task1.c, sp11/task2.c, sp12/pridrv.c, sp12/pritask.c,
+       sp13/task1.c, sp14/asr.c, sp14/task1.c, sp19/first.c, sp19/fptask.c,
+       sp19/inttest.h, sp19/task1.c, sp20/task1.c, sp25/task1.c,
+       sp26/task1.c, sp28/init.c, sp29/init.c, sp31/task1.c, sp32/init.c,
+       sp33/init.c, sp34/changepri.c, sp36/strict_order_mut.c, sp37/init.c,
+       sp43/init.c, sp44/init.c, sp48/init.c, sp54/init.c, sp59/init.c,
+       sp65/init.c, sp68/init.c, spchain/init.c, spclockget/init.c,
+       spfatal03/testcase.h, spfatal07/testcase.h, spfatal_support/init.c:
+       Do not line length exceed 80 columns.
+
</font> 2011-07-08        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * sp09/screen07.c, sp09/sp09.scn: Add a case where the multiply of

<font color='#006600'>diff -u rtems/testsuites/sptests/sp04/tswitch.c:1.21 rtems/testsuites/sptests/sp04/tswitch.c:1.22
--- rtems/testsuites/sptests/sp04/tswitch.c:1.21        Tue Feb 22 01:36:58 2011
+++ rtems/testsuites/sptests/sp04/tswitch.c     Sun Jul 24 17:10:16 2011
</font><font color='#997700'>@@ -1,14 +1,4 @@
</font><font color='#880000'>-/*  Task_switch
- *
- *  This routine is the tswitch user extension.  It determines which
- *  task is being switched to and displays a message indicating the
- *  time and date that it gained control.
- *
- *  Input parameters:
- *    unused  - pointer to currently running TCB
- *    heir    - pointer to heir TCB
- *
- *  Output parameters:  NONE
</font><font color='#000088'>+/*
</font>  *
  *  COPYRIGHT (c) 1989-2011.
  *  On-Line Applications Research Corporation (OAR).
<font color='#997700'>@@ -29,7 +19,9 @@
</font> /*
  *  Only require 10 task switches on sis/gdb.  --joel 2 Feb 2011
  */
<font color='#880000'>-struct taskSwitchLog taskSwitchLog[25];
</font><font color='#000088'>+#define MAX_TASK_SWITCH_LOGS 25
+
+struct taskSwitchLog taskSwitchLog[MAX_TASK_SWITCH_LOGS];
</font> unsigned int taskSwitchLogIndex;
 volatile int testsFinished;
 
<font color='#997700'>@@ -53,7 +45,7 @@
</font>       status = rtems_clock_get_tod( &time );
       directive_failed_with_level( status, "rtems_clock_get_tod", 1 );
 
<font color='#880000'>-      if (taskSwitchLogIndex < (sizeof taskSwitchLog / sizeof taskSwitchLog[0])) {
</font><font color='#000088'>+      if (taskSwitchLogIndex < MAX_TASK_SWITCH_LOGS ) {
</font>         taskSwitchLog[taskSwitchLogIndex].taskIndex = index;
         taskSwitchLog[taskSwitchLogIndex].when = time;
         taskSwitchLogIndex++;

<font color='#006600'>diff -u rtems/testsuites/sptests/sp07/task1.c:1.14 rtems/testsuites/sptests/sp07/task1.c:1.15
--- rtems/testsuites/sptests/sp07/task1.c:1.14  Tue Feb 22 01:36:58 2011
+++ rtems/testsuites/sptests/sp07/task1.c       Sun Jul 24 17:10:16 2011
</font><font color='#997700'>@@ -1,14 +1,5 @@
</font><font color='#880000'>-/*  Task_1
- *
- *  This routine serves as a test task.  It verifies intertask communication
- *  using task notepads and verifies the the user extensions (tcreate, etc).
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -44,7 +35,8 @@
</font>   );
   directive_failed( status, "rtems_task_set_priority" );
   printf(
<font color='#880000'>-    "TA1 - rtems_task_set_priority - get initial priority of self: %02" PRIdrtems_task_priority "\n",
</font><font color='#000088'>+    "TA1 - rtems_task_set_priority - get initial "
+       "priority of self: %02" PRIdrtems_task_priority "\n",
</font>     the_priority
   );
 
<font color='#997700'>@@ -52,8 +44,9 @@
</font>     status = rtems_task_get_note( my_id, RTEMS_NOTEPAD_8, &the_priority );
     directive_failed( status, "rtems_task_get_note" );
     printf(
<font color='#880000'>-"TA1 - rtems_task_get_note - get RTEMS_NOTEPAD_8 - current priority: %02" PRIdrtems_task_priority "\n",
-       the_priority
</font><font color='#000088'>+      "TA1 - rtems_task_get_note - get RTEMS_NOTEPAD_8 - "
+         "current priority: %02" PRIdrtems_task_priority "\n",
+      the_priority
</font>     );
 
     if ( --the_priority == 0 ) {
<font color='#997700'>@@ -72,14 +65,18 @@
</font>       directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
     }
 
<font color='#880000'>-    printf( "TA1 - rtems_task_set_note - set TA2's RTEMS_NOTEPAD_8: %02" PRIdrtems_task_priority "\n",
-            the_priority
</font><font color='#000088'>+    printf(
+      "TA1 - rtems_task_set_note - set TA2's RTEMS_NOTEPAD_8: "
+          "%02" PRIdrtems_task_priority "\n",
+      the_priority
</font>     );
     status = rtems_task_set_note( Task_id[ 2 ], RTEMS_NOTEPAD_8, the_priority );
     directive_failed( status, "rtems_task_set_note" );
 
<font color='#880000'>-    printf( "TA1 - rtems_task_set_priority - set TA2's priority: %02" PRIdrtems_task_priority "\n",
-            the_priority
</font><font color='#000088'>+    printf(
+      "TA1 - rtems_task_set_priority - set TA2's priority: "
+          "%02" PRIdrtems_task_priority "\n",
+      the_priority
</font>     );
     status = rtems_task_set_priority(
                Task_id[ 2 ],

<font color='#006600'>diff -u rtems/testsuites/sptests/sp07/task2.c:1.10 rtems/testsuites/sptests/sp07/task2.c:1.11
--- rtems/testsuites/sptests/sp07/task2.c:1.10  Tue Feb 22 01:36:58 2011
+++ rtems/testsuites/sptests/sp07/task2.c       Sun Jul 24 17:10:16 2011
</font><font color='#997700'>@@ -1,14 +1,5 @@
</font><font color='#880000'>-/*  Task_2
- *
- *  This routine serves as a test task.  Plays with priorities to verify
- *  that the highest priority task is always executed.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -37,7 +28,8 @@
</font>     status = rtems_task_get_note( RTEMS_SELF, RTEMS_NOTEPAD_8, &the_priority );
     directive_failed( status, "rtems_task_get_note" );
     printf(
<font color='#880000'>-"TA2 - rtems_task_get_note - get RTEMS_NOTEPAD_8 - current priority: %02" PRIdrtems_task_priority "\n",
</font><font color='#000088'>+      "TA2 - rtems_task_get_note - get RTEMS_NOTEPAD_8 - "
+          "current priority: %02" PRIdrtems_task_priority "\n",
</font>       the_priority
     );
 
<font color='#997700'>@@ -61,14 +53,18 @@
</font> 
     } else {
 
<font color='#880000'>-      printf( "TA2 - rtems_task_set_note - set TA1's RTEMS_NOTEPAD_8: %02" PRIdrtems_task_priority "\n",
-              the_priority
</font><font color='#000088'>+      printf(
+        "TA2 - rtems_task_set_note - set TA1's RTEMS_NOTEPAD_8: "
+            "%02" PRIdrtems_task_priority "\n",
+        the_priority
</font>       );
       status = rtems_task_set_note(Task_id[ 1 ], RTEMS_NOTEPAD_8, the_priority);
       directive_failed( status, "rtems_task_set_note" );
 
<font color='#880000'>-      printf( "TA2 - rtems_task_set_priority - set TA1's priority: %02" PRIdrtems_task_priority "\n",
-              the_priority
</font><font color='#000088'>+      printf(
+        "TA2 - rtems_task_set_priority - set TA1's priority: "
+            "%02" PRIdrtems_task_priority "\n",
+        the_priority
</font>       );
       status = rtems_task_set_priority(
                  Task_id[ 1 ],

<font color='#006600'>diff -u rtems/testsuites/sptests/sp09/screen07.c:1.25 rtems/testsuites/sptests/sp09/screen07.c:1.26
--- rtems/testsuites/sptests/sp09/screen07.c:1.25       Fri Jul  8 11:51:35 2011
+++ rtems/testsuites/sptests/sp09/screen07.c    Sun Jul 24 17:10:16 2011
</font><font color='#997700'>@@ -1,12 +1,5 @@
</font><font color='#880000'>-/*  Screen7
- *
- *  This routine generates error screen 7 for test 9.
- *
- *  Input parameters:  NONE
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -260,7 +253,10 @@
</font>     RTEMS_INVALID_ADDRESS,
     "rtems_message_queue_receive NULL buffer"
   );
<font color='#880000'>-  puts( "TA1 - rtems_message_queue_receive - Q 1 - RTEMS_INVALID_ADDRESS NULL buffer" );
</font><font color='#000088'>+  puts(
+    "TA1 - rtems_message_queue_receive - Q 1 - "
+      "RTEMS_INVALID_ADDRESS NULL buffer"
+  );
</font> 
   status = rtems_message_queue_receive(
     Queue_id[ 1 ],
<font color='#997700'>@@ -274,7 +270,10 @@
</font>     RTEMS_INVALID_ADDRESS,
     "rtems_message_queue_receive NULL size"
   );
<font color='#880000'>-  puts( "TA1 - rtems_message_queue_receive - Q 1 - RTEMS_INVALID_ADDRESS NULL size" );
</font><font color='#000088'>+  puts(
+    "TA1 - rtems_message_queue_receive - Q 1 - "
+      "RTEMS_INVALID_ADDRESS NULL size"
+  );
</font> 
   status = rtems_message_queue_receive(
     Queue_id[ 1 ],
<font color='#997700'>@@ -393,6 +392,8 @@
</font>     RTEMS_INVALID_ADDRESS,
     "rtems_message_queue_broadcast with NULL count"
   );
<font color='#880000'>-  puts( "TA1 - rtems_message_queue_broadcast - NULL count - RTEMS_INVALID_ADDRESS" );
</font><font color='#000088'>+  puts(
+    "TA1 - rtems_message_queue_broadcast - NULL count - RTEMS_INVALID_ADDRESS"
+  );
</font> 
 }

<font color='#006600'>diff -u rtems/testsuites/sptests/sp11/task1.c:1.16 rtems/testsuites/sptests/sp11/task1.c:1.17
--- rtems/testsuites/sptests/sp11/task1.c:1.16  Tue Feb 22 01:36:58 2011
+++ rtems/testsuites/sptests/sp11/task1.c       Sun Jul 24 17:10:16 2011
</font><font color='#997700'>@@ -1,13 +1,5 @@
</font><font color='#880000'>-/*  Task_1
- *
- *  This routine serves as a test task.  It verifies the event maager.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -30,7 +22,7 @@
</font>   rtems_event_set   eventout;
   rtems_time_of_day time;
   rtems_status_code status;
<font color='#880000'>-  uint32_t    index;
</font><font color='#000088'>+  uint32_t          index;
</font> 
   puts( "TA1 - rtems_event_send - send RTEMS_EVENT_16 to TA2" );
   status = rtems_event_send( Task_id[ 2 ], RTEMS_EVENT_16 );
<font color='#997700'>@@ -48,7 +40,8 @@
</font>   );
   directive_failed( status, "rtems_event_receive" );
   printf(
<font color='#880000'>-    "TA1 - RTEMS_EVENT_14 and RTEMS_EVENT_15 received - eventout => %08" PRIxrtems_event_set "\n",
</font><font color='#000088'>+    "TA1 - RTEMS_EVENT_14 and RTEMS_EVENT_15 received - "
+      "eventout => %08" PRIxrtems_event_set "\n",
</font>     eventout
   );
 
<font color='#997700'>@@ -57,7 +50,8 @@
</font>   directive_failed( status, "rtems_event_send" );
 
   puts(
<font color='#880000'>-  "TA1 - rtems_event_receive - waiting with 10 second timeout on RTEMS_EVENT_14"
</font><font color='#000088'>+    "TA1 - rtems_event_receive - waiting with 10 second timeout "
+      "on RTEMS_EVENT_14"
</font>   );
   status = rtems_event_receive(
     RTEMS_EVENT_14,
<font color='#997700'>@@ -66,7 +60,11 @@
</font>     &eventout
   );
   directive_failed( status, "rtems_event_receive" );
<font color='#880000'>-  printf( "TA1 - RTEMS_EVENT_14 received - eventout => %08" PRIxrtems_event_set "\n", eventout );
</font><font color='#000088'>+  printf(
+    "TA1 - RTEMS_EVENT_14 received - eventout => "
+      "%08" PRIxrtems_event_set "\n",
+    eventout
+  );
</font> 
   puts( "TA1 - rtems_event_send - send RTEMS_EVENT_19 to TA2" );
   status = rtems_event_send( Task_id[ 2 ], RTEMS_EVENT_19 );
<font color='#997700'>@@ -95,7 +93,10 @@
</font>     &eventout
   );
   directive_failed( status, "rtems_event_receive of 18" );
<font color='#880000'>-  printf( "TA1 - RTEMS_EVENT_18 received - eventout => %08" PRIxrtems_event_set "\n", eventout );
</font><font color='#000088'>+  printf(
+    "TA1 - RTEMS_EVENT_18 received - eventout => %08" PRIxrtems_event_set "\n",
+    eventout
+  );
</font> 
   status = rtems_clock_get_tod( &time );
   directive_failed( status, "TA1 rtems_clock_get_tod" );
<font color='#997700'>@@ -116,7 +117,10 @@
</font>     &eventout
   );
   directive_failed( status, "rtems_event_receive of 3 and 22" );
<font color='#880000'>-  printf( "TA1 - RTEMS_EVENT_3 received - eventout => %08" PRIxrtems_event_set "\n", eventout );
</font><font color='#000088'>+  printf(
+    "TA1 - RTEMS_EVENT_3 received - eventout => %08" PRIxrtems_event_set "\n",
+    eventout
+  );
</font> 
   puts( "TA1 - rtems_event_send - send RTEMS_EVENT_4 to self" );
   status = rtems_event_send( RTEMS_SELF, RTEMS_EVENT_4 );
<font color='#997700'>@@ -133,7 +137,10 @@
</font>     &eventout
   );
   directive_failed( status, "rtems_event_receive" );
<font color='#880000'>-  printf( "TA1 - RTEMS_EVENT_4 received - eventout => %08" PRIxrtems_event_set "\n", eventout );
</font><font color='#000088'>+  printf(
+    "TA1 - RTEMS_EVENT_4 received - eventout => %08" PRIxrtems_event_set "\n",
+    eventout<span style="background-color: #FF0000"> </span>
+  );
</font> 
 rtems_test_pause();
 
<font color='#997700'>@@ -211,7 +218,11 @@
</font>     status = rtems_clock_get_tod( &time );
     directive_failed( status, "rtems_clock_get_tod" );
 
<font color='#880000'>-    printf( "TA1 - RTEMS_EVENT_1 received - eventout => %08" PRIxrtems_event_set " - ", eventout );
</font><font color='#000088'>+    printf(
+      "TA1 - RTEMS_EVENT_1 received - eventout => %08"
+        PRIxrtems_event_set " - ",
+       eventout
+    );
</font>     print_time( "at ", &time, "\n" );
 
     if ( index < 2 ) {
<font color='#997700'>@@ -292,7 +303,10 @@
</font>     &eventout
   );
   directive_failed( status, "rtems_event_receive" );
<font color='#880000'>-  printf( "TA1 - RTEMS_EVENT_11 received - eventout => %08" PRIxrtems_event_set "\n", eventout );
</font><font color='#000088'>+  printf(
+    "TA1 - RTEMS_EVENT_11 received - eventout => %08" PRIxrtems_event_set "\n",
+     eventout
+  );
</font> 
 rtems_test_pause();
 
<font color='#997700'>@@ -388,8 +402,10 @@
</font>     RTEMS_NO_TIMEOUT,
     &eventout
   );
<font color='#880000'>-  if ( eventout == RTEMS_EVENT_10 ) puts( "TA1 - RTEMS_EVENT_10 received" );
-  else      printf( "ERROR -0x%08" PRIxrtems_event_set " events received\n", eventout );
</font><font color='#000088'>+  if ( eventout == RTEMS_EVENT_10 )
+    puts( "TA1 - RTEMS_EVENT_10 received" );
+  else
+    printf( "ERROR -0x%08" PRIxrtems_event_set " events received\n", eventout );
</font>   directive_failed( status, "rtems_event_receive all events" );
 
   puts( "TA1 - rtems_event_send - sending RTEMS_EVENT_11 to self in 100 ticks");

<font color='#006600'>diff -u rtems/testsuites/sptests/sp11/task2.c:1.13 rtems/testsuites/sptests/sp11/task2.c:1.14
--- rtems/testsuites/sptests/sp11/task2.c:1.13  Tue Feb 22 01:36:59 2011
+++ rtems/testsuites/sptests/sp11/task2.c       Sun Jul 24 17:10:16 2011
</font><font color='#997700'>@@ -1,14 +1,5 @@
</font><font color='#880000'>-/*  Task_2
- *
- *  This routine serves as a test task.  Multiple tasks are required to
- *  verify all capabilities of the event manager.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -43,7 +34,10 @@
</font>     &eventout
   );
   directive_failed( status, "rtems_event_receive" );
<font color='#880000'>-  printf( "TA2 - RTEMS_EVENT_16 received - eventout => %08" PRIxrtems_event_set "\n", eventout );
</font><font color='#000088'>+  printf(
+    "TA2 - RTEMS_EVENT_16 received - eventout => %08" PRIxrtems_event_set "\n",
+     eventout
+  );
</font> 
   puts(
     "TA2 - rtems_event_send - send RTEMS_EVENT_14 and RTEMS_EVENT_15 to TA1"
<font color='#997700'>@@ -63,7 +57,8 @@
</font>   );
   directive_failed( status, "rtems_event_receive" );
   printf(
<font color='#880000'>-    "TA2 - RTEMS_EVENT_17 or RTEMS_EVENT_18 received - eventout => %08" PRIxrtems_event_set "\n",
</font><font color='#000088'>+    "TA2 - RTEMS_EVENT_17 or RTEMS_EVENT_18 received - "
+      "eventout => %08" PRIxrtems_event_set "\n",
</font>     eventout
   );
 
<font color='#997700'>@@ -100,7 +95,10 @@
</font>   status = rtems_clock_get_tod( &time );
   directive_failed( status, "rtems_clock_get_tod" );
 
<font color='#880000'>-  printf( "TA2 - RTEMS_EVENT_10 received - eventout => %08" PRIxrtems_event_set "\n", eventout );
</font><font color='#000088'>+  printf(
+    "TA2 - RTEMS_EVENT_10 received - eventout => %08" PRIxrtems_event_set "\n",
+     eventout
+  );
</font>   print_time( "TA2 - rtems_clock_get_tod - ", &time, "\n" );
 
   puts( "TA2 - rtems_event_receive - RTEMS_PENDING_EVENTS" );
<font color='#997700'>@@ -121,7 +119,10 @@
</font>     &eventout
   );
   directive_failed( status, "rtems_event_receive" );
<font color='#880000'>-  printf( "TA2 - RTEMS_EVENT_19 received - eventout => %08" PRIxrtems_event_set "\n", eventout );
</font><font color='#000088'>+  printf(
+    "TA2 - RTEMS_EVENT_19 received - eventout => %08" PRIxrtems_event_set "\n",
+     eventout
+  );
</font> 
   puts( "TA2 - rtems_task_delete - deletes self" );
   status = rtems_task_delete( Task_id[ 2 ] );

<font color='#006600'>diff -u rtems/testsuites/sptests/sp12/pridrv.c:1.14 rtems/testsuites/sptests/sp12/pridrv.c:1.15
--- rtems/testsuites/sptests/sp12/pridrv.c:1.14 Tue Feb 22 01:36:59 2011
+++ rtems/testsuites/sptests/sp12/pridrv.c      Sun Jul 24 17:10:16 2011
</font><font color='#997700'>@@ -1,17 +1,5 @@
</font><font color='#880000'>-/*  Priority_test_driver
- *
- *  This routine is the initialization task for this test program.
- *  It is a user initialization task and has the responsibility for creating
- *  and starting the tasks that make up the test.  If the time of day
- *  clock is required for the test, it should also be set to a known
- *  value by this function.
- *
- *  Input parameters:
- *    priority_base - priority_base switch
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -87,7 +75,9 @@
</font>             priority_base + 4,
             &previous_priority
           );
<font color='#880000'>-          printf( "PDRV - change priority of PRI5 from %" PRIdrtems_task_priority " to %" PRIdrtems_task_priority "\n",
</font><font color='#000088'>+          printf(
+           "PDRV - change priority of PRI5 from %" PRIdrtems_task_priority
+              " to %" PRIdrtems_task_priority "\n",
</font>              previous_priority,
              priority_base + 4
           );
<font color='#997700'>@@ -99,7 +89,10 @@
</font>           &previous_priority
         );
         directive_failed( status, "PDRV rtems_task_set_priority CURRENT" );
<font color='#880000'>-        printf( "PDRV - priority of PRI5 is %" PRIdrtems_task_priority "\n", previous_priority );
</font><font color='#000088'>+        printf(
+          "PDRV - priority of PRI5 is %" PRIdrtems_task_priority "\n",
+           previous_priority
+        );
</font>       }
     }
   }

<font color='#006600'>diff -u rtems/testsuites/sptests/sp12/pritask.c:1.16 rtems/testsuites/sptests/sp12/pritask.c:1.17
--- rtems/testsuites/sptests/sp12/pritask.c:1.16        Tue Feb 22 01:36:59 2011
+++ rtems/testsuites/sptests/sp12/pritask.c     Sun Jul 24 17:10:16 2011
</font><font color='#997700'>@@ -1,13 +1,5 @@
</font><font color='#880000'>-/*  Priority_task
- *
- *  This routine serves as a test task.  It verifies the semaphore manager.
- *
- *  Input parameters:
- *    its_index - priority index
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -31,7 +23,7 @@
</font>   rtems_task_priority its_priority;
   rtems_task_priority current_priority;
   rtems_status_code   status;
<font color='#880000'>-  uint32_t      index;
</font><font color='#000088'>+  uint32_t            index;
</font> 
   its_priority = Task_priority[ its_index ];
 
<font color='#997700'>@@ -51,7 +43,12 @@
</font>   directive_failed( status, "rtems_semaphore_obtain of SM2" );
 
   if ( its_priority < PRIORITY_INHERIT_BASE_PRIORITY ) {
<font color='#880000'>-    printf( "PRI%" PRIdrtems_task_argument " - WHY AM I HERE? (pri=%" PRIdrtems_task_priority ")", its_index, its_priority );
</font><font color='#000088'>+    printf(
+      "PRI%" PRIdrtems_task_argument " - WHY AM I HERE? (pri=%"
+        PRIdrtems_task_priority ")",
+     its_index,
+     its_priority
+    );
</font>     rtems_test_exit( 0 );
   }
 
<font color='#997700'>@@ -67,7 +64,12 @@
</font>     status = rtems_task_set_priority( RTEMS_SELF, priority, &old_priority );
     directive_failed( status, "rtems_task_set_priority with resource" );
     if ( priority != old_priority ) {
<font color='#880000'>-      printf( "priority != old_priority (%" PRIdrtems_task_priority " != %" PRIdrtems_task_priority ")\n", priority, old_priority );
</font><font color='#000088'>+      printf(
+        "priority != old_priority (%" PRIdrtems_task_priority
+            " != %" PRIdrtems_task_priority ")\n",
+         priority,
+         old_priority
+      );
</font>       rtems_test_exit(0);
     }
   }
<font color='#997700'>@@ -105,7 +107,10 @@
</font>     &current_priority
   );
   directive_failed( status, "PRI5 rtems_task_set_priority CURRENT" );
<font color='#880000'>-  printf( "PRI5 - priority of PRI5 is %" PRIdrtems_task_priority "\n", current_priority );
</font><font color='#000088'>+  printf(
+    "PRI5 - priority of PRI5 is %" PRIdrtems_task_priority "\n",
+     current_priority
+  );
</font> 
   (void) rtems_task_suspend( RTEMS_SELF );
 }

<font color='#006600'>diff -u rtems/testsuites/sptests/sp13/task1.c:1.28 rtems/testsuites/sptests/sp13/task1.c:1.29
--- rtems/testsuites/sptests/sp13/task1.c:1.28  Tue Feb 22 01:36:59 2011
+++ rtems/testsuites/sptests/sp13/task1.c       Sun Jul 24 17:10:16 2011
</font><font color='#997700'>@@ -1,13 +1,5 @@
</font><font color='#880000'>-/*  Task_1
- *
- *  This routine serves as a test task.  It verifies the message manager.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -47,9 +39,9 @@
</font>   ch = (' ' + (v % (0x7f - ' ')));
 
   for (i=0; i<buff_size; i++) {
<font color='#880000'>-      *buff++ = ch++;
-      if (ch >= 0x7f)
-          ch = ' ';
</font><font color='#000088'>+    *buff++ = ch++;
+    if (ch >= 0x7f)
+      ch = ' ';
</font>   }
 }
 
<font color='#997700'>@@ -70,7 +62,10 @@
</font>     RTEMS_SEARCH_ALL_NODES,
     &qid
   );
<font color='#880000'>-  printf( "TA1 - rtems_message_queue_ident - qid => %08" PRIxrtems_id "\n", qid );
</font><font color='#000088'>+  printf(
+    "TA1 - rtems_message_queue_ident - qid => %08" PRIxrtems_id "\n",
+     qid
+  );
</font>   directive_failed( status, "rtems_message_queue_ident" );
 
   Fill_buffer( "BUFFER 1 TO Q 1", buffer );
<font color='#997700'>@@ -275,7 +270,10 @@
</font>   );
   directive_failed( status, "rtems_message_queue_create of Q1; 20 bytes each" );
   status = rtems_message_queue_send( Queue_id[ 1 ], big_send_buffer, 40 );
<font color='#880000'>-  fatal_directive_status(status, RTEMS_INVALID_SIZE, "expected RTEMS_INVALID_SIZE");
</font><font color='#000088'>+  fatal_directive_status(status,
+    RTEMS_INVALID_SIZE,
+    "expected RTEMS_INVALID_SIZE"
+  );
</font> 
   puts( "TA1 - rtems_message_queue_delete - delete queue 1" );
   status = rtems_message_queue_delete( Queue_id[ 1 ] );
<font color='#997700'>@@ -284,89 +282,86 @@
</font> rtems_test_pause();
 
   puts( "TA1 - rtems_message_queue_create - variable sizes " );
<font color='#880000'>-  for (queue_size = 1; queue_size < 1030; queue_size++)
-  {
-      status = rtems_message_queue_create(
-          Queue_name[ 1 ],
-          2,            /* just 2 msgs each */
-          queue_size,
-          RTEMS_DEFAULT_ATTRIBUTES,
-          &Queue_id[ 1 ]
-          );
-      if (status != RTEMS_SUCCESSFUL)
-      {
-          printf("TA1 - msq que size: %zu\n", queue_size);
-          directive_failed( status, "rtems_message_queue_create of Q1" );
-      }
</font><font color='#000088'>+  for (queue_size = 1; queue_size < 1030; queue_size++) {
+    status = rtems_message_queue_create(
+      Queue_name[ 1 ],
+      2,            /* just 2 msgs each */
+      queue_size,
+      RTEMS_DEFAULT_ATTRIBUTES,
+      &Queue_id[ 1 ]
+    );
+    if (status != RTEMS_SUCCESSFUL) {
+      printf("TA1 - msq que size: %zu\n", queue_size);
+      directive_failed( status, "rtems_message_queue_create of Q1" );
+    }
</font> 
<font color='#880000'>-      status = rtems_message_queue_delete( Queue_id[ 1 ] );
-      directive_failed( status, "rtems_message_queue_delete" );
</font><font color='#000088'>+    status = rtems_message_queue_delete( Queue_id[ 1 ] );
+    directive_failed( status, "rtems_message_queue_delete" );
</font>   }
 
   puts( "TA1 - rtems_message_queue_create and send - variable sizes " );
<font color='#880000'>-  for (queue_size = 1; queue_size < 1030; queue_size++)
-  {
-      /* printf("TA1 - message queue size: %d\n", queue_size); */
-
-      status = rtems_message_queue_create(
-          Queue_name[ 1 ],
-          2,            /* just 2 msgs each */
-          queue_size,
-          RTEMS_DEFAULT_ATTRIBUTES,
-          &Queue_id[ 1 ]
-          );
</font><font color='#000088'>+  for (queue_size = 1; queue_size < 1030; queue_size++) {
+    status = rtems_message_queue_create(
+      Queue_name[ 1 ],
+      2,            /* just 2 msgs each */
+      queue_size,
+      RTEMS_DEFAULT_ATTRIBUTES,
+      &Queue_id[ 1 ]
+    );
+    directive_failed( status, "rtems_message_queue_create of Q1" );
</font> 
<font color='#880000'>-      directive_failed( status, "rtems_message_queue_create of Q1" );
</font><font color='#000088'>+    dope_buffer(big_send_buffer, sizeof(big_send_buffer), queue_size);
+    memset(big_receive_buffer, 'Z', sizeof(big_receive_buffer));
+
+    /* send a msg too big */
+    status = rtems_message_queue_send(
+      Queue_id[ 1 ],
+      big_send_buffer,
+      queue_size + 1
+    );
+    fatal_directive_status(
+      status,
+      RTEMS_INVALID_SIZE,
+      "rtems_message_queue_send too large"
+    );
</font> 
<font color='#880000'>-      dope_buffer(big_send_buffer, sizeof(big_send_buffer), queue_size);
-      memset(big_receive_buffer, 'Z', sizeof(big_receive_buffer));
</font><font color='#000088'>+    /* send a msg that is just right */
+    status = rtems_message_queue_send(
+      Queue_id[ 1 ],
+      big_send_buffer,
+      queue_size);
+    directive_failed(status, "rtems_message_queue_send exact size");
</font> 
<font color='#880000'>-      /* send a msg too big */
-      status = rtems_message_queue_send( Queue_id[ 1 ],
-                                         big_send_buffer,
-                                         queue_size + 1 );
-
-      fatal_directive_status(status,
-                             RTEMS_INVALID_SIZE,
-                             "rtems_message_queue_send too large");
-
-      /* send a msg that is just right */
-      status = rtems_message_queue_send(Queue_id[ 1 ],
-                                        big_send_buffer,
-                                        queue_size);
-      directive_failed(status, "rtems_message_queue_send exact size");
-
-      /* now read and verify the message just sent */
-      status = rtems_message_queue_receive(Queue_id[ 1 ],
-                                           big_receive_buffer,
-                                           &size,
-                                           RTEMS_DEFAULT_OPTIONS,
-                                           1 * rtems_clock_get_ticks_per_second());
-      directive_failed(status, "rtems_message_queue_receive exact size");
-      if (size != queue_size)
-      {
-          puts("TA1 - exact size size match failed");
-          rtems_test_exit(1);
-      }
-
-      if (memcmp(big_send_buffer, big_receive_buffer, size) != 0)
-      {
-          puts("TA1 - exact size data match failed");
-          rtems_test_exit(1);
-      }
-
-      for (cp = (big_receive_buffer + size);
-           cp < (big_receive_buffer + sizeof(big_receive_buffer));
-           cp++)
-          if (*cp != 'Z')
-          {
-              puts("TA1 - exact size overrun match failed");
-              rtems_test_exit(1);
-          }
-
-      /* all done with this one; delete it */
-      status = rtems_message_queue_delete( Queue_id[ 1 ] );
-      directive_failed( status, "rtems_message_queue_delete" );
</font><font color='#000088'>+    /* now read and verify the message just sent */
+    status = rtems_message_queue_receive(
+      Queue_id[ 1 ],
+      big_receive_buffer,
+      &size,
+      RTEMS_DEFAULT_OPTIONS,
+      1 * rtems_clock_get_ticks_per_second()
+    );
+   directive_failed(status, "rtems_message_queue_receive exact size");
+   if (size != queue_size) {
+     puts("TA1 - exact size size match failed");
+     rtems_test_exit(1);
+   }
+
+   if (memcmp(big_send_buffer, big_receive_buffer, size) != 0) {
+     puts("TA1 - exact size data match failed");
+     rtems_test_exit(1);
+   }
+
+   for (cp = (big_receive_buffer + size);
+        cp < (big_receive_buffer + sizeof(big_receive_buffer));
+        cp++)
+    if (*cp != 'Z') {
+      puts("TA1 - exact size overrun match failed");
+      rtems_test_exit(1);
+    }
+
+    /* all done with this one; delete it */
+    status = rtems_message_queue_delete( Queue_id[ 1 ] );
+    directive_failed( status, "rtems_message_queue_delete" );
</font>   }
 
   puts( "*** END OF TEST 13 ***" );

<font color='#006600'>diff -u rtems/testsuites/sptests/sp14/asr.c:1.12 rtems/testsuites/sptests/sp14/asr.c:1.13
--- rtems/testsuites/sptests/sp14/asr.c:1.12    Tue Feb 22 01:36:59 2011
+++ rtems/testsuites/sptests/sp14/asr.c Sun Jul 24 17:10:17 2011
</font><font color='#997700'>@@ -1,14 +1,5 @@
</font><font color='#880000'>-/*  Process_asr
- *
- *  This is the asynchronous signal routine (asr) for task 1.
- *  It demonstrates that ASRs can block execute and block.
- *
- *  Input parameters:
- *    the_signal_set - signal set
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -31,7 +22,10 @@
</font> {
   rtems_status_code status;
 
<font color='#880000'>-  printf( "ASR - ENTRY - signal => %08" PRIxrtems_signal_set "\n", the_signal_set );
</font><font color='#000088'>+  printf(
+    "ASR - ENTRY - signal => %08" PRIxrtems_signal_set "\n",
+     the_signal_set
+  );
</font>   switch( the_signal_set ) {
     case RTEMS_SIGNAL_16:
     case RTEMS_SIGNAL_17:
<font color='#997700'>@@ -48,6 +42,9 @@
</font>       Asr_fired = TRUE;
       break;
   }
<font color='#880000'>-  printf( "ASR - EXIT  - signal => %08" PRIxrtems_signal_set "\n", the_signal_set );
</font><font color='#000088'>+  printf(
+    "ASR - EXIT  - signal => %08" PRIxrtems_signal_set "\n",
+     the_signal_set
+  );
</font>   FLUSH_OUTPUT();
 }

<font color='#006600'>diff -u rtems/testsuites/sptests/sp14/task1.c:1.15 rtems/testsuites/sptests/sp14/task1.c:1.16
--- rtems/testsuites/sptests/sp14/task1.c:1.15  Tue Feb 22 01:36:59 2011
+++ rtems/testsuites/sptests/sp14/task1.c       Sun Jul 24 17:10:17 2011
</font><font color='#997700'>@@ -1,14 +1,5 @@
</font><font color='#880000'>-/*  Task_1
- *
- *  This routine serves as a test task.  It establishes an RTEMS_ASR and
- *  sends signal to itself to determine if the RTEMS_ASR gets to execute.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -100,7 +91,8 @@
</font>     puts( "TA1 - timer routine got the correct arguments" );
   else
     printf(
<font color='#880000'>-      "TA1 - timer got (0x%" PRIxrtems_id ", %p) instead of (0x%" PRIxrtems_id ", %p)!!!!\n",
</font><font color='#000088'>+      "TA1 - timer got (0x%" PRIxrtems_id ", %p) instead of (0x%"
+        PRIxrtems_id ", %p)!!!!\n",
</font>       Timer_got_this_id,
       Timer_got_this_pointer,
       Timer_id[ 1 ],

<font color='#006600'>diff -u rtems/testsuites/sptests/sp19/first.c:1.10 rtems/testsuites/sptests/sp19/first.c:1.11
--- rtems/testsuites/sptests/sp19/first.c:1.10  Tue Feb 22 01:36:59 2011
+++ rtems/testsuites/sptests/sp19/first.c       Sun Jul 24 17:10:17 2011
</font><font color='#997700'>@@ -1,15 +1,5 @@
</font><font color='#880000'>-/*  First_FP_task
- *
- *  This routine serves as a floating point test task.  It verifies the
- *  basic task switching capabilities of the executive when floating
- *  point is configured.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -47,13 +37,16 @@
</font>   FP_LOAD( FP_factors[ task_index ] );
 
   put_name( Task_name[ task_index ], FALSE );
<font color='#880000'>-  printf( " - integer base = (0x%" PRIx32 ")\n", INTEGER_factors[ task_index ] );
</font><font color='#000088'>+  printf(
+    " - integer base = (0x%" PRIx32 ")\n",
+    INTEGER_factors[ task_index ]
+  );
</font>   put_name( Task_name[ task_index ], FALSE );
<font color='#880000'>-#if ( RTEMS_HAS_HARDWARE_FP == 1 )
-  printf( " - float base = (%g)\n", FP_factors[ task_index ] );
-#else
-  printf( " - float base = (NA)\n" );
-#endif
</font><font color='#000088'>+  #if ( RTEMS_HAS_HARDWARE_FP == 1 )
+    printf( " - float base = (%g)\n", FP_factors[ task_index ] );
+  #else
+    printf( " - float base = (NA)\n" );
+  #endif
</font> 
   if ( argument == 0 ) {
     status = rtems_task_restart( RTEMS_SELF, 1 );

<font color='#006600'>diff -u rtems/testsuites/sptests/sp19/fptask.c:1.14 rtems/testsuites/sptests/sp19/fptask.c:1.15
--- rtems/testsuites/sptests/sp19/fptask.c:1.14 Tue Feb 22 01:36:59 2011
+++ rtems/testsuites/sptests/sp19/fptask.c      Sun Jul 24 17:10:17 2011
</font><font color='#997700'>@@ -1,15 +1,5 @@
</font><font color='#880000'>-/*  FP_task
- *
- *  This routine serves as a floating point test task.  It verifies the
- *  basic task switching capabilities of the executive when floating
- *  point is configured.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -34,8 +24,8 @@
</font>   rtems_status_code status;
   rtems_id          tid;
   rtems_time_of_day time;
<font color='#880000'>-  uint32_t    task_index;
-  uint32_t    previous_seconds;
</font><font color='#000088'>+  uint32_t          task_index;
+  uint32_t          previous_seconds;
</font>   INTEGER_DECLARE;
   FP_DECLARE;
 
<font color='#997700'>@@ -48,13 +38,16 @@
</font>   FP_LOAD( FP_factors[ task_index ] );
 
   put_name( Task_name[ task_index ], FALSE );
<font color='#880000'>-  printf( " - integer base = (0x%" PRIx32 ")\n", INTEGER_factors[ task_index ] );
</font><font color='#000088'>+  printf(
+    " - integer base = (0x%" PRIx32 ")\n",
+    INTEGER_factors[ task_index ]
+  );
</font>   put_name( Task_name[ task_index ], FALSE );
<font color='#880000'>-#if ( RTEMS_HAS_HARDWARE_FP == 1 )
-  printf( " - float base = (%g)\n", FP_factors[ task_index ] );
-#else
-  printf( " - float base = (NA)\n" );
-#endif
</font><font color='#000088'>+  #if ( RTEMS_HAS_HARDWARE_FP == 1 )
+    printf( " - float base = (%g)\n", FP_factors[ task_index ] );
+  #else
+    printf( " - float base = (NA)\n" );
+  #endif
</font> 
   previous_seconds = (uint32_t)-1;
 
<font color='#997700'>@@ -64,7 +57,6 @@
</font>     directive_failed( status, "rtems_clock_get_tod" );
 
     if ( time.second >= 16 ) {
<font color='#880000'>-
</font>       if ( task_number( tid ) == 4 ) {
         puts( "TA4 - rtems_task_delete - self" );
         status = rtems_task_delete( RTEMS_SELF );
<font color='#997700'>@@ -78,8 +70,7 @@
</font>       rtems_test_exit( 0 );
     }
 
<font color='#880000'>-    if (previous_seconds != time.second)
-    {
</font><font color='#000088'>+    if (previous_seconds != time.second) {
</font>       put_name( Task_name[ task_index ], FALSE );
       print_time( " - rtems_clock_get_tod - ", &time, "\n" );
       previous_seconds = time.second;
<font color='#997700'>@@ -92,8 +83,7 @@
</font>      * so that we likely are interrupted
      * After that, we go to sleep for a second at a time
      */
<font color='#880000'>-    if (time.second >= 4)
-    {
</font><font color='#000088'>+    if (time.second >= 4) {
</font>       status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() );
       directive_failed( status, "rtems_task_wake_after" );
     }

<font color='#006600'>diff -u rtems/testsuites/sptests/sp19/inttest.h:1.13 rtems/testsuites/sptests/sp19/inttest.h:1.14
--- rtems/testsuites/sptests/sp19/inttest.h:1.13        Mon Feb  7 22:49:38 2011
+++ rtems/testsuites/sptests/sp19/inttest.h     Sun Jul 24 17:10:17 2011
</font><font color='#997700'>@@ -1,6 +1,4 @@
</font><font color='#880000'>-/*  inttest.h
- *
- *  XXX: ???
</font><font color='#000088'>+/*
</font>  *  This include file contains the CPU dependent implementation
  *  of the following routines needed to test RTEMS floating
  *  point support:
<font color='#997700'>@@ -15,7 +13,7 @@
</font>  *         inttest.h.  These routines form the core of the
  *         floating point context switch test.
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -103,10 +101,14 @@
</font>   } while (0)
 
 #define INTEGER_CHECK_ONE( _v, _base, _factor ) \
<font color='#880000'>-      if ( (_v) != ((_base) + (_factor)) )  { \
-          printf("%" PRIu32 ": " #_v " wrong -- (0x%" PRIx32 " not 0x%" PRIx32 ")\n", \
-             task_index, (_v), (_base + _factor));  \
-      }
</font><font color='#000088'>+  if ( (_v) != ((_base) + (_factor)) )  { \
+    printf( \
+      "%" PRIu32 ": " #_v " wrong -- (0x%" PRIx32 " not 0x%" PRIx32 ")\n", \
+      task_index, \
+      (_v), \
+      (_base + _factor) \
+    ); \
+  }
</font> 
 
 #define INTEGER_CHECK( _factor ) \

<font color='#006600'>diff -u rtems/testsuites/sptests/sp19/task1.c:1.12 rtems/testsuites/sptests/sp19/task1.c:1.13
--- rtems/testsuites/sptests/sp19/task1.c:1.12  Tue Feb 22 01:36:59 2011
+++ rtems/testsuites/sptests/sp19/task1.c       Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -1,14 +1,5 @@
</font><font color='#880000'>-/*  Task_1
- *
- *  This routine serves as a test task.  It verifies the basic task
- *  switching capabilities of the executive.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -32,7 +23,7 @@
</font>   rtems_status_code status;
   rtems_id          tid;
   rtems_time_of_day time;
<font color='#880000'>-  uint32_t    task_index;
</font><font color='#000088'>+  uint32_t          task_index;
</font>   INTEGER_DECLARE;
 
   status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
<font color='#997700'>@@ -43,7 +34,10 @@
</font>   INTEGER_LOAD( INTEGER_factors[ task_index ] );
 
   put_name( Task_name[ task_index ], FALSE );
<font color='#880000'>-  printf( " - integer base = (0x%" PRIx32 ")\n", INTEGER_factors[ task_index ] );
</font><font color='#000088'>+  printf(
+    " - integer base = (0x%" PRIx32 ")\n",
+    INTEGER_factors[ task_index ]
+  );
</font> 
   while( FOREVER ) {
     status = rtems_clock_get_tod( &time );

<font color='#006600'>diff -u rtems/testsuites/sptests/sp20/task1.c:1.17 rtems/testsuites/sptests/sp20/task1.c:1.18
--- rtems/testsuites/sptests/sp20/task1.c:1.17  Tue Feb 22 01:36:59 2011
+++ rtems/testsuites/sptests/sp20/task1.c       Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -1,14 +1,5 @@
</font><font color='#880000'>-/*  Task_1_through_5
- *
- *  This routine serves as a test task for the period capabilities of the
- *  Rate Monotonic Manager.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -53,15 +44,26 @@
</font>   status = rtems_rate_monotonic_ident( argument, &test_rmid );
   directive_failed( status, "rtems_rate_monotonic_ident" );
   put_name( Task_name[ argument ], FALSE );
<font color='#880000'>-  printf( "- rtems_rate_monotonic_ident id = 0x%08" PRIxrtems_id "\n", test_rmid );
</font><font color='#000088'>+  printf(
+    "- rtems_rate_monotonic_ident id = 0x%08" PRIxrtems_id "\n",
+    test_rmid
+  );
</font> 
   if ( rmid != test_rmid ) {
<font color='#880000'>-     printf( "RMID's DO NOT MATCH (0x%" PRIxrtems_id " and 0x%" PRIxrtems_id ")\n", rmid, test_rmid );
-     rtems_test_exit( 0 );
</font><font color='#000088'>+    printf(
+      "RMID's DO NOT MATCH (0x%" PRIxrtems_id " and 0x%" PRIxrtems_id ")\n",
+       rmid,
+       test_rmid
+    );
+    rtems_test_exit( 0 );
</font>   }
 
   put_name( Task_name[ argument ], FALSE );
<font color='#880000'>-  printf( "- (0x%08" PRIxrtems_id ") period %" PRIu32 "\n", rmid, Periods[ argument ] );
</font><font color='#000088'>+  printf(
+    "- (0x%08" PRIxrtems_id ") period %" PRIu32 "\n",
+    rmid,
+    Periods[ argument ]
+  );
</font> 
   status = rtems_task_wake_after( 2 );
   directive_failed( status, "rtems_task_wake_after" );
<font color='#997700'>@@ -134,8 +136,7 @@
</font>         time[0] = _Watchdog_Ticks_since_boot; /* timestamp */
         /*printf("%d - %d\n", period, time[0]);*/
 
<font color='#880000'>-        for (index = 1; index <= TA6_ITERATIONS; index++)
-        {
</font><font color='#000088'>+        for (index = 1; index <= TA6_ITERATIONS; index++) {
</font>           period = (index+1)*TA6_PERIOD_FACTOR;
           status = rtems_rate_monotonic_period( rmid,  period);
           directive_failed( status, "rtems_rate_monotonic_period of TA6" );
<font color='#997700'>@@ -143,13 +144,17 @@
</font>           /*printf("%d - %d\n", period, time[index]);*/
         }
 
<font color='#880000'>-        for (index = 1; index <= TA6_ITERATIONS; index++)
-        {
</font><font color='#000088'>+        for (index = 1; index <= TA6_ITERATIONS; index++) {
</font>           rtems_interval meas = time[index] - time[index-1];
           period = index*TA6_PERIOD_FACTOR;
<font color='#880000'>-          printf("TA6 - Actual: %" PRIdrtems_interval " Expected: %" PRIdrtems_interval, meas, period);
</font><font color='#000088'>+          printf(
+            "TA6 - Actual: %" PRIdrtems_interval
+              " Expected: %" PRIdrtems_interval,
+            meas,
+            period
+          );
</font>           if (period == meas) printf(" - OK\n");
<font color='#880000'>-          else printf(" - FAILED\n");
</font><font color='#000088'>+          else                printf(" - FAILED\n");
</font>         }
       }
       rtems_task_suspend(RTEMS_SELF);

<font color='#006600'>diff -u rtems/testsuites/sptests/sp25/task1.c:1.20 rtems/testsuites/sptests/sp25/task1.c:1.21
--- rtems/testsuites/sptests/sp25/task1.c:1.20  Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp25/task1.c       Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -1,13 +1,5 @@
</font><font color='#880000'>-/*  Task_1
- *
- *  This routine serves as a test task.  It tests the region manager.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -190,7 +182,10 @@
</font>   printf( "TA1 - got segment size of %" PRIuPTR "\n", segment_size );
 
   /* Get information about the region */
<font color='#880000'>-  printf( "TA1 - rtems_region_get_information - 0x%08" PRIxrtems_id "\n", region_id );
</font><font color='#000088'>+  printf(
+    "TA1 - rtems_region_get_information - 0x%08" PRIxrtems_id "\n",
+    region_id
+  );
</font>   status = rtems_region_get_information(region_id, &region_info);
   directive_failed(status, "rtems_region_get_information of RN01");
   printf(
<font color='#997700'>@@ -199,7 +194,10 @@
</font>     region_info.Used.number
   );
 
<font color='#880000'>-  printf( "TA1 - rtems_region_get_free_information - 0x%08" PRIxrtems_id "\n", region_id );
</font><font color='#000088'>+  printf(
+    "TA1 - rtems_region_get_free_information - 0x%08" PRIxrtems_id "\n",
+    region_id
+  );
</font>   status = rtems_region_get_free_information(region_id, &region_info);
   directive_failed(status, "rtems_region_get_free_information of RN01");
   printf(

<font color='#006600'>diff -u rtems/testsuites/sptests/sp26/task1.c:1.9 rtems/testsuites/sptests/sp26/task1.c:1.10
--- rtems/testsuites/sptests/sp26/task1.c:1.9   Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp26/task1.c       Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -62,7 +62,12 @@
</font>   rtems_event_set ev;
 
   rtems_task_wake_after (ticksPerSecond * 1);
<font color='#880000'>-  sc = rtems_event_receive (1, RTEMS_WAIT|RTEMS_EVENT_ANY, RTEMS_NO_TIMEOUT, &ev);
</font><font color='#000088'>+  sc = rtems_event_receive(
+    1,
+    RTEMS_WAIT|RTEMS_EVENT_ANY,
+    RTEMS_NO_TIMEOUT,
+    &ev
+  );
</font>   if (sc != RTEMS_SUCCESSFUL) {
     printf ("subTask2 - Can't receive event (%d)\n", sc);
     rtems_task_suspend (RTEMS_SELF);

<font color='#006600'>diff -u rtems/testsuites/sptests/sp28/init.c:1.21 rtems/testsuites/sptests/sp28/init.c:1.22
--- rtems/testsuites/sptests/sp28/init.c:1.21   Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp28/init.c        Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -37,13 +37,14 @@
</font> rtems_task
 subtask (rtems_task_argument arg)
 {
<font color='#880000'>-  uintptr_t localvar = arg;
-  int i;
</font><font color='#000088'>+  uintptr_t         localvar = arg;
+  int               i;
</font>   rtems_status_code sc;
 
   nRunning++;
   while (nRunning != 3)
     rtems_task_wake_after (0);
<font color='#000088'>+
</font>   sc = rtems_task_variable_add(RTEMS_SELF, (void **)&taskvar, NULL);
   directive_failed( sc, "task variable add" );
 
<font color='#997700'>@@ -54,8 +55,13 @@
</font>     taskvar = (void *)((uintptr_t)taskvar + 1);
     rtems_task_wake_after (0);
     if ((uintptr_t)taskvar != localvar) {
<font color='#880000'>-      printf ("Task:%" PRIdrtems_task_argument " taskvar:%" PRIuPTR " localvar:%" PRIuPTR "\n",
-        arg, (uintptr_t)taskvar, localvar);
</font><font color='#000088'>+      printf(
+        "Task:%" PRIdrtems_task_argument " taskvar:%" PRIuPTR
+          " localvar:%" PRIuPTR "\n",
+        arg,
+        (uintptr_t)taskvar,
+        localvar
+      );
</font>       rtems_task_suspend (RTEMS_SELF);
     }
   }
<font color='#997700'>@@ -64,8 +70,13 @@
</font>   directive_failed( sc, "task variable delete" );
 
   if ((uintptr_t)taskvar == localvar) {
<font color='#880000'>-    printf("Task:%" PRIdrtems_task_argument " deleted taskvar:%" PRIuPTR " localvar:%" PRIuPTR "\n",
-      arg, (uintptr_t)taskvar, localvar);
</font><font color='#000088'>+    printf(
+      "Task:%" PRIdrtems_task_argument " deleted taskvar:%" PRIuPTR
+        " localvar:%" PRIuPTR "\n",
+      arg,
+      (uintptr_t)taskvar,
+      localvar
+    );
</font>     nRunning--;
     rtems_task_suspend (RTEMS_SELF);
   }
<font color='#997700'>@@ -77,8 +88,13 @@
</font>     if (nRunning <= 1)
       break;
     if ((uintptr_t)taskvar == localvar) {
<font color='#880000'>-      printf("Task:%" PRIdrtems_task_argument " taskvar:%" PRIuPTR " localvar:%" PRIuPTR "\n",
-        arg, (uintptr_t)taskvar, localvar);
</font><font color='#000088'>+      printf(
+        "Task:%" PRIdrtems_task_argument " taskvar:%" PRIuPTR
+          " localvar:%" PRIuPTR "\n",
+       arg,
+       (uintptr_t)taskvar,
+       localvar
+      );
</font>       nRunning--;
       rtems_task_suspend(RTEMS_SELF);
     }
<font color='#997700'>@@ -241,7 +257,10 @@
</font>   directive_failed( sc, "delete multiple #3" );
 
   if ( test_dtor_ran != 2 ) {
<font color='#880000'>-    printf( "Test dtor ran %" PRIu32 " times not 2 times as expected\n", test_dtor_ran );
</font><font color='#000088'>+    printf(
+      "Test dtor ran %" PRIu32 " times not 2 times as expected\n",
+       test_dtor_ran
+    );
</font>     rtems_test_exit(0);
   }
 }
<font color='#997700'>@@ -323,7 +342,10 @@
</font>   rtems_task_wake_after( 100 );
 
   if ( test_dtor_ran != 1 ) {
<font color='#880000'>-    printf( "Test dtor ran %" PRIu32 " times not 1 times as expected\n", test_dtor_ran );
</font><font color='#000088'>+    printf(
+      "Test dtor ran %" PRIu32 " times not 1 times as expected\n",
+      test_dtor_ran
+    );
</font>     rtems_test_exit(0);
   }
 }
<font color='#997700'>@@ -370,7 +392,10 @@
</font>   rtems_task_wake_after( 100 );
 
   if ( test_dtor_ran != 2 ) {
<font color='#880000'>-    printf( "Test dtor ran %" PRIu32 " times not 2 times as expected\n", test_dtor_ran );
</font><font color='#000088'>+    printf(
+      "Test dtor ran %" PRIu32 " times not 2 times as expected\n",
+      test_dtor_ran
+    );
</font>     rtems_test_exit(0);
   }
 }

<font color='#006600'>diff -u rtems/testsuites/sptests/sp29/init.c:1.18 rtems/testsuites/sptests/sp29/init.c:1.19
--- rtems/testsuites/sptests/sp29/init.c:1.18   Sat Jun 11 11:42:05 2011
+++ rtems/testsuites/sptests/sp29/init.c        Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -1,6 +1,4 @@
</font> /*
<font color='#880000'>- *  Test for rtems_semaphore_flush
- *
</font>  *  The license and distribution terms for this file may be
  *  found in the file LICENSE in this distribution or at
  *  http://www.rtems.com/license/LICENSE.
<font color='#997700'>@@ -12,6 +10,7 @@
</font> #include "config.h"
 #endif
 
<font color='#000088'>+#include <tmacros.h>
</font> #include <bsp.h>
 
 rtems_task Init (rtems_task_argument argument);
<font color='#997700'>@@ -42,156 +41,192 @@
</font> rtems_task
 subtask (rtems_task_argument arg)
 {
<font color='#880000'>-   rtems_status_code sc;
-       rtems_id sem = (rtems_id)arg;
</font><font color='#000088'>+  rtems_status_code sc;
+  rtems_id          sem = (rtems_id)arg;
</font> 
<font color='#880000'>-   for (;;) {
-               rtems_task_wake_after (ticksPerSecond * 2);
</font><font color='#000088'>+  for (;;) {
+    rtems_task_wake_after (ticksPerSecond * 2);
</font> 
<font color='#880000'>-           sc = rtems_semaphore_release (sem);
-               if (sc != RTEMS_SUCCESSFUL)
-                       printf ("%d: Can't release semaphore: %s\n", __LINE__, rtems_status_text (sc));
-       }
</font><font color='#000088'>+    sc = rtems_semaphore_release (sem);
+    if (sc != RTEMS_SUCCESSFUL) {
+      printf(
+        "%d: Can't release semaphore: %s\n", __LINE__,
+        rtems_status_text (sc)
+      );
+    }
+  }
</font> }
 
 void
 startTask (rtems_id arg)
 {
<font color='#880000'>-   rtems_id tid;
-       rtems_status_code sc;
</font><font color='#000088'>+  rtems_id          tid;
+  rtems_status_code sc;
</font> 
<font color='#880000'>-   sc = rtems_task_create (rtems_build_name ('S', 'R', 'V', 'A'),
-               RTEMS_MAXIMUM_PRIORITY - 1u,
-               RTEMS_MINIMUM_STACK_SIZE * 2,
-               RTEMS_PREEMPT|RTEMS_NO_TIMESLICE|RTEMS_NO_ASR|RTEMS_INTERRUPT_LEVEL(0),
-               RTEMS_NO_FLOATING_POINT|RTEMS_LOCAL,
-               &tid);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("Can't create task: %s\n", rtems_status_text (sc));
-               rtems_task_suspend (RTEMS_SELF);
-       }
-       sc = rtems_task_start (tid, subtask, arg);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("Can't start task: %s\n", rtems_status_text (sc));
-               rtems_task_suspend (RTEMS_SELF);
-       }
</font><font color='#000088'>+  sc = rtems_task_create (rtems_build_name ('S', 'R', 'V', 'A'),
+    RTEMS_MAXIMUM_PRIORITY - 1u,
+    RTEMS_MINIMUM_STACK_SIZE * 2,
+    RTEMS_PREEMPT|RTEMS_NO_TIMESLICE|RTEMS_NO_ASR|RTEMS_INTERRUPT_LEVEL(0),
+    RTEMS_NO_FLOATING_POINT|RTEMS_LOCAL,
+    &tid
+  );
+  if (sc != RTEMS_SUCCESSFUL) {
+    printf ("Can't create task: %s\n", rtems_status_text (sc));
+    rtems_task_suspend (RTEMS_SELF);
+  }
+  sc = rtems_task_start (tid, subtask, arg);
+  if (sc != RTEMS_SUCCESSFUL) {
+    printf ("Can't start task: %s\n", rtems_status_text (sc));
+    rtems_task_suspend (RTEMS_SELF);
+  }
</font> }
 
 rtems_task Init (rtems_task_argument ignored)
 {
<font color='#880000'>-   int i;
-       rtems_id semrec, semnorec;
-       rtems_status_code sc;
-       rtems_interval then, now;
-
-       puts( "*** SP29 - SIMPLE SEMAPHORE TEST ***" );
-       puts( "This test only prints on errors." );
-
-        ticksPerSecond = rtems_clock_get_ticks_per_second();
-       if (ticksPerSecond <= 0) {
-               printf ("Invalid ticks per second: %" PRIdrtems_interval "\n", ticksPerSecond);
-               exit (1);
-       }
-       sc = rtems_semaphore_create (rtems_build_name ('S', 'M', 'r', 'c'),
-               1,
-               RTEMS_PRIORITY|RTEMS_BINARY_SEMAPHORE|RTEMS_INHERIT_PRIORITY |RTEMS_NO_PRIORITY_CEILING|RTEMS_LOCAL,
-               0,
-               &semrec);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("%d: Can't create recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-               exit (1);
-       }
-       sc = rtems_semaphore_create (rtems_build_name ('S', 'M', 'n', 'c'),
-               1,
-               RTEMS_PRIORITY|RTEMS_SIMPLE_BINARY_SEMAPHORE|RTEMS_NO_INHERIT_PRIORITY |RTEMS_NO_PRIORITY_CEILING|RTEMS_LOCAL,
-               0,
-               &semnorec);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("%d: Can't create non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-               exit (1);
-       }
-
-       sc = rtems_semaphore_obtain (semrec, RTEMS_NO_WAIT, 0);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("%d: Can't obtain recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-       }
-       sc = rtems_semaphore_obtain (semrec, RTEMS_NO_WAIT, 0);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("%d: Can't reobtain recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-       }
-
-       sc = rtems_semaphore_obtain (semnorec, RTEMS_NO_WAIT, 0);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("%d: Can't obtain non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-       }
-       sc = rtems_semaphore_obtain (semnorec, RTEMS_NO_WAIT, 0);
-       if (sc == RTEMS_SUCCESSFUL) {
-               printf ("%d: Reobtain non-recursive-lock semaphore -- and should not have.\n", __LINE__);
-       }
-
-       sc = rtems_semaphore_release (semnorec);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("%d: Can't release non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-       }
-       sc = rtems_semaphore_release (semnorec);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("%d: Can't rerelease non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-       }
-       sc = rtems_semaphore_obtain (semnorec, RTEMS_NO_WAIT, 0);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("%d: Can't obtain non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-       }
-       sc = rtems_semaphore_obtain (semnorec, RTEMS_NO_WAIT, 0);
-       if (sc == RTEMS_SUCCESSFUL) {
-               printf ("%d: Reobtain non-recursive-lock semaphore -- and should not have.\n", __LINE__);
-       }
-       else if (sc != RTEMS_UNSATISFIED) {
-               printf ("%d: Reobtain non-recursive-lock semaphore failed, but error is %d (%s), not RTEMS_UNSATISFIED.\n", __LINE__, sc, rtems_status_text (sc));
-       }
-
-       sc = rtems_semaphore_release (semnorec);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("%d: Can't release non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-       }
-       sc = rtems_semaphore_release (semnorec);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("%d: Can't rerelease non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-       }
-       sc = rtems_semaphore_obtain (semnorec, RTEMS_NO_WAIT, 0);
-       if (sc != RTEMS_SUCCESSFUL) {
-               printf ("%d: Can't obtain non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-       }
-        /*
-         *  Since this task is holding this, this task will block and timeout.
-         *  Then the timeout error will be returned.
-         */
-        then = rtems_clock_get_ticks_since_boot();
-       sc = rtems_semaphore_obtain (semnorec, RTEMS_WAIT, 5);
-        now = rtems_clock_get_ticks_since_boot();
-       if (sc == RTEMS_SUCCESSFUL) {
-               printf ("%d: Reobtain non-recursive-lock semaphore -- and should not have.\n", __LINE__);
-       }
-       else if (sc != RTEMS_TIMEOUT) {
-               printf ("%d: Reobtain non-recursive-lock semaphore failed, but error is %d (%s), not RTEMS_TIMEOUT.\n", __LINE__, sc, rtems_status_text (sc));
-       }
-       if ((then - now) < 4)
-               printf ("%d: Reobtain non-recursive-lock semaphore failed without timeout.\n", __LINE__);
-
-       startTask (semnorec);
-        then = rtems_clock_get_ticks_since_boot();
-       for (i = 0 ; i < 5 ; i++) {
-               rtems_interval diff;
-
-               sc = rtems_semaphore_obtain (semnorec, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
-                now = rtems_clock_get_ticks_since_boot();
-               diff = (now - then);
-               then = now;
-               if (sc != RTEMS_SUCCESSFUL)
-                       printf ("%d: Failed to obtain non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc));
-               else if (diff < (int) (2 * ticksPerSecond))
-                       printf ("%d: Obtained obtain non-recursive-lock semaphore too quickly -- %" PRIdrtems_interval " ticks not %" PRIdrtems_interval " ticks\n", __LINE__, diff, (2 * ticksPerSecond) );
-       }
</font><font color='#000088'>+  int i;
+  rtems_id semrec, semnorec;
+  rtems_status_code sc;
+  rtems_interval then, now;
+
+  puts( "*** SP29 - SIMPLE SEMAPHORE TEST ***" );
+  puts( "This test only prints on errors." );
+
+  ticksPerSecond = rtems_clock_get_ticks_per_second();
+  if (ticksPerSecond <= 0) {
+    printf(
+      "Invalid ticks per second: %" PRIdrtems_interval "\n",
+      ticksPerSecond
+    );
+    exit (1);
+  }
+  sc = rtems_semaphore_create (rtems_build_name ('S', 'M', 'r', 'c'),
+    1,
+    RTEMS_PRIORITY|RTEMS_BINARY_SEMAPHORE|RTEMS_INHERIT_PRIORITY| \
+      RTEMS_NO_PRIORITY_CEILING|RTEMS_LOCAL,
+    0,
+    &semrec
+  );
+  directive_failed( sc, "create recursive lock" );
+
+  sc = rtems_semaphore_create (rtems_build_name ('S', 'M', 'n', 'c'),
+    1,
+    RTEMS_PRIORITY|RTEMS_SIMPLE_BINARY_SEMAPHORE|RTEMS_NO_INHERIT_PRIORITY| \
+      RTEMS_NO_PRIORITY_CEILING|RTEMS_LOCAL,
+    0,
+    &semnorec
+  );
+  directive_failed( sc, "create non-recursive lock" );
+
+  sc = rtems_semaphore_obtain (semrec, RTEMS_NO_WAIT, 0);
+  directive_failed( sc, "obtain recursive lock" );
+
+  sc = rtems_semaphore_obtain (semrec, RTEMS_NO_WAIT, 0);
+  directive_failed( sc, "reobtain recursive lock" );
+
+  sc = rtems_semaphore_obtain (semnorec, RTEMS_NO_WAIT, 0);
+  directive_failed( sc, "reobtain recursive lock" );
+
+  sc = rtems_semaphore_obtain (semnorec, RTEMS_NO_WAIT, 0);
+  if (sc == RTEMS_SUCCESSFUL) {
+    printf(
+      "%d: Reobtain non-recursive-lock semaphore -- and should not have.\n",
+      __LINE__
+    );
+    rtems_test_exit(1);
+  }
+
+  sc = rtems_semaphore_release (semnorec);
+  directive_failed( sc, "release non-recursive lock" );
+
+  sc = rtems_semaphore_release (semnorec);
+  directive_failed( sc, "re-release non-recursive lock" );
+
+  sc = rtems_semaphore_obtain (semnorec, RTEMS_NO_WAIT, 0);
+  directive_failed( sc, "obtain non-recursive lock" );
+
+  sc = rtems_semaphore_obtain (semnorec, RTEMS_NO_WAIT, 0);
+  if (sc == RTEMS_SUCCESSFUL) {
+    printf(
+      "%d: Reobtain non-recursive-lock semaphore -- and should not have.\n",
+      __LINE__
+    );
+  } else if (sc != RTEMS_UNSATISFIED) {
+    printf(
+      "%d: Reobtain non-recursive-lock semaphore failed, but error is "
+        "%d (%s), not RTEMS_UNSATISFIED.\n",
+      __LINE__,
+      sc,
+      rtems_status_text (sc)
+    );
+  }
+
+  sc = rtems_semaphore_release (semnorec);
+  directive_failed( sc, "release non-recursive lock" );
+
+  sc = rtems_semaphore_release (semnorec);
+  directive_failed( sc, "rerelease non-recursive lock" );
+
+  sc = rtems_semaphore_obtain (semnorec, RTEMS_NO_WAIT, 0);
+  directive_failed( sc, "obtain non-recursive lock" );
+
+  /*
+   *  Since this task is holding this, this task will block and timeout.
+   *  Then the timeout error will be returned.
+   */
+  then = rtems_clock_get_ticks_since_boot();
+  sc = rtems_semaphore_obtain (semnorec, RTEMS_WAIT, 5);
+  now = rtems_clock_get_ticks_since_boot();
+  if (sc == RTEMS_SUCCESSFUL) {
+    printf(
+      "%d: Reobtain non-recursive-lock semaphore -- and should not have.\n",
+      __LINE__
+    );
+  } else if (sc != RTEMS_TIMEOUT) {
+    printf(
+      "%d: Reobtain non-recursive-lock semaphore failed, but error is "
+        "%d (%s), not RTEMS_TIMEOUT.\n",
+      __LINE__,
+      sc,
+      rtems_status_text (sc)
+    );
+  }
+  if ((then - now) < 4) {
+    printf(
+      "%d: Reobtain non-recursive-lock semaphore failed without timeout.\n",
+      __LINE__
+    );
+  }
+
+  startTask (semnorec);
+  then = rtems_clock_get_ticks_since_boot();
+  for (i = 0 ; i < 5 ; i++) {
+    rtems_interval diff;
+
+    sc = rtems_semaphore_obtain(
+      semnorec,
+      RTEMS_WAIT,
+      RTEMS_NO_TIMEOUT
+    );
+    now = rtems_clock_get_ticks_since_boot();
+    diff = (now - then);
+    then = now;
+    if (sc != RTEMS_SUCCESSFUL) {
+      printf(
+        "%d: Failed to obtain non-recursive-lock semaphore: %s\n",
+        __LINE__,
+        rtems_status_text (sc)
+      );
+    } else if (diff < (int) (2 * ticksPerSecond)) {
+      printf(
+        "%d: Obtained obtain non-recursive-lock semaphore too quickly -- %"
+          PRIdrtems_interval " ticks not %" PRIdrtems_interval " ticks\n",
+        __LINE__,
+        diff,
+        (2 * ticksPerSecond)
+      );
+    }
+  }
</font> 
<font color='#880000'>-   puts( "*** END OF TEST 29 ***" );
-       exit (0);
</font><font color='#000088'>+  puts( "*** END OF TEST 29 ***" );
+  rtems_test_exit (0);
</font> }

<font color='#006600'>diff -u rtems/testsuites/sptests/sp31/task1.c:1.17 rtems/testsuites/sptests/sp31/task1.c:1.18
--- rtems/testsuites/sptests/sp31/task1.c:1.17  Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp31/task1.c       Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -1,14 +1,5 @@
</font><font color='#880000'>-/*  Task_1
- *
- *  This routine serves as a test task.  It verifies the basic task
- *  switching capabilities of the executive.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  Copyright (c) 2009 embedded brains GmbH.
<font color='#997700'>@@ -124,10 +115,14 @@
</font>   directive_failed( status, "rtems_timer_server_fire_after" );
 
   status = rtems_timer_get_information( tmid, &info );
<font color='#880000'>-  printf( "Timer 1 scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
-    info.start_time + info.initial );
-  printf( "Timer Server scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
-    schedule_time() );
</font><font color='#000088'>+  printf(
+    "Timer 1 scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
+    info.start_time + info.initial
+  );
+  printf(
+    "Timer Server scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
+    schedule_time()
+  );
</font> 
   puts( "TA1 - rtems_task_wake_after - 1 second" );
   status = rtems_task_wake_after( 1 * rtems_clock_get_ticks_per_second() );
<font color='#997700'>@@ -140,10 +135,14 @@
</font> 
   status = rtems_timer_get_information( tmid, &info );
   directive_failed( status, "rtems_timer_get_information" );
<font color='#880000'>-  printf( "Timer 1 scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
-    info.start_time + info.initial );
-  printf( "Timer Server scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
-    schedule_time() );
</font><font color='#000088'>+  printf(
+    "Timer 1 scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
+    info.start_time + info.initial
+  );
+  printf(
+    "Timer Server scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
+    schedule_time()
+  );
</font>   rtems_test_assert( (info.start_time + info.initial) == schedule_time() );
 
   puts( "TA1 - rtems_task_wake_after - 1 second" );
<font color='#997700'>@@ -157,10 +156,14 @@
</font> 
   status = rtems_timer_get_information( tmid, &info );
   directive_failed( status, "rtems_timer_get_information" );
<font color='#880000'>-  printf( "Timer 1 scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
-    info.start_time + info.initial );
-  printf( "Timer Server scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
-    schedule_time() );
</font><font color='#000088'>+  printf(
+    "Timer 1 scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
+     info.start_time + info.initial
+  );
+  printf(
+    "Timer Server scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
+     schedule_time()
+  );
</font>   rtems_test_assert( (info.start_time + info.initial) == schedule_time() );
 
   puts( "TA1 - rtems_timer_cancel - timer 1" );

<font color='#006600'>diff -u rtems/testsuites/sptests/sp32/init.c:1.11 rtems/testsuites/sptests/sp32/init.c:1.12
--- rtems/testsuites/sptests/sp32/init.c:1.11   Sat Jun 11 11:42:05 2011
+++ rtems/testsuites/sptests/sp32/init.c        Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -68,13 +68,14 @@
</font>   /* tabulate and print results */
   for (loopy = 0; loopy < 5; loopy++) {
     printf(
<font color='#880000'>-        "period %d: measured %" PRIdrtems_interval " tick(s), wanted %" PRIdrtems_interval "\n",
-        loopy, timestamps[loopy+1] - timestamps[loopy],
-        wantintervals[loopy]
</font><font color='#000088'>+      "period %d: measured %" PRIdrtems_interval " tick(s), wanted %"
+        PRIdrtems_interval "\n",
+      loopy,
+      timestamps[loopy+1] - timestamps[loopy],
+      wantintervals[loopy]
</font>     );
   }
 
<font color='#880000'>-  /* the end */
</font>   puts("*** END OF TEST 32 ***");
   rtems_test_exit(0);
 }

<font color='#006600'>diff -u rtems/testsuites/sptests/sp33/init.c:1.12 rtems/testsuites/sptests/sp33/init.c:1.13
--- rtems/testsuites/sptests/sp33/init.c:1.12   Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp33/init.c        Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -174,8 +174,11 @@
</font>   status = rtems_barrier_release( Barrier, &released );
   directive_failed(status, "rtems_barrier_release");
   if ( released != 0 ) {
<font color='#880000'>-    printf( "ERROR -- rtems_barrier_release -- released != 0, = %" PRIu32, released);
-    exit(0);
</font><font color='#000088'>+    printf(
+      "ERROR -- rtems_barrier_release -- released != 0, = %" PRIu32,
+      released
+    );
+    rtems_test_exit(0);
</font>   }
 
   /*  Create some tasks to wait for the barrier */
<font color='#997700'>@@ -206,9 +209,12 @@
</font>   status = rtems_barrier_release( Barrier, &released );
   directive_failed(status, "rtems_barrier_release");
   if ( released != (CONFIGURE_MAXIMUM_TASKS-1) ) {
<font color='#880000'>-    printf( "ERROR -- rtems_barrier_release -- released != %d, = %" PRIu32,
-         (CONFIGURE_MAXIMUM_TASKS-1), released);
-    exit(0);
</font><font color='#000088'>+    printf(
+      "ERROR -- rtems_barrier_release -- released != %d, = %" PRIu32,
+      (CONFIGURE_MAXIMUM_TASKS-1),
+      released
+    );
+    rtems_test_exit(0);
</font>   }
 
   puts( "Delay to let Waiters print a message" );

<font color='#006600'>diff -u rtems/testsuites/sptests/sp34/changepri.c:1.14 rtems/testsuites/sptests/sp34/changepri.c:1.15
--- rtems/testsuites/sptests/sp34/changepri.c:1.14      Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp34/changepri.c   Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -80,7 +80,12 @@
</font>   status = rtems_task_set_priority(RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &opri);
   directive_failed( status, "rtems_task_set_priority" );
 
<font color='#880000'>-  printf("semaphore_obtain -- BlockingTask %" PRIdrtems_task_argument " @ pri=%" PRIdrtems_task_priority ") blocks\n", arg, opri);
</font><font color='#000088'>+  printf(
+    "semaphore_obtain -- BlockingTask %" PRIdrtems_task_argument
+      " @ pri=%" PRIdrtems_task_priority ") blocks\n",
+    arg,
+    opri
+  );
</font>   status = rtems_semaphore_obtain(Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   directive_failed( status, "rtems_semaphore_obtain" );
 
<font color='#997700'>@@ -88,7 +93,12 @@
</font>   status = rtems_task_set_priority(RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &npri);
   directive_failed( status, "rtems_task_set_priority" );
 
<font color='#880000'>-  printf("semaphore_obtain -- BlockingTask %" PRIdrtems_task_argument " @ pri=%" PRIdrtems_task_priority ") returns\n", arg, npri);
</font><font color='#000088'>+  printf(
+    "semaphore_obtain -- BlockingTask %" PRIdrtems_task_argument
+      " @ pri=%" PRIdrtems_task_priority ") returns\n",
+    arg,
+    npri
+  );
</font> 
   (void) rtems_task_delete( RTEMS_SELF );
 }
<font color='#997700'>@@ -108,8 +118,8 @@
</font>   status = rtems_semaphore_create(
     rtems_build_name ('S', 'E', 'M', '1'),           /* name */
     0,                                               /* initial count = 0 */
<font color='#880000'>-    RTEMS_LOCAL                   |
-    RTEMS_COUNTING_SEMAPHORE      |
</font><font color='#000088'>+    RTEMS_LOCAL              |
+    RTEMS_COUNTING_SEMAPHORE |
</font>     RTEMS_PRIORITY,
     0,
     &Semaphore);                                    /* *id */
<font color='#997700'>@@ -161,7 +171,7 @@
</font> 
   /* exit the test */
   puts( "*** END OF TEST 34 ***" );
<font color='#880000'>-  exit(0);
</font><font color='#000088'>+  rtems_test_exit(0);
</font> }
 
 /* configuration information */

<font color='#006600'>diff -u rtems/testsuites/sptests/sp36/strict_order_mut.c:1.6 rtems/testsuites/sptests/sp36/strict_order_mut.c:1.7
--- rtems/testsuites/sptests/sp36/strict_order_mut.c:1.6        Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp36/strict_order_mut.c    Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> /*
<font color='#880000'>- *  Simple test program to demonstrate strict order mutex
</font><font color='#000088'>+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
</font>  *
  *  $Id$
  */
<font color='#997700'>@@ -15,8 +17,9 @@
</font> #include "tmacros.h"
 #include <rtems/score/coremutex.h>
 
<font color='#880000'>-#define BACK_TYPE(_type_in_ptr,_type_out,_type_in_name)            \
-  ((_type_out *)((unsigned int)_type_in_ptr - (unsigned int)(&((_type_out *)0)->_type_in_name)))
</font><font color='#000088'>+#define BACK_TYPE(_type_in_ptr,_type_out,_type_in_name)    \
+  ((_type_out *)((unsigned int)_type_in_ptr - \
+                (unsigned int)(&((_type_out *)0)->_type_in_name)))
</font> 
 
 /* configuration information */
<font color='#997700'>@@ -31,22 +34,17 @@
</font> #define CONFIGURE_MAXIMUM_TASKS 10
 #define CONFIGURE_MAXIMUM_SEMAPHORES 10
 
<font color='#880000'>-
-void p_mutex_chain(Thread_Control *the_thread);
</font> rtems_task Task0(rtems_task_argument ignored);
 rtems_task Task1(rtems_task_argument ignored);
 rtems_task Init(rtems_task_argument ignored);
 rtems_task_priority Get_current_pri(void);
 
<font color='#880000'>-
</font> #include <rtems/confdefs.h>
 
<font color='#880000'>-
-
-rtems_id Task_id[4];
</font><font color='#000088'>+rtems_id   Task_id[4];
</font> rtems_name Task_name[4];
 
<font color='#880000'>-rtems_id Mutex_id[4];
</font><font color='#000088'>+rtems_id   Mutex_id[4];
</font> rtems_name Mutex_name[4];
 
 rtems_task Init(rtems_task_argument ignored)
<font color='#997700'>@@ -56,25 +54,27 @@
</font> 
   Mutex_name[0] = rtems_build_name( 'S','0',' ',' ');
   status = rtems_semaphore_create(
<font color='#880000'>-                             Mutex_name[0],
-                                 1,
-                                 RTEMS_LOCAL|
-                                 RTEMS_SIMPLE_BINARY_SEMAPHORE|
-                                 RTEMS_PRIORITY,
-                                 0,
-                                 &Mutex_id[0]);
</font><font color='#000088'>+    Mutex_name[0],
+    1,
+    RTEMS_LOCAL|
+    RTEMS_SIMPLE_BINARY_SEMAPHORE|
+    RTEMS_PRIORITY,
+    0,
+    &Mutex_id[0]
+  );
</font>   directive_failed( status, "rtems_semaphore_create of S0");
   printf("Create S0, Inherit_priority\n");
 
   Mutex_name[1] = rtems_build_name( 'S','1',' ',' ');
   status = rtems_semaphore_create(
<font color='#880000'>-                             Mutex_name[1],
-                                 1,
-                                 RTEMS_LOCAL|
-                                 RTEMS_SIMPLE_BINARY_SEMAPHORE|
-                                 RTEMS_PRIORITY,
-                                 1,
-                                 &Mutex_id[1]);
</font><font color='#000088'>+    Mutex_name[1],
+    1,
+    RTEMS_LOCAL|
+    RTEMS_SIMPLE_BINARY_SEMAPHORE|
+    RTEMS_PRIORITY,
+    1,
+    &Mutex_id[1]
+  );
</font>   directive_failed( status, "rtems_semaphore_create of S1");
   printf("Create S1, Priority_celling  is 1\n");
 
<font color='#997700'>@@ -83,18 +83,16 @@
</font> 
   Task_name[0] = rtems_build_name( 'T','0',' ',' ');
   status = rtems_task_create(
<font color='#880000'>-                        Task_name[0],
-                            4,
-                            RTEMS_MINIMUM_STACK_SIZE *2,
-                            RTEMS_DEFAULT_MODES,
-                            RTEMS_DEFAULT_ATTRIBUTES,
-                            &Task_id[0]
-                            );
</font><font color='#000088'>+    Task_name[0],
+    4,
+    RTEMS_MINIMUM_STACK_SIZE *2,
+    RTEMS_DEFAULT_MODES,
+    RTEMS_DEFAULT_ATTRIBUTES,
+    &Task_id[0]
+  );
</font>   directive_failed( status,"rtems_task_create of T0");
   printf("Create T0,priority is 4\n");
 
<font color='#880000'>-
-
</font>   status = rtems_task_start( Task_id[0],Task0, 0);
   directive_failed( status,"rtems_task_start of T0");
 
<font color='#997700'>@@ -107,19 +105,12 @@
</font> {
   rtems_status_code status;
 
<font color='#880000'>-
-  status = rtems_semaphore_obtain(
-                                 Mutex_id[0],
-                                 RTEMS_WAIT,
-                                 0);
</font><font color='#000088'>+  status = rtems_semaphore_obtain( Mutex_id[0], RTEMS_WAIT, 0 );
</font>   printf("T0 rtems_semaphore_obtain - S0\n");
   directive_failed( status,"rtems_semaphore_obtain of S0\n");
   printf("The current priority of T0 is %d\n",Get_current_pri());
 
<font color='#880000'>-  status = rtems_semaphore_obtain(
-                                 Mutex_id[1],
-                                 RTEMS_WAIT,
-                                 0);
</font><font color='#000088'>+  status = rtems_semaphore_obtain( Mutex_id[1], RTEMS_WAIT, 0 );
</font>   printf("T0 rtems_semaphore_obtain - S1\n");
   directive_failed( status,"rtems_semaphore_obtain of S1");
   printf("The current priority of T0 is %d\n",Get_current_pri());
<font color='#997700'>@@ -136,20 +127,18 @@
</font>   directive_failed( status,"rtems_semaphore_release of S1\n");
   printf("The current priority of T0 is %d\n",Get_current_pri());
 
<font color='#880000'>-
</font>   Task_name[1] = rtems_build_name( 'T','1',' ',' ');
   status = rtems_task_create(
<font color='#880000'>-                        Task_name[1],
-                            1,
-                            RTEMS_MINIMUM_STACK_SIZE *2,
-                            RTEMS_DEFAULT_MODES,
-                            RTEMS_DEFAULT_ATTRIBUTES,
-                            &Task_id[1]
-                            );
</font><font color='#000088'>+    Task_name[1],
+    1,
+    RTEMS_MINIMUM_STACK_SIZE *2,
+    RTEMS_DEFAULT_MODES,
+    RTEMS_DEFAULT_ATTRIBUTES,
+    &Task_id[1]
+  );
</font>   directive_failed( status , "rtems_task_create of T1\n");
   printf("Create S1,priority is 1\n");
 
<font color='#880000'>-
</font>   status = rtems_task_start( Task_id[1],Task1, 0);
   directive_failed( status, "rtems_task_start of T1\n");
 
<font color='#997700'>@@ -158,50 +147,22 @@
</font>   status = rtems_semaphore_release(Mutex_id[0]);
   printf("T0 - rtems_semaphore_release - S0\n");
   directive_failed( status, "rtems_semaphore_release of S0\n");
<font color='#880000'>-
</font> }
 
<font color='#880000'>-
</font> rtems_task Task1(rtems_task_argument ignored)
 {
<font color='#880000'>-
</font>   rtems_status_code status;
<font color='#880000'>-  status =  rtems_semaphore_obtain(
-                        Mutex_id[0],
-                        RTEMS_WAIT,
-                        0);
</font><font color='#000088'>+  status = rtems_semaphore_obtain( Mutex_id[0], RTEMS_WAIT, 0 );
</font>   printf("T1 - rtems_semaphore_obtain - S0");
   directive_failed( status," rtems_semaphore_obtain S0");
 }
 
<font color='#880000'>-
</font> rtems_task_priority Get_current_pri(void)
 {
   rtems_status_code status;
   rtems_task_priority pri;
<font color='#880000'>-  status = rtems_task_set_priority(RTEMS_SELF,
-                                  RTEMS_CURRENT_PRIORITY,
-                                  &pri);
</font><font color='#000088'>+
+  status = rtems_task_set_priority(RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &pri);
</font>   directive_failed( status, " rtems_task_set_priority ");
   return pri;
 }
<font color='#880000'>-
-/*void p_mutex_chain(Thread_Control *the_thread)
-{
-  Chain_Control *con = &the_thread->lock_mutex;
-  Chain_Node  * node = con->first;
-  CORE_mutex_Control * p_mutex ;
-
-  if(!_Chain_Is_empty(&the_thread->lock_mutex)){
-    while(node != _Chain_Tail(con)){
-      p_mutex = BACK_TYPE(node,CORE_mutex_Control,queue);
-      printf("node:Id=%p,priority_before=%d,"
-            "holder_id=%d,holder's current priority=%d\n",node,
-            ((CORE_mutex_order_list *)node)->priority_before,p_mutex->holder_id,p_mutex->holder->current_priority);
-      node = node->next;
-    }
-  }
-  else
-    printf("the Chain is empty\n");
-}
-*/
</font>
<font color='#006600'>diff -u rtems/testsuites/sptests/sp37/init.c:1.11 rtems/testsuites/sptests/sp37/init.c:1.12
--- rtems/testsuites/sptests/sp37/init.c:1.11   Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp37/init.c        Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -2,7 +2,7 @@
</font>  *  Interrupt Disable/Enable Tests
  *  Clock Tick from task level
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -48,8 +48,9 @@
</font> void test_interrupt_inline(void)
 {
   rtems_interrupt_level level;
<font color='#880000'>-  rtems_attribute level_attribute, level_attribute_macro;
-  bool                  in_isr;
</font><font color='#000088'>+  rtems_attribute level_attribute;
+  rtems_attribute level_attribute_macro;
+  bool            in_isr;
</font> 
   puts( "interrupt is in progress (use body)" );
   in_isr = rtems_interrupt_is_in_progress();
<font color='#997700'>@@ -250,7 +251,9 @@
</font>   }
   switch ( blocked_task_status ) {
      case -1:
<font color='#880000'>-       puts( "clock_tick with task preempt -- task blocked, timer did not fire" );
</font><font color='#000088'>+       puts(
+         "clock_tick with task preempt -- task blocked, timer did not fire"
+       );
</font>        rtems_test_exit(0);
        break;
      case 1:
<font color='#997700'>@@ -316,7 +319,6 @@
</font> 
   check_isr_worked( "body", isr_in_progress_body );
 
<font color='#880000'>-
</font>   puts( "*** END OF TEST 37 ***" );
   rtems_test_exit( 0 );
 }

<font color='#006600'>diff -u rtems/testsuites/sptests/sp43/init.c:1.26 rtems/testsuites/sptests/sp43/init.c:1.27
--- rtems/testsuites/sptests/sp43/init.c:1.26   Wed Mar  9 11:23:36 2011
+++ rtems/testsuites/sptests/sp43/init.c        Sun Jul 24 17:10:18 2011
</font><font color='#997700'>@@ -1,7 +1,7 @@
</font> /*
  *  Exercise Object Manager Services
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -60,7 +60,8 @@
</font> {
   printf(
     "%s API %s Information\n"
<font color='#880000'>-    "    minimum id  : 0x%08" PRIxrtems_id " maximum id: 0x%08" PRIxrtems_id "\n"
</font><font color='#000088'>+    "    minimum id  : 0x%08" PRIxrtems_id
+      " maximum id: 0x%08" PRIxrtems_id "\n"
</font>     "    maximum     :    %7" PRIu32 " available : %" PRIu32 "\n"
     "    auto_extend : %s\n",
     rtems_object_get_api_name(api),

<font color='#006600'>diff -u rtems/testsuites/sptests/sp44/init.c:1.7 rtems/testsuites/sptests/sp44/init.c:1.8
--- rtems/testsuites/sptests/sp44/init.c:1.7    Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp44/init.c        Sun Jul 24 17:10:19 2011
</font><font color='#997700'>@@ -1,30 +1,10 @@
</font> /*
<font color='#880000'>- * Original version submitted as part of PR1212
</font><font color='#000088'>+ *  Original version submitted as part of PR1212
</font>  *
<font color='#880000'>- * This example shows a possible blocking of timeslicing if task mode is
- * changed to timeslicing in the middle of its executing.
</font><font color='#000088'>+ *  This example shows a possible blocking of timeslicing if task mode is
+ *  changed to timeslicing in the middle of its executing.
</font>  *
<font color='#880000'>- * The expected output is:
- *
- *   Task #0's turn. Now setting turn to 1
- *   Task #1's turn. Now setting turn to 0
- *   Task #0's turn. Now setting turn to 1
- *   Task #1's turn. Now setting turn to 0
- *   Task #0's turn. Now setting turn to 1
- *   Task #1's turn. Now setting turn to 0
- *   Task #0's turn. Now setting turn to 1
- *   ...
- *
- * The actural output is:
- *
- *   Task #0's turn. Now setting turn to 1
- *
- * Task #1 can not be dispatched also both tasks have timeslice enabled.
- *
- * Setting TASK_A/B_INITMODE to RTEMS_DEFAULT_MODES | RTEMS_TIMESLICE
- * will produce the expected output.
- *
- * $Id$
</font><font color='#000088'>+ *  $Id$
</font>  */
 
 #ifdef HAVE_CONFIG_H
<font color='#997700'>@@ -40,7 +20,7 @@
</font> rtems_task TaskAB_entry(rtems_task_argument me);
 
 /*** Task priorities ***/
<font color='#880000'>-#define TASK_A_PRIORITY    10
</font><font color='#000088'>+#define TASK_A_PRIORITY   10
</font> #define TASK_B_PRIORITY   10
 
 /*** Task names ***/
<font color='#997700'>@@ -60,12 +40,6 @@
</font> volatile uint32_t turn;
 rtems_id TaskA_id, TaskB_id;
 
<font color='#880000'>-#define TEST_FAILED(_status, _msg) \
-  do { \
-    printf("Test failed, status code: %d, msg: %s\n", _status, _msg); \
-    exit(1); \
-  } while(0)
-
</font> /* TASK A/B */
 rtems_task TaskAB_entry(rtems_task_argument me)
 {
<font color='#997700'>@@ -73,15 +47,21 @@
</font>   rtems_status_code status;
   uint32_t iterations = 0;
 
<font color='#880000'>-  status = rtems_task_mode(RTEMS_PREEMPT | RTEMS_TIMESLICE,
-                  RTEMS_PREEMPT_MASK | RTEMS_TIMESLICE_MASK,
-                  &previous_mode_set);
-  if (status != RTEMS_SUCCESSFUL)
-    TEST_FAILED(status, "Unable to change task mode.");
</font><font color='#000088'>+  status = rtems_task_mode(
+    RTEMS_PREEMPT | RTEMS_TIMESLICE,
+    RTEMS_PREEMPT_MASK | RTEMS_TIMESLICE_MASK,
+    &previous_mode_set
+  );
+  directive_failed(status, "Unable to change task mode.");
</font> 
   while(1) {
     if (turn == me) {
<font color='#880000'>-      printf("Task #%" PRIdrtems_task_argument "'s turn. Now setting turn to %" PRIdrtems_task_argument "\n", me, 1 - me);
</font><font color='#000088'>+      printf(
+        "Task #%" PRIdrtems_task_argument "'s turn. Now setting turn to %"
+          PRIdrtems_task_argument "\n",
+          me,
+          1 - me
+      );
</font>       turn = 1 - me;
 
       if ( ++iterations == 10 ) {
<font color='#997700'>@@ -99,37 +79,42 @@
</font>   puts( "\n\n*** SP44 TEST ***" );
 
   /* Create Task A */
<font color='#880000'>-  status = rtems_task_create(TASK_A_NAME, TASK_A_PRIORITY, TASK_A_STACKSIZE,
-         TASK_A_INITMODE, TASK_A_MODEATTR, &TaskA_id);
-
-  if (status != RTEMS_SUCCESSFUL)
-    TEST_FAILED(status,"rtems_task_create failed.\n");
</font><font color='#000088'>+  status = rtems_task_create(
+    TASK_A_NAME,
+    TASK_A_PRIORITY,
+    TASK_A_STACKSIZE,
+    TASK_A_INITMODE,
+    TASK_A_MODEATTR,
+    &TaskA_id
+  );
+  directive_failed(status,"rtems_task_create");
</font> 
   /* Start Task A */
   status = rtems_task_start(TaskA_id, TaskAB_entry, 0);
<font color='#880000'>-  if (status != RTEMS_SUCCESSFUL)
-    TEST_FAILED(status,"rtems_task_start failed.\n");
</font><font color='#000088'>+  directive_failed(status,"rtems_task_start");
</font> 
   /* Create Task B */
<font color='#880000'>-  status = rtems_task_create(TASK_B_NAME, TASK_B_PRIORITY, TASK_B_STACKSIZE,
-         TASK_B_INITMODE, TASK_B_MODEATTR, &TaskB_id);
-
-  if (status != RTEMS_SUCCESSFUL)
-    TEST_FAILED(status,"rtems_task_create failed.\n");
</font><font color='#000088'>+  status = rtems_task_create(
+    TASK_B_NAME,
+    TASK_B_PRIORITY,
+    TASK_B_STACKSIZE,
+    TASK_B_INITMODE,
+    TASK_B_MODEATTR,
+    &TaskB_id
+  );
+  directive_failed( status, "rtems_task_create" );
</font> 
   /* Start Task B */
   status = rtems_task_start(TaskB_id, TaskAB_entry, 1);
<font color='#880000'>-  if (status != RTEMS_SUCCESSFUL)
-    TEST_FAILED(status,"rtems_task_start failed.\n");
</font><font color='#000088'>+  directive_failed( status, "rtems_task_start" );
</font> 
   /* Suspend itself */
   status = rtems_task_suspend(RTEMS_SELF);
<font color='#880000'>-  if (status != RTEMS_SUCCESSFUL)
-    TEST_FAILED(status,"rtems_task_suspend failed.\n");
</font><font color='#000088'>+  directive_failed( status, "rtems_task_suspend" );
</font> 
   /* This task is not suposed to be executed anymore */
   printf("\nNOT SUPOSED TO RETURN HERE...\n");
<font color='#880000'>-  exit(1);
</font><font color='#000088'>+  rtems_test_exit(1);
</font> }
 
 /* configuration information */

<font color='#006600'>diff -u rtems/testsuites/sptests/sp48/init.c:1.5 rtems/testsuites/sptests/sp48/init.c:1.6
--- rtems/testsuites/sptests/sp48/init.c:1.5    Tue Feb 22 01:37:01 2011
+++ rtems/testsuites/sptests/sp48/init.c        Sun Jul 24 17:10:19 2011
</font><font color='#997700'>@@ -1,7 +1,7 @@
</font> /*
  *  Verify creation of semaphores with unlimited attribute works.
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -31,7 +31,10 @@
</font> 
   puts( "\n\n*** TEST 48 ***" );
 
<font color='#880000'>-  printf( "Largest C program heap block available: %zu\n", malloc_free_space() );
</font><font color='#000088'>+  printf(
+    "Largest C program heap block available: %zu\n",
+    malloc_free_space()
+  );
</font>   for (i=0 ; i<MAX ; i++ ) {
     sc = rtems_semaphore_create(
       rtems_build_name('s', 'e', 'm', ' '),
<font color='#997700'>@@ -58,7 +61,10 @@
</font>     puts( "Created all semaphores allowed in this test" );
 
   printf( "%d semaphores created\n", i );
<font color='#880000'>-  printf( "Largest C program heap block available: %zu\n", malloc_free_space() );
</font><font color='#000088'>+  printf(
+    "Largest C program heap block available: %zu\n",
+    malloc_free_space()
+  );
</font> 
   for ( i-- ; i ; i-- ) {
     sc = rtems_semaphore_delete( Semaphores[i] );
<font color='#997700'>@@ -70,7 +76,10 @@
</font>   }
 
   printf( "%d semaphores successfully deleted\n", created );
<font color='#880000'>-  printf( "Largest C program heap block available: %zu\n", malloc_free_space() );
</font><font color='#000088'>+  printf(
+    "Largest C program heap block available: %zu\n",
+    malloc_free_space()
+  );
</font> 
   puts( "*** END OF TEST 48 ***" );
   rtems_test_exit( 0 );

<font color='#006600'>diff -u rtems/testsuites/sptests/sp54/init.c:1.6 rtems/testsuites/sptests/sp54/init.c:1.7
--- rtems/testsuites/sptests/sp54/init.c:1.6    Tue Feb 22 01:37:01 2011
+++ rtems/testsuites/sptests/sp54/init.c        Sun Jul 24 17:10:19 2011
</font><font color='#997700'>@@ -1,7 +1,7 @@
</font> /*  Odd Id Cases where API configured but No Threads
  *    + Possibly Valid Id passed to directive
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -32,20 +32,20 @@
</font>   puts( "\n\n*** TEST 54 ***" );
 
   puts( "Init - use valid id of API class with no objects" );
<font color='#880000'>-  status = rtems_task_set_priority( rtems_build_id(0x2,0x1,0x01,0x0001) /* 0xa010001 */, RTEMS_CURRENT_PRIORITY, &pri );
-  fatal_directive_status(
-    status,
-    RTEMS_INVALID_ID,
-    "rtems_task_set_priority"
</font><font color='#000088'>+  status = rtems_task_set_priority(
+    rtems_build_id(0x2,0x1,0x01,0x0001) /* 0xa010001 */,
+    RTEMS_CURRENT_PRIORITY,
+    &pri
</font>   );
<font color='#000088'>+  fatal_directive_status( status, RTEMS_INVALID_ID, "rtems_task_set_priority" );
</font> 
   puts( "Init - lookup name within API class with no objects" );
<font color='#880000'>-  status = rtems_task_ident( rtems_build_id( 0, 0, 0x12, 0x3456) /* 0x123456 */, RTEMS_SEARCH_ALL_NODES, &id );
-  fatal_directive_status(
-    status,
-    RTEMS_INVALID_NAME,
-    "rtems_task_ident"
</font><font color='#000088'>+  status = rtems_task_ident(
+    rtems_build_id( 0, 0, 0x12, 0x3456) /* 0x123456 */,
+    RTEMS_SEARCH_ALL_NODES,
+    &id
</font>   );
<font color='#000088'>+  fatal_directive_status( status, RTEMS_INVALID_NAME, "rtems_task_ident" );
</font> 
   puts( "*** END OF TEST 54 ***" );
   rtems_test_exit(0);
<font color='#997700'>@@ -72,7 +72,7 @@
</font> #define CONFIGURE_HAS_OWN_INIT_TASK_TABLE 1
 
 rtems_initialization_tasks_table Initialization_tasks[1] =
<font color='#880000'>-{ { 0, }};
</font><font color='#000088'>+  { { 0, }};
</font> 
 #define CONFIGURE_INIT_TASK_TABLE      Initialization_tasks
 #define CONFIGURE_INIT_TASK_TABLE_SIZE 0

<font color='#006600'>diff -u rtems/testsuites/sptests/sp59/init.c:1.6 rtems/testsuites/sptests/sp59/init.c:1.7
--- rtems/testsuites/sptests/sp59/init.c:1.6    Tue Feb 22 01:37:01 2011
+++ rtems/testsuites/sptests/sp59/init.c        Sun Jul 24 17:10:19 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -55,7 +55,10 @@
</font> 
   priority = RTEMS_MAXIMUM_PRIORITY / 4;
   priority = (priority * 3) + (priority / 2);
<font color='#880000'>-  printf( "Init - blocking task priority will be %" PRIdrtems_task_priority "\n", priority );
</font><font color='#000088'>+  printf(
+    "Init - blocking task priority will be %" PRIdrtems_task_priority "\n",
+     priority
+  );
</font> 
   puts( "Init - rtems_task_create - delay task - OK" );
   status = rtems_task_create(

<font color='#006600'>diff -u rtems/testsuites/sptests/sp65/init.c:1.9 rtems/testsuites/sptests/sp65/init.c:1.10
--- rtems/testsuites/sptests/sp65/init.c:1.9    Tue Feb 22 01:37:01 2011
+++ rtems/testsuites/sptests/sp65/init.c        Sun Jul 24 17:10:19 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -76,7 +76,6 @@
</font>   status = rtems_semaphore_release( Mutex_id );
   directive_failed( status, "rtems_semaphore_release" );
 
<font color='#880000'>-
</font>   puts( "*** END OF TEST 65 ***" );
 
   rtems_test_exit(0);
<font color='#997700'>@@ -90,7 +89,11 @@
</font>   rtems_id *Mutex_id = (rtems_id *)arg;
 
   puts( "Init Task_1: Obtaining semaphore" );
<font color='#880000'>-  status_in_task = rtems_semaphore_obtain( *Mutex_id, RTEMS_DEFAULT_OPTIONS, 0 );
</font><font color='#000088'>+  status_in_task = rtems_semaphore_obtain(
+    *Mutex_id,
+    RTEMS_DEFAULT_OPTIONS,
+    0
+  );
</font>   directive_failed( status_in_task, "Task_1 rtems_semaphore_obtain" );
   return;
 }

<font color='#006600'>diff -u rtems/testsuites/sptests/sp68/init.c:1.3 rtems/testsuites/sptests/sp68/init.c:1.4
--- rtems/testsuites/sptests/sp68/init.c:1.3    Tue Feb 22 01:37:01 2011
+++ rtems/testsuites/sptests/sp68/init.c        Sun Jul 24 17:10:19 2011
</font><font color='#997700'>@@ -117,13 +117,16 @@
</font>       sc = rtems_semaphore_obtain(mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
       break;
     case MESSAGE_QUEUE:
<font color='#880000'>-      sc = rtems_message_queue_receive(message_queue, buf, &size, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
</font><font color='#000088'>+      sc = rtems_message_queue_receive(
+        message_queue, buf, &size, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
</font>       break;
     case REGION:
<font color='#880000'>-      sc = rtems_region_get_segment(region, 1, RTEMS_WAIT, RTEMS_NO_TIMEOUT, &new_region_item);
</font><font color='#000088'>+      sc = rtems_region_get_segment(
+        region, 1, RTEMS_WAIT, RTEMS_NO_TIMEOUT, &new_region_item);
</font>       break;
     case EVENT:
<font color='#880000'>-      sc = rtems_event_receive(RTEMS_EVENT_0, RTEMS_EVENT_ALL | RTEMS_WAIT, RTEMS_NO_TIMEOUT, &events);
</font><font color='#000088'>+      sc = rtems_event_receive(
+        RTEMS_EVENT_0, RTEMS_EVENT_ALL | RTEMS_WAIT, RTEMS_NO_TIMEOUT, &events);
</font>       break;
     case BARRIER:
       sc = rtems_barrier_wait(barrier, RTEMS_NO_TIMEOUT);
<font color='#997700'>@@ -433,7 +436,8 @@
</font> 
   do {
     region_item = new_region_item;
<font color='#880000'>-    sc = rtems_region_get_segment(region, 1, RTEMS_NO_WAIT, 0, &new_region_item);
</font><font color='#000088'>+    sc = rtems_region_get_segment(
+        region, 1, RTEMS_NO_WAIT, 0, &new_region_item);
</font>   } while (sc == RTEMS_SUCCESSFUL);
 
   sc = rtems_barrier_create(

<font color='#006600'>diff -u rtems/testsuites/sptests/spchain/init.c:1.10 rtems/testsuites/sptests/spchain/init.c:1.11
--- rtems/testsuites/sptests/spchain/init.c:1.10        Tue Mar  8 18:38:56 2011
+++ rtems/testsuites/sptests/spchain/init.c     Sun Jul 24 17:10:20 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -70,7 +70,12 @@
</font> 
   puts( "INIT - Verify rtems_chain_append_with_notification" );
   rtems_chain_initialize_empty( &chain );
<font color='#880000'>-  sc = rtems_chain_append_with_notification( &chain, &a, rtems_task_self(), EVENT );
</font><font color='#000088'>+  sc = rtems_chain_append_with_notification(
+    &chain,
+    &a,
+    rtems_task_self(),
+    EVENT
+  );
</font>   rtems_test_assert( sc == RTEMS_SUCCESSFUL );
   sc = rtems_chain_get_with_wait( &chain, EVENT, TIMEOUT, &p );
   rtems_test_assert( sc == RTEMS_SUCCESSFUL );
<font color='#997700'>@@ -79,20 +84,35 @@
</font>   rtems_chain_initialize_empty( &chain );
 
   rtems_chain_append( &chain, &b );
<font color='#880000'>-  sc = rtems_chain_append_with_notification( &chain, &a, rtems_task_self(), EVENT );
</font><font color='#000088'>+  sc = rtems_chain_append_with_notification(
+    &chain,
+    &a,
+    rtems_task_self(),
+    EVENT
+  );
</font>   rtems_test_assert( sc == RTEMS_SUCCESSFUL );
   rtems_test_assert( p == &a );
 
   puts( "INIT - Verify rtems_chain_prepend_with_notification" );
   rtems_chain_initialize_empty( &chain );
<font color='#880000'>-  sc = rtems_chain_prepend_with_notification( &chain, &a, rtems_task_self(), EVENT );
</font><font color='#000088'>+  sc = rtems_chain_prepend_with_notification(
+    &chain,
+    &a,
+    rtems_task_self(),
+    EVENT
+  );
</font>   rtems_test_assert( sc == RTEMS_SUCCESSFUL );
   sc = rtems_chain_get_with_wait( &chain, EVENT, TIMEOUT, &p );
   rtems_test_assert( sc == RTEMS_SUCCESSFUL );
   rtems_test_assert( p == &a );
 
   rtems_chain_prepend( &chain, &b );
<font color='#880000'>-  sc = rtems_chain_prepend_with_notification( &chain, &a, rtems_task_self(), EVENT );
</font><font color='#000088'>+  sc = rtems_chain_prepend_with_notification(
+    &chain,
+    &a,
+    rtems_task_self(),
+    EVENT
+  );
</font>   rtems_test_assert( sc == RTEMS_SUCCESSFUL );
   rtems_test_assert( p == &a );
 

<font color='#006600'>diff -u rtems/testsuites/sptests/spclockget/init.c:1.6 rtems/testsuites/sptests/spclockget/init.c:1.7
--- rtems/testsuites/sptests/spclockget/init.c:1.6      Sat Jun 11 11:42:05 2011
+++ rtems/testsuites/sptests/spclockget/init.c  Sun Jul 24 17:10:20 2011
</font><font color='#997700'>@@ -47,19 +47,31 @@
</font> 
   sc = rtems_clock_get( RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH, &interval );
   directive_failed( sc, "rtems_clock_get -- Seconds Since Epoch" );
<font color='#880000'>-  printf( "Init - rtems_clock_get - Seconds Since Epoch = %" PRIdrtems_interval "\n", interval );
</font><font color='#000088'>+  printf(
+    "Init - rtems_clock_get - Seconds Since Epoch = %" PRIdrtems_interval "\n",
+     interval
+  );
</font> 
   sc = rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &interval );
   directive_failed( sc, "rtems_clock_get -- Ticks Since Boot" );
<font color='#880000'>-  printf( "Init - rtems_clock_get - Ticks Since Boot = %" PRIdrtems_interval "\n", interval );
</font><font color='#000088'>+  printf(
+    "Init - rtems_clock_get - Ticks Since Boot = %" PRIdrtems_interval "\n",
+     interval
+  );
</font> 
   sc = rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &interval );
   directive_failed( sc, "rtems_clock_get -- Ticks Per Second" );
<font color='#880000'>-  printf( "Init - rtems_clock_get - Ticks Per Second = %" PRIdrtems_interval "\n", interval );
</font><font color='#000088'>+  printf(
+    "Init - rtems_clock_get - Ticks Per Second = %" PRIdrtems_interval "\n",
+     interval
+  );
</font> 
   sc = rtems_clock_get( RTEMS_CLOCK_GET_TIME_VALUE, &timev );
   directive_failed( sc, "rtems_clock_get -- Time Value" );
<font color='#880000'>-  printf( "Init - rtems_clock_get - Time Value = %" PRItime_t "\n", timev.tv_sec );
</font><font color='#000088'>+  printf(
+    "Init - rtems_clock_get - Time Value = %" PRItime_t "\n",
+     timev.tv_sec
+  );
</font> 
   puts( "*** END OF TEST LEGACY RTEMS_CLOCK_GET ***" );
   rtems_test_exit(0);

<font color='#006600'>diff -u rtems/testsuites/sptests/spfatal03/testcase.h:1.6 rtems/testsuites/sptests/spfatal03/testcase.h:1.7
--- rtems/testsuites/sptests/spfatal03/testcase.h:1.6   Wed Jul  7 04:03:15 2010
+++ rtems/testsuites/sptests/spfatal03/testcase.h       Sun Jul 24 17:10:20 2011
</font><font color='#997700'>@@ -1,7 +1,7 @@
</font> /*
  *  Semaphore Obtain in Critical Section
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -19,7 +19,8 @@
</font> #define FATAL_ERROR_DESCRIPTION          "Core Mutex obtain in critical section"
 #define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_CORE
 #define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE
<font color='#880000'>-#define FATAL_ERROR_EXPECTED_ERROR       INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE
</font><font color='#000088'>+#define FATAL_ERROR_EXPECTED_ERROR       \
+          INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE
</font> 
 void force_error(void)
 {

<font color='#006600'>diff -u rtems/testsuites/sptests/spfatal07/testcase.h:1.7 rtems/testsuites/sptests/spfatal07/testcase.h:1.8
--- rtems/testsuites/sptests/spfatal07/testcase.h:1.7   Wed Jul  7 04:03:21 2010
+++ rtems/testsuites/sptests/spfatal07/testcase.h       Sun Jul 24 17:10:20 2011
</font><font color='#997700'>@@ -1,7 +1,7 @@
</font> /*
  * Classic API Init task create failure
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2008.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -36,7 +36,8 @@
</font>         "Core Configuration Invalid ISR stack size"
 #define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_CORE
 #define FATAL_ERROR_EXPECTED_IS_INTERNAL TRUE
<font color='#880000'>-#define FATAL_ERROR_EXPECTED_ERROR       INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL
</font><font color='#000088'>+#define FATAL_ERROR_EXPECTED_ERROR       \
+          INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL
</font> 
 void force_error()
 {

<font color='#006600'>diff -u rtems/testsuites/sptests/spfatal_support/init.c:1.11 rtems/testsuites/sptests/spfatal_support/init.c:1.12
--- rtems/testsuites/sptests/spfatal_support/init.c:1.11        Tue Feb 22 01:37:02 2011
+++ rtems/testsuites/sptests/spfatal_support/init.c     Sun Jul 24 17:10:20 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2010.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -127,9 +127,13 @@
</font>   if ( is_internal !=  FATAL_ERROR_EXPECTED_IS_INTERNAL )
   {
     if ( is_internal == TRUE )
<font color='#880000'>-      printk( "ERROR==> Fatal Extension is internal set to TRUE expected FALSE\n" );
</font><font color='#000088'>+      printk(
+        "ERROR==> Fatal Extension is internal set to TRUE expected FALSE\n"
+      );
</font>     else
<font color='#880000'>-      printk( "ERROR==> Fatal Extension is internal set to FALSE expected TRUE\n" );
</font><font color='#000088'>+      printk(
+        "ERROR==> Fatal Extension is internal set to FALSE expected TRUE\n"
+      );
</font>   }
 
   if ( error !=  FATAL_ERROR_EXPECTED_ERROR ) {
</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>