<!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-12-02)</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-11-29 Joel Sherrill <joel.sherrilL@OARcorp.com>

        PR 1967/cpukit
        * score/include/rtems/score/object.h,
        score/src/objectinitializeinformation.c: Remove
        OBJECTS_NAME_ALIGNMENT and uses.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2996&r2=text&tr2=1.2997&diff_format=h">M</a></td><td width='1%'>1.2997</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/object.h.diff?r1=text&tr1=1.83&r2=text&tr2=1.84&diff_format=h">M</a></td><td width='1%'>1.84</td><td width='100%'>cpukit/score/include/rtems/score/object.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/objectinitializeinformation.c.diff?r1=text&tr1=1.23&r2=text&tr2=1.24&diff_format=h">M</a></td><td width='1%'>1.24</td><td width='100%'>cpukit/score/src/objectinitializeinformation.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2996 rtems/cpukit/ChangeLog:1.2997
--- rtems/cpukit/ChangeLog:1.2996       Mon Nov 28 11:51:46 2011
+++ rtems/cpukit/ChangeLog      Tue Nov 29 15:55:18 2011
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+2011-11-29    Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+       PR 1967/cpukit
+       * score/include/rtems/score/object.h,
+       score/src/objectinitializeinformation.c: Remove
+       OBJECTS_NAME_ALIGNMENT and uses.
+
</font> 2011-11-28        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        PR 1941/cpukit

<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/object.h:1.83 rtems/cpukit/score/include/rtems/score/object.h:1.84
--- rtems/cpukit/score/include/rtems/score/object.h:1.83        Fri Jun 24 12:52:57 2011
+++ rtems/cpukit/score/include/rtems/score/object.h     Tue Nov 29 15:55:18 2011
</font><font color='#997700'>@@ -65,13 +65,6 @@
</font> } Objects_Name;
 
 /**
<font color='#880000'>- *  Space for object names is allocated in multiples of this.
- *
- *  NOTE:  Must be a power of 2.  Matches the name manipulation routines.
- */
-#define OBJECTS_NAME_ALIGNMENT     sizeof( uint32_t )
-
-/**
</font>  *  Functions which compare names are prototyped like this.
  */
 typedef bool    (*Objects_Name_comparators)(

<font color='#006600'>diff -u rtems/cpukit/score/src/objectinitializeinformation.c:1.23 rtems/cpukit/score/src/objectinitializeinformation.c:1.24
--- rtems/cpukit/score/src/objectinitializeinformation.c:1.23   Sun Jul 24 18:55:14 2011
+++ rtems/cpukit/score/src/objectinitializeinformation.c        Tue Nov 29 15:55:18 2011
</font><font color='#997700'>@@ -128,18 +128,12 @@
</font>   /*
    *  Calculate the maximum name length
    *
<font color='#880000'>-   *  NOTE: Always 4 bytes long in Class so aligned.  It is POSIX name
-   *        lengths that may be an odd number of bytes.
</font><font color='#000088'>+   *  NOTE: Either 4 bytes for Classic API names or an arbitrary
+   *        number for POSIX names which are strings that may be
+   *        an odd number of bytes.
</font>    */
<font color='#880000'>-  name_length = maximum_name_length;
</font> 
<font color='#880000'>-  #if defined(RTEMS_POSIX_API)
-    if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )
-      name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &
-                    ~(OBJECTS_NAME_ALIGNMENT-1);
-  #endif
-
-  information->name_length = name_length;
</font><font color='#000088'>+  information->name_length = maximum_name_length;
</font> 
   _Chain_Initialize_empty( &information->Inactive );
 
<font color='#997700'>@@ -164,12 +158,12 @@
</font>     if ( (supports_global == true) && _System_state_Is_multiprocessing ) {
 
       information->global_table =
<font color='#880000'>-   (Chain_Control *) _Workspace_Allocate_or_fatal_error(
-         (_Objects_Maximum_nodes + 1) * sizeof(Chain_Control)
-       );
</font><font color='#000088'>+        (Chain_Control *) _Workspace_Allocate_or_fatal_error(
+          (_Objects_Maximum_nodes + 1) * sizeof(Chain_Control)
+        );
</font> 
       for ( index=1; index <= _Objects_Maximum_nodes ; index++ )
<font color='#880000'>-   _Chain_Initialize_empty( &information->global_table[ index ] );
</font><font color='#000088'>+        _Chain_Initialize_empty( &information->global_table[ index ] );
</font>      }
      else
        information->global_table = NULL;
</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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-29 Joel Sherrill <joel.sherrilL@OARcorp.com>

        * Makefile.am: Add shared/startup/bsp-start-memcpy.S
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog.diff?r1=text&tr1=1.39&r2=text&tr2=1.40&diff_format=h">M</a></td><td width='1%'>1.40</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am.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%'>c/src/lib/libbsp/arm/lpc32xx/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.39 rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.40
--- rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.39   Tue Oct 18 13:25:15 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog        Tue Nov 29 22:48:11 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-11-29    Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+       * Makefile.am: Add shared/startup/bsp-start-memcpy.S
+
</font> 2011-10-18        Jennifer Averett <Jennifer.Averett@OARcorp.com>
 
        PR 1917/bsps

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.15 rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.16
--- rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am:1.15 Tue Oct 18 13:25:15 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am      Tue Nov 29 22:48:11 2011
</font><font color='#997700'>@@ -94,6 +94,7 @@
</font>   ../../shared/src/stackalloc.c \
        ../../shared/src/uart-output-char.c \
        ../shared/abort/simple_abort.c
<font color='#000088'>+libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
</font> 
 # Startup
 libbsp_a_SOURCES += startup/bspstart.c \
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>

        * score/src/objectinitializeinformation.c
        (_Objects_Initialize_information): Remove unused var "name_length".
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2997&r2=text&tr2=1.2998&diff_format=h">M</a></td><td width='1%'>1.2998</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/objectinitializeinformation.c.diff?r1=text&tr1=1.24&r2=text&tr2=1.25&diff_format=h">M</a></td><td width='1%'>1.25</td><td width='100%'>cpukit/score/src/objectinitializeinformation.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2997 rtems/cpukit/ChangeLog:1.2998
--- rtems/cpukit/ChangeLog:1.2997       Tue Nov 29 15:55:18 2011
+++ rtems/cpukit/ChangeLog      Tue Nov 29 23:24:19 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-11-30    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * score/src/objectinitializeinformation.c
+       (_Objects_Initialize_information): Remove unused var "name_length".
+
</font> 2011-11-29        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
        PR 1967/cpukit

<font color='#006600'>diff -u rtems/cpukit/score/src/objectinitializeinformation.c:1.24 rtems/cpukit/score/src/objectinitializeinformation.c:1.25
--- rtems/cpukit/score/src/objectinitializeinformation.c:1.24   Tue Nov 29 15:55:18 2011
+++ rtems/cpukit/score/src/objectinitializeinformation.c        Tue Nov 29 23:24:19 2011
</font><font color='#997700'>@@ -62,7 +62,6 @@
</font> {
   static Objects_Control *null_local_table = NULL;
   uint32_t                minimum_index;
<font color='#880000'>-  uint32_t                name_length;
</font>   uint32_t                maximum_per_allocation;
   #if defined(RTEMS_MULTIPROCESSING)
     uint32_t              index;
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>

        * libnetworking/rtems/rtems_dhcp.c (dhcp_init):
        Remove unused var "len".
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2998&r2=text&tr2=1.2999&diff_format=h">M</a></td><td width='1%'>1.2999</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/rtems/rtems_dhcp.c.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/libnetworking/rtems/rtems_dhcp.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2998 rtems/cpukit/ChangeLog:1.2999
--- rtems/cpukit/ChangeLog:1.2998       Tue Nov 29 23:24:19 2011
+++ rtems/cpukit/ChangeLog      Tue Nov 29 23:30:49 2011
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2011-11-30        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * libnetworking/rtems/rtems_dhcp.c (dhcp_init):
+       Remove unused var "len".
</font>   * score/src/objectinitializeinformation.c
        (_Objects_Initialize_information): Remove unused var "name_length".
 

<font color='#006600'>diff -u rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.8 rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.9
--- rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.8   Tue Oct 18 04:01:23 2011
+++ rtems/cpukit/libnetworking/rtems/rtems_dhcp.c       Tue Nov 29 23:30:49 2011
</font><font color='#997700'>@@ -851,7 +851,6 @@
</font>   struct ifreq         ireq;
   struct ifnet         *ifp;
   struct socket        *so;
<font color='#880000'>-  int                  len;
</font>   int                  error;
   struct sockaddr_in   myaddr;
   struct ifaddr        *ifa;
<font color='#997700'>@@ -914,7 +913,7 @@
</font>   /*
    * Build the DHCP Discover
    */
<font color='#880000'>-  len = dhcp_discover_req (&call, sdl, &xid);
</font><font color='#000088'>+  dhcp_discover_req (&call, sdl, &xid);
</font> 
   /*
    * Send the Discover.
</pre>
<p> </p>
<a name='cs5'></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>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>

        * librpc/src/rpc/clnt_udp.c (struct cu_data):
        Introduce unions _cu_inbuf, _cu_outbuf to avoid aliasing.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2999&r2=text&tr2=1.3000&diff_format=h">M</a></td><td width='1%'>1.3000</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2346.2.108&r2=text&tr2=1.2346.2.109&diff_format=h">M</a></td><td width='1%'>1.2346.2.109</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/librpc/src/rpc/clnt_udp.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%'>cpukit/librpc/src/rpc/clnt_udp.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/librpc/src/rpc/clnt_udp.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.12.2.1&diff_format=h">M</a></td><td width='1%'>1.12.2.1</td><td width='100%'>cpukit/librpc/src/rpc/clnt_udp.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2999 rtems/cpukit/ChangeLog:1.3000
--- rtems/cpukit/ChangeLog:1.2999       Tue Nov 29 23:30:49 2011
+++ rtems/cpukit/ChangeLog      Wed Nov 30 00:58:35 2011
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2011-11-30        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * librpc/src/rpc/clnt_udp.c (struct cu_data):
+       Introduce unions _cu_inbuf, _cu_outbuf to avoid aliasing.
+
+2011-11-30     Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font>   * libnetworking/rtems/rtems_dhcp.c (dhcp_init):
        Remove unused var "len".
        * score/src/objectinitializeinformation.c

<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2346.2.108 rtems/cpukit/ChangeLog:1.2346.2.109
--- rtems/cpukit/ChangeLog:1.2346.2.108 Mon Nov 28 10:36:29 2011
+++ rtems/cpukit/ChangeLog      Wed Nov 30 01:00:43 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-11-30    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * librpc/src/rpc/clnt_udp.c (struct cu_data):
+       Introduce unions _cu_inbuf, _cu_outbuf to avoid aliasing.
+
</font> 2011-11-28        Werner Almesberger <werner@almesberger.net>
 
        PR 1961/cpukit

<font color='#006600'>diff -u rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.12 rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.13
--- rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.12 Thu May 27 07:39:33 2010
+++ rtems/cpukit/librpc/src/rpc/clnt_udp.c      Wed Nov 30 00:58:36 2011
</font><font color='#997700'>@@ -88,9 +88,17 @@
</font>   XDR                cu_outxdrs;
        u_int              cu_xdrpos;
        u_int                   cu_sendsz;      /* send size */
<font color='#880000'>-   char               *cu_outbuf;
</font><font color='#000088'>+      union {
+         u_int32_t        *i32;
+         char             *c;
+       } _cu_outbuf;
+#define cu_outbuf _cu_outbuf.c
</font>   u_int                   cu_recvsz;      /* recv size */
<font color='#880000'>-   char               cu_inbuf[1];
</font><font color='#000088'>+      union {
+         u_int32_t     *i32;
+         char          c[1];
+       } _cu_inbuf;
+#define cu_inbuf _cu_inbuf.c
</font> };
 
 /*
<font color='#997700'>@@ -352,7 +360,7 @@
</font>           if (inlen < sizeof(u_int32_t))
                        continue;
                /* see if reply transaction id matches sent id */
<font color='#880000'>-           if (*((u_int32_t *)(cu->cu_inbuf)) != *((u_int32_t *)(cu->cu_outbuf)))
</font><font color='#000088'>+              if (*(cu->_cu_inbuf.i32) != *(cu->_cu_outbuf.i32))
</font>                   continue;
                /* we now assume we have the proper reply */
                break;

<font color='#006600'>diff -u rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.12 rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.12.2.1
--- rtems/cpukit/librpc/src/rpc/clnt_udp.c:1.12 Thu May 27 07:39:33 2010
+++ rtems/cpukit/librpc/src/rpc/clnt_udp.c      Wed Nov 30 01:00:47 2011
</font><font color='#997700'>@@ -88,9 +88,17 @@
</font>   XDR                cu_outxdrs;
        u_int              cu_xdrpos;
        u_int                   cu_sendsz;      /* send size */
<font color='#880000'>-   char               *cu_outbuf;
</font><font color='#000088'>+      union {
+         u_int32_t        *i32;
+         char             *c;
+       } _cu_outbuf;
+#define cu_outbuf _cu_outbuf.c
</font>   u_int                   cu_recvsz;      /* recv size */
<font color='#880000'>-   char               cu_inbuf[1];
</font><font color='#000088'>+      union {
+         u_int32_t     *i32;
+         char          c[1];
+       } _cu_inbuf;
+#define cu_inbuf _cu_inbuf.c
</font> };
 
 /*
<font color='#997700'>@@ -352,7 +360,7 @@
</font>           if (inlen < sizeof(u_int32_t))
                        continue;
                /* see if reply transaction id matches sent id */
<font color='#880000'>-           if (*((u_int32_t *)(cu->cu_inbuf)) != *((u_int32_t *)(cu->cu_outbuf)))
</font><font color='#000088'>+              if (*(cu->_cu_inbuf.i32) != *(cu->_cu_outbuf.i32))
</font>                   continue;
                /* we now assume we have the proper reply */
                break;
</pre>
<p> </p>
<a name='cs6'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>

        * posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.3000&r2=text&tr2=1.3001&diff_format=h">M</a></td><td width='1%'>1.3001</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/posix/src/semopen.c.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>cpukit/posix/src/semopen.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.3000 rtems/cpukit/ChangeLog:1.3001
--- rtems/cpukit/ChangeLog:1.3000       Wed Nov 30 00:58:35 2011
+++ rtems/cpukit/ChangeLog      Wed Nov 30 21:05:17 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-12-01    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
+
</font> 2011-11-30        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * librpc/src/rpc/clnt_udp.c (struct cu_data):

<font color='#006600'>diff -u rtems/cpukit/posix/src/semopen.c:1.16 rtems/cpukit/posix/src/semopen.c:1.17
--- rtems/cpukit/posix/src/semopen.c:1.16       Sun Jul 24 18:55:09 2011
+++ rtems/cpukit/posix/src/semopen.c    Wed Nov 30 21:05:17 2011
</font><font color='#997700'>@@ -60,7 +60,7 @@
</font> 
   if ( oflag & O_CREAT ) {
     va_start(arg, oflag);
<font color='#880000'>-    mode = (mode_t) va_arg( arg, unsigned int );
</font><font color='#000088'>+    mode = va_arg( arg, mode_t );
</font>     value = va_arg( arg, unsigned int );
     va_end(arg);
   }
</pre>
<p> </p>
<a name='cs7'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>

        * posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.3001&r2=text&tr2=1.3002&diff_format=h">M</a></td><td width='1%'>1.3002</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/posix/src/mqueueopen.c.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>cpukit/posix/src/mqueueopen.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.3001 rtems/cpukit/ChangeLog:1.3002
--- rtems/cpukit/ChangeLog:1.3001       Wed Nov 30 21:05:17 2011
+++ rtems/cpukit/ChangeLog      Wed Nov 30 21:46:35 2011
</font><font color='#997700'>@@ -1,5 +1,6 @@
</font> 2011-12-01        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
</font>   * posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
 
 2011-11-30     Ralf Corsépius <ralf.corsepius@rtems.org>

<font color='#006600'>diff -u rtems/cpukit/posix/src/mqueueopen.c:1.16 rtems/cpukit/posix/src/mqueueopen.c:1.17
--- rtems/cpukit/posix/src/mqueueopen.c:1.16    Thu Aug  6 14:26:56 2009
+++ rtems/cpukit/posix/src/mqueueopen.c Wed Nov 30 21:46:36 2011
</font><font color='#997700'>@@ -63,8 +63,8 @@
</font> 
   if ( oflag & O_CREAT ) {
     va_start(arg, oflag);
<font color='#880000'>-    mode = (mode_t) va_arg( arg, unsigned int );
-    attr = (struct mq_attr *) va_arg( arg, struct mq_attr * );
</font><font color='#000088'>+    mode = va_arg( arg, mode_t );
+    attr = va_arg( arg, struct mq_attr * );
</font>     va_end(arg);
   }
 
</pre>
<p> </p>
<a name='cs8'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>

        * libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.3002&r2=text&tr2=1.3003&diff_format=h">M</a></td><td width='1%'>1.3003</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/open.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%'>cpukit/libcsupport/src/open.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.3002 rtems/cpukit/ChangeLog:1.3003
--- rtems/cpukit/ChangeLog:1.3002       Wed Nov 30 21:46:35 2011
+++ rtems/cpukit/ChangeLog      Thu Dec  1 02:01:39 2011
</font><font color='#997700'>@@ -1,5 +1,6 @@
</font> 2011-12-01        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
</font>   * posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
        * posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
 

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/open.c:1.28 rtems/cpukit/libcsupport/src/open.c:1.29
--- rtems/cpukit/libcsupport/src/open.c:1.28    Mon Aug 23 18:19:07 2010
+++ rtems/cpukit/libcsupport/src/open.c Thu Dec  1 02:01:40 2011
</font><font color='#997700'>@@ -64,7 +64,7 @@
</font> )
 {
   va_list                             ap;
<font color='#880000'>-  int                                 mode;
</font><font color='#000088'>+  mode_t                              mode;
</font>   int                                 rc;
   rtems_libio_t                      *iop = 0;
   int                                 status;
<font color='#997700'>@@ -84,7 +84,7 @@
</font> 
   va_start(ap, flags);
 
<font color='#880000'>-  mode = va_arg( ap, int );
</font><font color='#000088'>+  mode = va_arg( ap, mode_t );
</font> 
   /*
    * NOTE: This comment is OBSOLETE.  The proper way to do this now
</pre>
<p> </p>
<a name='cs9'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>

        * shared/include/cpuIdent.c, shared/include/cpuIdent.h
        (get_ppc_cpu_type_name): Return const char*.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/ChangeLog.diff?r1=text&tr1=1.406&r2=text&tr2=1.407&diff_format=h">M</a></td><td width='1%'>1.407</td><td width='100%'>c/src/lib/libcpu/powerpc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h.diff?r1=text&tr1=1.30&r2=text&tr2=1.31&diff_format=h">M</a></td><td width='1%'>1.31</td><td width='100%'>c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c.diff?r1=text&tr1=1.33&r2=text&tr2=1.34&diff_format=h">M</a></td><td width='1%'>1.34</td><td width='100%'>c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.406 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.407
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.406      Thu Nov 10 02:44:37 2011
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog    Thu Dec  1 02:06:06 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-12-01    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * shared/include/cpuIdent.c, shared/include/cpuIdent.h
+       (get_ppc_cpu_type_name): Return const char*.
+
</font> 2011-11-10        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        PR 1927/bsps:

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h:1.30 rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h:1.31
--- rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h:1.30       Wed Aug 31 10:27:58 2011
+++ rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h    Thu Dec  1 02:06:06 2011
</font><font color='#997700'>@@ -91,7 +91,7 @@
</font> typedef unsigned short ppc_cpu_revision_t;
 
 extern ppc_cpu_id_t get_ppc_cpu_type (void);
<font color='#880000'>-extern char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu);
</font><font color='#000088'>+extern const char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu);
</font> extern ppc_cpu_revision_t get_ppc_cpu_revision (void);
 extern ppc_cpu_revision_t current_ppc_revision;
 

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c:1.33 rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c:1.34
--- rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c:1.33       Wed Aug 31 10:27:58 2011
+++ rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c    Thu Dec  1 02:06:06 2011
</font><font color='#997700'>@@ -27,7 +27,7 @@
</font> ppc_cpu_revision_t current_ppc_revision = 0xff;
 ppc_feature_t      current_ppc_features;
 
<font color='#880000'>-char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu)
</font><font color='#000088'>+const char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu)
</font> {
   switch (cpu) {
     case PPC_405:              return "PPC405";
</pre>
<p> </p>
<a name='cs10'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>

        * console/console.c: Eliminate unused var "nb_overflow".
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog.diff?r1=text&tr1=1.158&r2=text&tr2=1.159&diff_format=h">M</a></td><td width='1%'>1.159</td><td width='100%'>c/src/lib/libbsp/powerpc/gen5200/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/gen5200/console/console.c.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>c/src/lib/libbsp/powerpc/gen5200/console/console.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.158 rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.159
--- rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.158      Wed Aug 24 04:53:14 2011
+++ rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog    Thu Dec  1 02:16:05 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-12-01    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * console/console.c: Eliminate unused var "nb_overflow".
+
</font> 2011-08-24        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * start/start.S: Update due to API changes.

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/gen5200/console/console.c:1.22 rtems/c/src/lib/libbsp/powerpc/gen5200/console/console.c:1.23
--- rtems/c/src/lib/libbsp/powerpc/gen5200/console/console.c:1.22       Mon Nov 15 04:55:02 2010
+++ rtems/c/src/lib/libbsp/powerpc/gen5200/console/console.c    Thu Dec  1 02:16:05 2011
</font><font color='#997700'>@@ -284,7 +284,6 @@
</font> {
   unsigned char c;
   uint16_t isr;
<font color='#880000'>-  int nb_overflow;
</font>   int minor = (int)handle;
   struct mpc5200_psc *psc =
     (struct mpc5200_psc *)(&mpc5200.psc[psc_minor_to_regset[minor]]);
<font color='#997700'>@@ -311,7 +310,7 @@
</font>        c = (psc->rb_tb >> 24);
 
       if (ttyp[minor] != NULL) {
<font color='#880000'>-        nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+        rtems_termios_enqueue_raw_characters(
</font>            (void *)ttyp[minor], (char *)&c, (int)1);
         channel_info[minor].rx_characters++;
       }
</pre>
<p> </p>
<a name='cs11'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>

        * mpc8260/console-generic/console-generic.c,
        mpc8xx/console-generic/console-generic.c:
        Eliminate unused var "nb_overflow".
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/ChangeLog.diff?r1=text&tr1=1.407&r2=text&tr2=1.408&diff_format=h">M</a></td><td width='1%'>1.408</td><td width='100%'>c/src/lib/libcpu/powerpc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.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%'>c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.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%'>c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.407 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.408
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.407      Thu Dec  1 02:06:06 2011
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog    Thu Dec  1 02:20:03 2011
</font><font color='#997700'>@@ -1,5 +1,8 @@
</font> 2011-12-01        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * mpc8260/console-generic/console-generic.c,
+       mpc8xx/console-generic/console-generic.c:
+       Eliminate unused var "nb_overflow".
</font>   * shared/include/cpuIdent.c, shared/include/cpuIdent.h
        (get_ppc_cpu_type_name): Return const char*.
 

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c:1.11 rtems/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c:1.12
--- rtems/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c:1.11       Thu Dec 17 02:42:16 2009
+++ rtems/c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c    Thu Dec  1 02:20:03 2011
</font><font color='#997700'>@@ -353,8 +353,6 @@
</font> static void
 m8xx_scc1_interrupt_handler (rtems_irq_hdl_param unused)
 {
<font color='#880000'>-  int nb_overflow;
-
</font>   /*
    * Buffer received?
    */
<font color='#997700'>@@ -367,7 +365,7 @@
</font>       rtems_cache_invalidate_multiple_data_lines(
         (const void *) RxBd[SCC1_MINOR]->buffer,
         RxBd[SCC1_MINOR]->length );
<font color='#880000'>-      nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+      rtems_termios_enqueue_raw_characters(
</font>         (void *)ttyp[SCC1_MINOR],
         (char *)RxBd[SCC1_MINOR]->buffer,
         (int)RxBd[SCC1_MINOR]->length );
<font color='#997700'>@@ -397,8 +395,6 @@
</font> static void
 m8xx_scc2_interrupt_handler (rtems_irq_hdl_param unused)
 {
<font color='#880000'>-  int nb_overflow;
-
</font>   /*
    * Buffer received?
    */
<font color='#997700'>@@ -411,7 +407,7 @@
</font>       rtems_cache_invalidate_multiple_data_lines(
         (const void *) RxBd[SCC2_MINOR]->buffer,
         RxBd[SCC2_MINOR]->length );
<font color='#880000'>-      nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+      rtems_termios_enqueue_raw_characters(
</font>         (void *)ttyp[SCC2_MINOR],
         (char *)RxBd[SCC2_MINOR]->buffer,
         (int)RxBd[SCC2_MINOR]->length );
<font color='#997700'>@@ -442,8 +438,6 @@
</font> static void
 m8xx_scc3_interrupt_handler (rtems_irq_hdl_param unused)
 {
<font color='#880000'>-  int nb_overflow;
-
</font>   /*
    * Buffer received?
    */
<font color='#997700'>@@ -456,7 +450,7 @@
</font>       rtems_cache_invalidate_multiple_data_lines(
         (const void *) RxBd[SCC3_MINOR]->buffer,
         RxBd[SCC3_MINOR]->length );
<font color='#880000'>-      nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+      rtems_termios_enqueue_raw_characters(
</font>         (void *)ttyp[SCC3_MINOR],
         (char *)RxBd[SCC3_MINOR]->buffer,
         (int)RxBd[SCC3_MINOR]->length );
<font color='#997700'>@@ -488,8 +482,6 @@
</font> static void
 m8xx_scc4_interrupt_handler (rtems_irq_hdl_param unused)
 {
<font color='#880000'>-  int nb_overflow;
-
</font>   /*
    * Buffer received?
    */
<font color='#997700'>@@ -502,7 +494,7 @@
</font>       rtems_cache_invalidate_multiple_data_lines(
         (const void *) RxBd[SCC4_MINOR]->buffer,
         RxBd[SCC4_MINOR]->length );
<font color='#880000'>-      nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+      rtems_termios_enqueue_raw_characters(
</font>         (void *)ttyp[SCC4_MINOR],
         (char *)RxBd[SCC4_MINOR]->buffer,
         (int)RxBd[SCC4_MINOR]->length );
<font color='#997700'>@@ -532,8 +524,6 @@
</font> static void
 m8xx_smc1_interrupt_handler (rtems_irq_hdl_param unused)
 {
<font color='#880000'>-  int nb_overflow;
-
</font>   /*
    * Buffer received?
    */
<font color='#997700'>@@ -546,7 +536,7 @@
</font>       rtems_cache_invalidate_multiple_data_lines(
         (const void *) RxBd[SMC1_MINOR]->buffer,
         RxBd[SMC1_MINOR]->length );
<font color='#880000'>-      nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+      rtems_termios_enqueue_raw_characters(
</font>         (void *)ttyp[SMC1_MINOR],
         (char *)RxBd[SMC1_MINOR]->buffer,
         (int)RxBd[SMC1_MINOR]->length );
<font color='#997700'>@@ -577,8 +567,6 @@
</font> static void
 m8xx_smc2_interrupt_handler (rtems_irq_hdl_param unused)
 {
<font color='#880000'>-  int nb_overflow;
-
</font>   /*
    * Buffer received?
    */
<font color='#997700'>@@ -591,7 +579,7 @@
</font>       rtems_cache_invalidate_multiple_data_lines(
         (const void *) RxBd[SMC2_MINOR]->buffer,
         RxBd[SMC2_MINOR]->length );
<font color='#880000'>-      nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+      rtems_termios_enqueue_raw_characters(
</font>         (void *)ttyp[SMC2_MINOR],
         (char *)RxBd[SMC2_MINOR]->buffer,
         (int)RxBd[SMC2_MINOR]->length );

<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c:1.25 rtems/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c:1.26
--- rtems/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c:1.25        Thu Dec 17 02:42:16 2009
+++ rtems/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c     Thu Dec  1 02:20:03 2011
</font><font color='#997700'>@@ -385,8 +385,6 @@
</font>  */
 static void m8xx_scc2_interrupt_handler (void *unused)
 {
<font color='#880000'>-  int nb_overflow;
-
</font>   /*
    * Buffer received?
    */
<font color='#997700'>@@ -399,7 +397,7 @@
</font>       rtems_cache_invalidate_multiple_data_lines(
         (const void *) RxBd[SCC2_MINOR]->buffer,
         RxBd[SCC2_MINOR]->length );
<font color='#880000'>-      nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+      rtems_termios_enqueue_raw_characters(
</font>         (void *)ttyp[SCC2_MINOR],
         (char *)RxBd[SCC2_MINOR]->buffer,
         (int)RxBd[SCC2_MINOR]->length );
<font color='#997700'>@@ -427,8 +425,6 @@
</font> static void
 m8xx_scc3_interrupt_handler (void *unused)
 {
<font color='#880000'>-  int nb_overflow;
-
</font>   /*
    * Buffer received?
    */
<font color='#997700'>@@ -441,7 +437,7 @@
</font>       rtems_cache_invalidate_multiple_data_lines(
         (const void *) RxBd[SCC3_MINOR]->buffer,
         RxBd[SCC3_MINOR]->length );
<font color='#880000'>-      nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+      rtems_termios_enqueue_raw_characters(
</font>         (void *)ttyp[SCC3_MINOR],
         (char *)RxBd[SCC3_MINOR]->buffer,
         (int)RxBd[SCC3_MINOR]->length );
<font color='#997700'>@@ -468,8 +464,6 @@
</font> static void
 m8xx_scc4_interrupt_handler (void *unused)
 {
<font color='#880000'>-  int nb_overflow;
-
</font>   /*
    * Buffer received?
    */
<font color='#997700'>@@ -482,7 +476,7 @@
</font>       rtems_cache_invalidate_multiple_data_lines(
         (const void *) RxBd[SCC4_MINOR]->buffer,
         RxBd[SCC4_MINOR]->length );
<font color='#880000'>-      nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+      rtems_termios_enqueue_raw_characters(
</font>         (void *)ttyp[SCC4_MINOR],
         (char *)RxBd[SCC4_MINOR]->buffer,
         (int)RxBd[SCC4_MINOR]->length );
<font color='#997700'>@@ -509,8 +503,6 @@
</font> static void
 m8xx_smc1_interrupt_handler (void *unused)
 {
<font color='#880000'>-  int nb_overflow;
-
</font>   /*
    * Buffer received?
    */
<font color='#997700'>@@ -523,7 +515,7 @@
</font>       rtems_cache_invalidate_multiple_data_lines(
         (const void *) RxBd[SMC1_MINOR]->buffer,
         RxBd[SMC1_MINOR]->length );
<font color='#880000'>-      nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+      rtems_termios_enqueue_raw_characters(
</font>         (void *)ttyp[SMC1_MINOR],
         (char *)RxBd[SMC1_MINOR]->buffer,
         (int)RxBd[SMC1_MINOR]->length );
<font color='#997700'>@@ -550,8 +542,6 @@
</font> static void
 m8xx_smc2_interrupt_handler (void *unused)
 {
<font color='#880000'>-  int nb_overflow;
-
</font>   /*
    * Buffer received?
    */
<font color='#997700'>@@ -564,7 +554,7 @@
</font>       rtems_cache_invalidate_multiple_data_lines(
         (const void *) RxBd[SMC2_MINOR]->buffer,
         RxBd[SMC2_MINOR]->length );
<font color='#880000'>-      nb_overflow = rtems_termios_enqueue_raw_characters(
</font><font color='#000088'>+      rtems_termios_enqueue_raw_characters(
</font>         (void *)ttyp[SMC2_MINOR],
         (char *)RxBd[SMC2_MINOR]->buffer,
         (int)RxBd[SMC2_MINOR]->length );
</pre>
<p> </p>
<a name='cs12'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>

        * libnetworking/rtems/mkrootfs.c: Use mode_t for modes,
        Use size_t for sizes.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.3003&r2=text&tr2=1.3004&diff_format=h">M</a></td><td width='1%'>1.3004</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/rtems/mkrootfs.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%'>cpukit/libnetworking/rtems/mkrootfs.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.3003 rtems/cpukit/ChangeLog:1.3004
--- rtems/cpukit/ChangeLog:1.3003       Thu Dec  1 02:01:39 2011
+++ rtems/cpukit/ChangeLog      Thu Dec  1 02:26:48 2011
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2011-12-01        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * libnetworking/rtems/mkrootfs.c: Use mode_t for modes,<span style="background-color: #FF0000"> </span>
+       Use size_t for sizes.
</font>   * libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
        * posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
        * posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.

<font color='#006600'>diff -u rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.14 rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.15
--- rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.14    Wed Jun 16 08:50:22 2010
+++ rtems/cpukit/libnetworking/rtems/mkrootfs.c Thu Dec  1 02:26:49 2011
</font><font color='#997700'>@@ -50,7 +50,7 @@
</font> typedef struct rtems_rootfs_dir_table
 {
   const char *name;
<font color='#880000'>-  int        mode;
</font><font color='#000088'>+  mode_t      mode;
</font> } rtems_rootfs_dir_table;
 
 /*
<font color='#997700'>@@ -99,7 +99,7 @@
</font>        * path. If it exists nothing happens.
        */
 
<font color='#880000'>-      int i = strlen (file);
</font><font color='#000088'>+      size_t i = strlen (file);
</font> 
       while (i)
       {
<font color='#997700'>@@ -144,7 +144,7 @@
</font> 
   for (i = 0; i < line_cnt; i++)
   {
<font color='#880000'>-    int len = strlen (lines[i]);
</font><font color='#000088'>+    size_t len = strlen (lines[i]);
</font> 
     if (len)
     {
<font color='#997700'>@@ -212,7 +212,7 @@
</font> rtems_create_root_fs (void)
 {
   const char *lines[1];
<font color='#880000'>-  int        i;
</font><font color='#000088'>+  size_t      i;
</font> 
   /*
    * Create the directories.
</pre>
<p> </p>
<a name='cs13'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>

        * aclocal/check-smp.m4: Fix bogus log message.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.3004&r2=text&tr2=1.3005&diff_format=h">M</a></td><td width='1%'>1.3005</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/aclocal/check-smp.m4.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>cpukit/aclocal/check-smp.m4</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.3004 rtems/cpukit/ChangeLog:1.3005
--- rtems/cpukit/ChangeLog:1.3004       Thu Dec  1 02:26:48 2011
+++ rtems/cpukit/ChangeLog      Thu Dec  1 10:43:28 2011
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2011-12-01        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * aclocal/check-smp.m4: Fix bogus log message.
+
+2011-12-01     Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font>   * libnetworking/rtems/mkrootfs.c: Use mode_t for modes,<span style="background-color: #FF0000"> </span>
        Use size_t for sizes.
        * libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.

<font color='#006600'>diff -u rtems/cpukit/aclocal/check-smp.m4:1.1 rtems/cpukit/aclocal/check-smp.m4:1.2
--- rtems/cpukit/aclocal/check-smp.m4:1.1       Wed Mar 16 15:05:04 2011
+++ rtems/cpukit/aclocal/check-smp.m4   Thu Dec  1 10:43:28 2011
</font><font color='#997700'>@@ -4,7 +4,7 @@
</font> [dnl
 AC_REQUIRE([RTEMS_ENABLE_SMP])dnl
 
<font color='#880000'>-AC_CACHE_CHECK([whether CPU supports libposix],
</font><font color='#000088'>+AC_CACHE_CHECK([whether CPU supports SMP],
</font>   rtems_cv_HAS_SMP,
   [dnl
     case "$RTEMS_CPU" in
</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>