<!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 (2010-10-25)</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>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * tm26/task1.c, tm27/task1.c: Do not violate chain API.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/tmtests/ChangeLog.diff?r1=text&tr1=1.89&r2=text&tr2=1.90&diff_format=h">M</a></td><td width='1%'>1.90</td><td width='100%'>testsuites/tmtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/tmtests/tm26/task1.c.diff?r1=text&tr1=1.31&r2=text&tr2=1.32&diff_format=h">M</a></td><td width='1%'>1.32</td><td width='100%'>testsuites/tmtests/tm26/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/tmtests/tm27/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/tmtests/tm27/task1.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/tmtests/ChangeLog:1.89 rtems/testsuites/tmtests/ChangeLog:1.90
--- rtems/testsuites/tmtests/ChangeLog:1.89     Fri Jul 30 13:52:32 2010
+++ rtems/testsuites/tmtests/ChangeLog  Mon Oct 25 02:27:51 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-10-25    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * tm26/task1.c, tm27/task1.c: Do not violate chain API.
+
</font> 2010-07-30        Gedare Bloom <giddyup44@yahoo.com>
 
        PR 1599/cpukit

<font color='#006600'>diff -u rtems/testsuites/tmtests/tm26/task1.c:1.31 rtems/testsuites/tmtests/tm26/task1.c:1.32
--- rtems/testsuites/tmtests/tm26/task1.c:1.31  Fri Jul 30 13:52:32 2010
+++ rtems/testsuites/tmtests/tm26/task1.c       Mon Oct 25 02:27:51 2010
</font><font color='#997700'>@@ -242,7 +242,7 @@
</font>   Middle_tcb   = _Thread_Executing;
 
   _Thread_Executing =
<font color='#880000'>-        (Thread_Control *) _Thread_Ready_chain[LOW_PRIORITY].first;
</font><font color='#000088'>+        (Thread_Control *) _Chain_First(&_Thread_Ready_chain[LOW_PRIORITY]);
</font> 
   /* do not force context switch */
 
<font color='#997700'>@@ -279,7 +279,7 @@
</font>   context_switch_another_task_time = benchmark_timer_read();
 
   _Thread_Executing =
<font color='#880000'>-        (Thread_Control *) _Thread_Ready_chain[FP1_PRIORITY].first;
</font><font color='#000088'>+        (Thread_Control *) _Chain_First(&_Thread_Ready_chain[FP1_PRIORITY]);
</font> 
   /* do not force context switch */
 
<font color='#997700'>@@ -306,7 +306,7 @@
</font>   executing = _Thread_Executing;
 
   _Thread_Executing =
<font color='#880000'>-        (Thread_Control *) _Thread_Ready_chain[FP2_PRIORITY].first;
</font><font color='#000088'>+        (Thread_Control *) _Chain_First(&_Thread_Ready_chain[FP2_PRIORITY]);
</font> 
   /* do not force context switch */
 
<font color='#997700'>@@ -329,7 +329,7 @@
</font>   executing = _Thread_Executing;
 
   _Thread_Executing =
<font color='#880000'>-       (Thread_Control *) _Thread_Ready_chain[FP2_PRIORITY].first;
</font><font color='#000088'>+       (Thread_Control *) _Chain_First(&_Thread_Ready_chain[FP2_PRIORITY]);
</font> 
   /* do not force context switch */
 
<font color='#997700'>@@ -358,7 +358,7 @@
</font>   executing = _Thread_Executing;
 
   _Thread_Executing =
<font color='#880000'>-       (Thread_Control *) _Thread_Ready_chain[FP1_PRIORITY].first;
</font><font color='#000088'>+       (Thread_Control *) _Chain_First(&_Thread_Ready_chain[FP1_PRIORITY]);
</font> 
   FP_LOAD( 1.0 );
 

<font color='#006600'>diff -u rtems/testsuites/tmtests/tm27/task1.c:1.28 rtems/testsuites/tmtests/tm27/task1.c:1.29
--- rtems/testsuites/tmtests/tm27/task1.c:1.28  Fri Jul 30 13:52:32 2010
+++ rtems/testsuites/tmtests/tm27/task1.c       Mon Oct 25 02:27:51 2010
</font><font color='#997700'>@@ -170,7 +170,7 @@
</font> 
   _Thread_Dispatch_disable_level = 0;
 
<font color='#880000'>-  _Thread_Heir = (rtems_tcb *) _Thread_Ready_chain[LOW_PRIORITY].last;
</font><font color='#000088'>+  _Thread_Heir = (rtems_tcb *) _Chain_Last(&_Thread_Ready_chain[LOW_PRIORITY]);
</font> 
   _Thread_Dispatch_necessary = 1;
 
<font color='#997700'>@@ -227,7 +227,7 @@
</font> 
   _Thread_Dispatch_disable_level = 0;
 
<font color='#880000'>-  _Thread_Heir = (rtems_tcb *) _Thread_Ready_chain[LOW_PRIORITY].first;
</font><font color='#000088'>+  _Thread_Heir = (rtems_tcb *) _Chain_First(&_Thread_Ready_chain[LOW_PRIORITY]);
</font> 
   _Thread_Dispatch_necessary = 1;
 
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * spchain/init.c, spwatchdog/task1.c: Do not violate chain API.
</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.421&r2=text&tr2=1.422&diff_format=h">M</a></td><td width='1%'>1.422</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/spchain/init.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>testsuites/sptests/spchain/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spwatchdog/task1.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/spwatchdog/task1.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.421 rtems/testsuites/sptests/ChangeLog:1.422
--- rtems/testsuites/sptests/ChangeLog:1.421    Sun Oct  3 23:07:47 2010
+++ rtems/testsuites/sptests/ChangeLog  Mon Oct 25 02:29:27 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-10-25    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * spchain/init.c, spwatchdog/task1.c: Do not violate chain API.
+
</font> 2010-10-04        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * spfifo03/spfifo03.scn: Replace file.

<font color='#006600'>diff -u rtems/testsuites/sptests/spchain/init.c:1.4 rtems/testsuites/sptests/spchain/init.c:1.5
--- rtems/testsuites/sptests/spchain/init.c:1.4 Tue Aug 24 10:01:04 2010
+++ rtems/testsuites/sptests/spchain/init.c     Mon Oct 25 02:29:27 2010
</font><font color='#997700'>@@ -128,7 +128,7 @@
</font>   rtems_chain_append( &chain1, &node1.Node );
   rtems_chain_insert( &node1.Node, &node2.Node );
 
<font color='#880000'>-  for ( p = chain1.first, id = 1 ;
</font><font color='#000088'>+  for ( p = rtems_chain_first(&chain1), id = 1 ;
</font>         !rtems_chain_is_tail(&chain1, p) ;
         p = p->next , id++ ) {
      test_node *t = (test_node *)p;

<font color='#006600'>diff -u rtems/testsuites/sptests/spwatchdog/task1.c:1.6 rtems/testsuites/sptests/spwatchdog/task1.c:1.7
--- rtems/testsuites/sptests/spwatchdog/task1.c:1.6     Mon Oct 26 06:29:24 2009
+++ rtems/testsuites/sptests/spwatchdog/task1.c Mon Oct 25 02:29:27 2010
</font><font color='#997700'>@@ -80,10 +80,10 @@
</font>   _Watchdog_Report_chain( NULL, & _Watchdog_Ticks_chain);
 
   puts( "TA1 - _Watchdog_Report - with name"  );
<font color='#880000'>-  _Watchdog_Report("first", (Watchdog_Control *)(_Watchdog_Ticks_chain.first));
</font><font color='#000088'>+  _Watchdog_Report("first", (Watchdog_Control *)_Chain_First(&_Watchdog_Ticks_chain));
</font> 
   puts( "TA1 - _Watchdog_Report - no name"  );
<font color='#880000'>-  _Watchdog_Report( NULL, (Watchdog_Control *)(_Watchdog_Ticks_chain.first) );
</font><font color='#000088'>+  _Watchdog_Report( NULL, (Watchdog_Control *)_Chain_First(&_Watchdog_Ticks_chain) );
</font> 
   puts( "TA1 - timer_deleting - timer 1" );
   status = rtems_timer_delete( tmid );
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libchip/ide/ata.c: Do not violate chain API.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/ChangeLog.diff?r1=text&tr1=1.533&r2=text&tr2=1.534&diff_format=h">M</a></td><td width='1%'>1.534</td><td width='100%'>c/src/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/libchip/ide/ata.c.diff?r1=text&tr1=1.40&r2=text&tr2=1.41&diff_format=h">M</a></td><td width='1%'>1.41</td><td width='100%'>c/src/libchip/ide/ata.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/ChangeLog:1.533 rtems/c/src/ChangeLog:1.534
--- rtems/c/src/ChangeLog:1.533 Fri Aug 20 16:26:09 2010
+++ rtems/c/src/ChangeLog       Mon Oct 25 02:43:32 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-10-25    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * libchip/ide/ata.c: Do not violate chain API.
+
</font> 2010-08-20        <yann.sionneau@telecom-sudparis.eu>
 
        * libchip/network/greth.c, libchip/network/open_eth.c: Add constants

<font color='#006600'>diff -u rtems/c/src/libchip/ide/ata.c:1.40 rtems/c/src/libchip/ide/ata.c:1.41
--- rtems/c/src/libchip/ide/ata.c:1.40  Tue Aug 17 08:54:50 2010
+++ rtems/c/src/libchip/ide/ata.c       Mon Oct 25 02:43:32 2010
</font><font color='#997700'>@@ -431,7 +431,7 @@
</font> 
     /* get first request in the controller's queue */
     _ISR_Disable(level);
<font color='#880000'>-    areq = (ata_req_t *)(ata_ide_ctrls[ctrl_minor].reqs.first);
</font><font color='#000088'>+    areq = (ata_req_t *)rtems_chain_first(&ata_ide_ctrls[ctrl_minor].reqs);
</font>     _ISR_Enable(level);
 
     /* get ATA device identifier (0 or 1) */
<font color='#997700'>@@ -633,7 +633,7 @@
</font> rtems_isr
 ata_interrupt_handler(rtems_vector_number vec)
 {
<font color='#880000'>-    rtems_chain_node *the_node = ((rtems_chain_control *)(&ata_int_vec[vec]))->first;
</font><font color='#000088'>+    rtems_chain_node *the_node = rtems_chain_first(&ata_int_vec[vec]);
</font>     ata_queue_msg_t  msg;
     uint16_t         byte; /* emphasize that only 8 low bits is meaningful */
 
<font color='#997700'>@@ -658,7 +658,7 @@
</font> {
   int ata_irq_chain_index = (int) handle;
     rtems_chain_node *the_node =
<font color='#880000'>-      ata_irq_chain[ata_irq_chain_index].irq_chain.last;
</font><font color='#000088'>+      rtems_chain_last(&ata_irq_chain[ata_irq_chain_index].irq_chain);
</font>     ata_queue_msg_t  msg;
     uint16_t       byte; /* emphasize that only 8 low bits is meaningful */
 
<font color='#997700'>@@ -870,7 +870,7 @@
</font> 
         /* get current request to the controller */
         _ISR_Disable(level);
<font color='#880000'>-        areq = (ata_req_t *)(ata_ide_ctrls[ctrl_minor].reqs.first);
</font><font color='#000088'>+        areq = (ata_req_t *)rtems_chain_first(&ata_ide_ctrls[ctrl_minor].reqs);
</font>         _ISR_Enable(level);
 
         switch(msg.type)
</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>