<!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-04-21)</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>2010-04-20 Allan Hessenflow <allanh@kallisti.com>

        * cpu_asm.S: L0-L3 were part of the interrupt context, but as
        Mike Frysinger noted they were not being zeroed before calling
        the C handlers. A patch that corrects this, as well as improving
        some of the push/pop order to avoid stalls.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/cpu/bfin/ChangeLog.diff?r1=text&tr1=1.34&r2=text&tr2=1.35&diff_format=h">M</a></td><td width='1%'>1.35</td><td width='100%'>cpukit/score/cpu/bfin/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/cpu/bfin/cpu_asm.S.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>cpukit/score/cpu/bfin/cpu_asm.S</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/score/cpu/bfin/ChangeLog:1.34 rtems/cpukit/score/cpu/bfin/ChangeLog:1.35
--- rtems/cpukit/score/cpu/bfin/ChangeLog:1.34  Sat Apr 17 14:24:16 2010
+++ rtems/cpukit/score/cpu/bfin/ChangeLog       Tue Apr 20 08:27:48 2010
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+2010-04-20    Allan Hessenflow <allanh@kallisti.com>
+
+       * cpu_asm.S: L0-L3 were part of the interrupt context, but as
+       Mike Frysinger noted they were not being zeroed before calling
+       the C handlers. A patch that corrects this, as well as improving
+       some of the push/pop order to avoid stalls.
+
</font> 2010-04-17        Allan Hessenflow <allanh@kallisti.com>
 
        * cpu.c, cpu_asm.S, rtems/score/cpu.h: Fine tune registers saved in the

<font color='#006600'>diff -u rtems/cpukit/score/cpu/bfin/cpu_asm.S:1.8 rtems/cpukit/score/cpu/bfin/cpu_asm.S:1.9
--- rtems/cpukit/score/cpu/bfin/cpu_asm.S:1.8   Sat Apr 17 14:24:16 2010
+++ rtems/cpukit/score/cpu/bfin/cpu_asm.S       Tue Apr 20 08:27:48 2010
</font><font color='#997700'>@@ -383,10 +383,10 @@
</font>   [--sp] = r3;
        [--sp] = p3;
        [--sp] = p2;
<font color='#880000'>-   [--sp] = lt1;
-       [--sp] = lt0;
</font>   [--sp] = lc1;
        [--sp] = lc0;
<font color='#000088'>+   [--sp] = lt1;
+       [--sp] = lt0;
</font>   [--sp] = lb1;
        [--sp] = lb0;
        [--sp] = i3;
<font color='#997700'>@@ -406,8 +406,13 @@
</font>   [--sp] = b1;
        [--sp] = b0;
        [--sp] = rets;
<font color='#880000'>-   r1 = fp; /* is this really what should be passed here? */
</font>   /* call user isr; r0 = vector number, r1 = frame pointer */
<font color='#000088'>+   r1 = fp; /* is this really what should be passed here? */
+       r2 = 0;
+       l0 = r2;
+       l1 = r2;
+       l2 = r2;
+       l3 = r2;
</font>   sp += -12; /* bizarre abi... */
        call (p0);
        sp += 12;
<font color='#997700'>@@ -430,10 +435,10 @@
</font>   i3 = [sp++];
        lb0 = [sp++];
        lb1 = [sp++];
<font color='#880000'>-   lc0 = [sp++];
-       lc1 = [sp++];
</font>   lt0 = [sp++];
        lt1 = [sp++];
<font color='#000088'>+   lc0 = [sp++];
+       lc1 = [sp++];
</font>   p2 = [sp++];
        p3 = [sp++];
        r3 = [sp++];
<font color='#997700'>@@ -515,10 +520,10 @@
</font>   [--sp] = p2;
        [--sp] = p1;
        [--sp] = p0;
<font color='#880000'>-   [--sp] = lt1;
-       [--sp] = lt0;
</font>   [--sp] = lc1;
        [--sp] = lc0;
<font color='#000088'>+   [--sp] = lt1;
+       [--sp] = lt0;
</font>   [--sp] = lb1;
        [--sp] = lb0;
        [--sp] = i3;
<font color='#997700'>@@ -537,6 +542,11 @@
</font>   [--sp] = b2;
        [--sp] = b1;
        [--sp] = b0;
<font color='#000088'>+   r2 = 0;
+       l0 = r2;
+       l1 = r2;
+       l2 = r2;
+       l3 = r2;
</font>   sp += -12; /* bizarre abi... */
        call __Thread_Dispatch;
        sp += 12;
<font color='#997700'>@@ -558,10 +568,10 @@
</font>   i3 = [sp++];
        lb0 = [sp++];
        lb1 = [sp++];
<font color='#880000'>-   lc0 = [sp++];
-       lc1 = [sp++];
</font>   lt0 = [sp++];
        lt1 = [sp++];
<font color='#000088'>+   lc0 = [sp++];
+       lc1 = [sp++];
</font>   p0 = [sp++];
        p1 = [sp++];
        p2 = [sp++];
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-20 Ralf Corsépius <ralf.corsepius@rtems.org>

        * console/console.c: Reflect termios-API having changed.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sh/gensh4/ChangeLog.diff?r1=text&tr1=1.104&r2=text&tr2=1.105&diff_format=h">M</a></td><td width='1%'>1.105</td><td width='100%'>c/src/lib/libbsp/sh/gensh4/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sh/gensh4/console/console.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%'>c/src/lib/libbsp/sh/gensh4/console/console.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sh/gensh4/ChangeLog:1.104 rtems/c/src/lib/libbsp/sh/gensh4/ChangeLog:1.105
--- rtems/c/src/lib/libbsp/sh/gensh4/ChangeLog:1.104    Wed Oct 21 05:55:37 2009
+++ rtems/c/src/lib/libbsp/sh/gensh4/ChangeLog  Tue Apr 20 03:13:58 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-04-20    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * console/console.c: Reflect termios-API having changed.
+
</font> 2009-10-21        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * make/custom/gensh4.cfg: Remove RTEMS_BSP_FAMILY.

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sh/gensh4/console/console.c:1.7 rtems/c/src/lib/libbsp/sh/gensh4/console/console.c:1.8
--- rtems/c/src/lib/libbsp/sh/gensh4/console/console.c:1.7      Wed Apr 23 16:51:25 2008
+++ rtems/c/src/lib/libbsp/sh/gensh4/console/console.c  Tue Apr 20 03:13:58 2010
</font><font color='#997700'>@@ -65,8 +65,8 @@
</font>  * RETURNS:
  *     result code
  */
<font color='#880000'>-static int
-console_interrupt_write(int minor, const char *buf, int len)
</font><font color='#000088'>+static ssize_t
+console_interrupt_write(int minor, const char *buf, size_t len)
</font> {
         return sh4uart_interrupt_write(&sh4_uarts[minor], buf, len);
 }
<font color='#997700'>@@ -82,8 +82,8 @@
</font>  * RETURNS:
  *     result code
  */
<font color='#880000'>-static int
-console_poll_write(int minor, const char *buf, int len)
</font><font color='#000088'>+static ssize_t
+console_poll_write(int minor, const char *buf, size_t len)
</font> {
         return sh4uart_poll_write(&sh4_uarts[minor], buf, len);
 }
</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>