change log for rtems (2010-04-25)

rtems-vc at rtems.org rtems-vc at rtems.org
Sun Apr 25 23:10:57 UTC 2010


 *joel*:
2010-04-25	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* context_init.c: Eliminate warnings.

M   1.10  cpukit/score/cpu/m32c/ChangeLog
M    1.5  cpukit/score/cpu/m32c/context_init.c

diff -u rtems/cpukit/score/cpu/m32c/ChangeLog:1.9 rtems/cpukit/score/cpu/m32c/ChangeLog:1.10
--- rtems/cpukit/score/cpu/m32c/ChangeLog:1.9	Sat Mar 27 10:01:57 2010
+++ rtems/cpukit/score/cpu/m32c/ChangeLog	Sun Apr 25 17:17:35 2010
@@ -1,3 +1,7 @@
+2010-04-25	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* context_init.c: Eliminate warnings.
+
 2010-03-27	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* context_init.c, context_switch.S, cpu.c, cpu_asm.c, varvects.S: Add

diff -u rtems/cpukit/score/cpu/m32c/context_init.c:1.4 rtems/cpukit/score/cpu/m32c/context_init.c:1.5
--- rtems/cpukit/score/cpu/m32c/context_init.c:1.4	Sat Mar 27 10:01:57 2010
+++ rtems/cpukit/score/cpu/m32c/context_init.c	Sun Apr 25 17:17:35 2010
@@ -63,11 +63,11 @@
   frame->a1 =0xa1a2a3a4;
   frame->r0r2 = 0;
   frame->r1r3 = 0;
-  frame->frameLow = ((uint32_t)frame)  & 0xffff;
-  frame->frameHigh = ((uint32_t)frame >> 16) & 0xffff;
-  frame->startLow = ((uint32_t)entry_point) & 0xffff;
-  frame->startHigh = ((uint32_t)entry_point >> 16) & 0xffff;
+  frame->frameLow  = (uint16_t) (((uint32_t)frame)  & 0xffff);
+  frame->frameHigh = (uint16_t) (((uint32_t)frame >> 16) & 0xffff);
+  frame->startLow  = (uint16_t) (((uint32_t)entry_point) & 0xffff);
+  frame->startHigh = (uint16_t) (((uint32_t)entry_point >> 16) & 0xffff);
 
-  the_context->sp = (uint32_t)frame;
-  the_context->fb = (uint32_t)&frame->frameLow;
+  the_context->sp = (uintptr_t)frame;
+  the_context->fb = (uintptr_t)&frame->frameLow;
 }


 *joel*:
2010-04-25	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* console/console.c, ide/pcmcia_ide.c, startup/bspstart.c,
	startup/imbx8xx.c: Fix some warnings.

M  1.169  c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog
M   1.21  c/src/lib/libbsp/powerpc/mbx8xx/console/console.c
M   1.10  c/src/lib/libbsp/powerpc/mbx8xx/ide/pcmcia_ide.c
M   1.31  c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c
M   1.11  c/src/lib/libbsp/powerpc/mbx8xx/startup/imbx8xx.c

diff -u rtems/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog:1.168 rtems/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog:1.169
--- rtems/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog:1.168	Sat Mar 27 15:41:18 2010
+++ rtems/c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog	Sun Apr 25 17:36:25 2010
@@ -1,3 +1,8 @@
+2010-04-25	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* console/console.c, ide/pcmcia_ide.c, startup/bspstart.c,
+	startup/imbx8xx.c: Fix some warnings.
+
 2010-03-27      Thomas Doerfler <Thomas.Doerfler at embedded-brains.de>
 
 	* startup/start.S: removed bootcard calling warning

diff -u rtems/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c:1.20 rtems/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c:1.21
--- rtems/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c:1.20	Thu Dec 17 02:42:16 2009
+++ rtems/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c	Sun Apr 25 17:36:25 2010
@@ -93,6 +93,9 @@
 
 BSP_output_char_function_type BSP_output_char = _BSP_null_char;
 
+extern volatile m8xx_t m8xx;
+extern struct rtems_termios_tty *ttyp[];
+
 /*
  * _EPPCBug_pollRead
  *
@@ -111,8 +114,6 @@
   int minor
 )
 {
-  extern volatile m8xx_t m8xx;
-
   char c;
   volatile int simask;		/* We must read and write m8xx.simask */
   int retval;
@@ -220,8 +221,6 @@
   size_t len
 )
 {
-  extern volatile m8xx_t m8xx;
-
   volatile int simask;
   int i;
   ISR_Level level;
@@ -875,7 +874,6 @@
 {
 #if NVRAM_CONFIGURE == 1
   /* Used to track termios private data for callbacks */
-  extern struct rtems_termios_tty *ttyp[];
   rtems_libio_open_close_args_t *args = arg;
   static const rtems_termios_callbacks sccEPPCBugCallbacks = {
     NULL,                       	/* firstOpen */

diff -u rtems/c/src/lib/libbsp/powerpc/mbx8xx/ide/pcmcia_ide.c:1.9 rtems/c/src/lib/libbsp/powerpc/mbx8xx/ide/pcmcia_ide.c:1.10
--- rtems/c/src/lib/libbsp/powerpc/mbx8xx/ide/pcmcia_ide.c:1.9	Sat Sep  6 12:12:00 2008
+++ rtems/c/src/lib/libbsp/powerpc/mbx8xx/ide/pcmcia_ide.c	Sun Apr 25 17:36:25 2010
@@ -219,7 +219,7 @@
 | Input Parameters:                                                         |
 \*-------------------------------------------------------------------------*/
  int minor,
- uint16_t   block_size,
+ uint32_t   block_size,
  rtems_blkdev_sg_buffer *bufs,
  uint32_t   *cbuf,
  uint32_t   *pos
@@ -276,7 +276,7 @@
 | Input Parameters:                                                         |
 \*-------------------------------------------------------------------------*/
  int minor,
- uint16_t   block_size,
+ uint32_t   block_size,
  rtems_blkdev_sg_buffer *bufs,
  uint32_t   *cbuf,
  uint32_t   *pos

diff -u rtems/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c:1.30 rtems/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c:1.31
--- rtems/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c:1.30	Fri Oct 23 02:32:44 2009
+++ rtems/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c	Sun Apr 25 17:36:25 2010
@@ -27,6 +27,8 @@
 
 SPR_RW(SPRG1)
 
+int bsp_interrupt_initialize(void);
+
 /*
  *  Driver configuration parameters
  */

diff -u rtems/c/src/lib/libbsp/powerpc/mbx8xx/startup/imbx8xx.c:1.10 rtems/c/src/lib/libbsp/powerpc/mbx8xx/startup/imbx8xx.c:1.11
--- rtems/c/src/lib/libbsp/powerpc/mbx8xx/startup/imbx8xx.c:1.10	Wed Dec 13 08:43:44 2006
+++ rtems/c/src/lib/libbsp/powerpc/mbx8xx/startup/imbx8xx.c	Sun Apr 25 17:36:25 2010
@@ -149,6 +149,10 @@
 #endif
 };
 
+#if ( !defined(EPPCBUG_VECTORS) )
+  extern uint32_t   simask_copy;
+#endif
+
 /*
  *  Initialize MBX8xx
  */
@@ -158,7 +162,6 @@
   uint32_t i;
 #endif
   register uint32_t   r1;
-  extern uint32_t   simask_copy;
 
   /*
    *  Initialize the Debug Enable Register (DER) to an appropriate



--

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/20100425/530a7eb3/attachment-0001.html>


More information about the vc mailing list