change log for rtems (2010-05-23)

rtems-vc at rtems.org rtems-vc at rtems.org
Sun May 23 06:12:04 UTC 2010


 *ralf*:
2010-05-23	Ralf Corsépius <ralf.corsepius at rtems.org>

	* console/consolelite.c, network/xiltemac.c:
	Reflect prototypes having changed (Warning removal).

M   1.58  c/src/lib/libbsp/powerpc/virtex/ChangeLog
M    1.4  c/src/lib/libbsp/powerpc/virtex/console/consolelite.c
M    1.6  c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c

diff -u rtems/c/src/lib/libbsp/powerpc/virtex/ChangeLog:1.57 rtems/c/src/lib/libbsp/powerpc/virtex/ChangeLog:1.58
--- rtems/c/src/lib/libbsp/powerpc/virtex/ChangeLog:1.57	Wed Apr 28 08:23:16 2010
+++ rtems/c/src/lib/libbsp/powerpc/virtex/ChangeLog	Sun May 23 00:42:31 2010
@@ -1,3 +1,8 @@
+2010-05-23	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* console/consolelite.c, network/xiltemac.c:
+	Reflect prototypes having changed (Warning removal).
+
 2010-04-28	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	* network/xiltemac.c, startup/bspstart.c: Remove warnings.

diff -u rtems/c/src/lib/libbsp/powerpc/virtex/console/consolelite.c:1.3 rtems/c/src/lib/libbsp/powerpc/virtex/console/consolelite.c:1.4
--- rtems/c/src/lib/libbsp/powerpc/virtex/console/consolelite.c:1.3	Wed Aug 20 04:00:11 2008
+++ rtems/c/src/lib/libbsp/powerpc/virtex/console/consolelite.c	Sun May 23 00:42:35 2010
@@ -180,10 +180,10 @@
 
 
 
-int xlite_write_buffer_polled(
+ssize_t xlite_write_buffer_polled(
   int         minor,
   const char *buf,
-  int         len
+  size_t      len
 )
 {
    uint32_t base = Console_Port_Tbl[minor].ulCtrlPort1;
@@ -356,9 +356,9 @@
    xlite_write_char_polled( 0, ch );
 }
 
-char inputChar(void)
+int inputChar(void)
 {
-   return (char)xlite_read_polled(0);
+   return xlite_read_polled(0);
 }
 
 BSP_output_char_function_type BSP_output_char = outputChar;

diff -u rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:1.5 rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:1.6
--- rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:1.5	Wed Apr 28 08:23:16 2010
+++ rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c	Sun May 23 00:42:35 2010
@@ -908,7 +908,7 @@
 
    xilTemac->iIsPresent = 1;
 
-   snprintf( xilTemac->iUnitName, MAX_UNIT_BYTES, "%s%d", unitName, unit );
+   snprintf( xilTemac->iUnitName, MAX_UNIT_BYTES, "%s%" PRId32, unitName, unit );
 
    xilTemac->iIfp        = &(xilTemac->iArpcom.ac_if);
    ifp                  = &(xilTemac->iArpcom.ac_if);


 *ralf*:
2010-05-23	Ralf Corsépius <ralf.corsepius at rtems.org>

	* cpu.c: Warning removal.

M   1.94  cpukit/score/cpu/sh/ChangeLog
M   1.21  cpukit/score/cpu/sh/cpu.c

diff -u rtems/cpukit/score/cpu/sh/ChangeLog:1.93 rtems/cpukit/score/cpu/sh/ChangeLog:1.94
--- rtems/cpukit/score/cpu/sh/ChangeLog:1.93	Sat Mar 27 10:02:35 2010
+++ rtems/cpukit/score/cpu/sh/ChangeLog	Sun May 23 00:47:27 2010
@@ -1,3 +1,7 @@
+2010-05-23	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* cpu.c: Warning removal.
+
 2010-03-27	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* context.c, cpu.c: Add include of config.h

diff -u rtems/cpukit/score/cpu/sh/cpu.c:1.20 rtems/cpukit/score/cpu/sh/cpu.c:1.21
--- rtems/cpukit/score/cpu/sh/cpu.c:1.20	Sat Mar 27 10:02:35 2010
+++ rtems/cpukit/score/cpu/sh/cpu.c	Sun May 23 00:47:27 2010
@@ -146,7 +146,9 @@
   proc_ptr   *old_handler
 )
 {
+#if defined(__sh1__) || defined(__sh2__)
    proc_ptr ignored ;
+#endif
    *old_handler = _ISR_Vector_table[ vector ];
 
  /*



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100523/5af96a7d/attachment.html>


More information about the vc mailing list