change log for rtems (2010-04-27)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Apr 27 22:11:13 UTC 2010


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

	* startup/init5272.c: Remove warnings.

M   1.49  c/src/lib/libbsp/m68k/csb360/ChangeLog
M    1.8  c/src/lib/libbsp/m68k/csb360/startup/init5272.c

diff -u rtems/c/src/lib/libbsp/m68k/csb360/ChangeLog:1.48 rtems/c/src/lib/libbsp/m68k/csb360/ChangeLog:1.49
--- rtems/c/src/lib/libbsp/m68k/csb360/ChangeLog:1.48	Wed Oct 21 05:48:13 2009
+++ rtems/c/src/lib/libbsp/m68k/csb360/ChangeLog	Tue Apr 27 16:54:57 2010
@@ -1,3 +1,7 @@
+2010-04-27	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* startup/init5272.c: Remove warnings.
+
 2009-10-21	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* make/custom/csb360.cfg: Remove RTEMS_BSP_FAMILY.

diff -u rtems/c/src/lib/libbsp/m68k/csb360/startup/init5272.c:1.7 rtems/c/src/lib/libbsp/m68k/csb360/startup/init5272.c:1.8
--- rtems/c/src/lib/libbsp/m68k/csb360/startup/init5272.c:1.7	Sun Nov 29 08:59:40 2009
+++ rtems/c/src/lib/libbsp/m68k/csb360/startup/init5272.c	Tue Apr 27 16:54:57 2010
@@ -32,6 +32,11 @@
 #include <bsp.h>
 #include <mcf5272/mcf5272.h>
 
+/* externs */
+extern void clear_bss(void);
+extern void start_csb360(void);
+extern void INTERRUPT_VECTOR(void);
+
 /* Set the pointers to the modules */
 sim_regs_t *g_sim_regs            = (void *) MCF5272_SIM_BASE(BSP_MBAR);
 intctrl_regs_t *g_intctrl_regs    = (void *) MCF5272_INT_BASE(BSP_MBAR);
@@ -47,21 +52,6 @@
 enet_regs_t *g_enet_regs          = (void *) MCF5272_ENET_BASE(BSP_MBAR);
 usb_regs_t *g_usb_regs            = (void *) MCF5272_USB_BASE(BSP_MBAR);
 
-#define m68k_set_cacr( _cacr ) \
-  asm volatile ( "movec %0,%%cacr\n\t" \
-                 "nop\n" \
-                 : : "d" (_cacr) )
-
-#define m68k_set_acr0( _acr0 ) \
-  asm volatile (  "movec %0,%%acr0\n\t" \
-                  "nop\n\t" \
-                  : : "d" (_acr0) )
-
-#define m68k_set_acr1( _acr1 ) \
-  asm volatile (  "movec %0,%%acr1\n\t" \
-                  "nop\n\t" \
-                  : : "d" (_acr1) )
-
 #define m68k_set_srambar( _rambar0 ) \
   asm volatile (  "movec %0,%%rambar0\n\t" \
                   "nop\n\t" \
@@ -96,9 +86,6 @@
 void
 init5272(void)
 {
-    extern void clear_bss(void);
-    extern void start_csb360(void);
-
     /* Invalidate the cache - WARNING: It won't complete for 64 clocks */
     m68k_set_cacr(MCF5272_CACR_CINV);
 
@@ -126,7 +113,6 @@
 
     /* Copy the interrupt vector table to SRAM */
     {
-        extern void INTERRUPT_VECTOR(void);
         uint32_t *inttab = (uint32_t *)&INTERRUPT_VECTOR;
         uint32_t *intvec = (uint32_t *)BSP_RAMBAR;
         register int i;


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

	* startup/init5206e.c: Remove warnings.

M  1.111  c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog
M    1.9  c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c

diff -u rtems/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog:1.110 rtems/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog:1.111
--- rtems/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog:1.110	Thu Dec 17 02:42:16 2009
+++ rtems/c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog	Tue Apr 27 17:01:18 2010
@@ -1,3 +1,7 @@
+2010-04-27	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* startup/init5206e.c: Remove warnings.
+
 2009-12-16      Thomas Doerfler <Thomas.Doerfler at embedded-brains.de>
 
 	* console/console.c: adapted to new prototype for *_write

diff -u rtems/c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c:1.8 rtems/c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c:1.9
--- rtems/c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c:1.8	Tue Dec  8 11:34:56 2009
+++ rtems/c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c	Tue Apr 27 17:01:18 2010
@@ -33,21 +33,7 @@
 #include "mcf5206/mcf5206e.h"
 
 extern void CopyDataClearBSSAndStart(unsigned long ramsize);
-
-#define m68k_set_cacr( _cacr ) \
-  asm volatile ( "movec %0,%%cacr\n\t" \
-                 "nop\n" \
-                 : : "d" (_cacr) )
-
-#define m68k_set_acr0( _acr0 ) \
-  asm volatile (  "movec %0,%%acr0\n\t" \
-                  "nop\n\t" \
-                  : : "d" (_acr0) )
-
-#define m68k_set_acr1( _acr1 ) \
-  asm volatile (  "movec %0,%%acr1\n\t" \
-                  "nop\n\t" \
-                  : : "d" (_acr1) )
+extern void INTERRUPT_VECTOR(void);
 
 #define m68k_set_srambar( _rambar0 ) \
   asm volatile (  "movec %0,%%rambar0\n\t" \
@@ -201,7 +187,6 @@
                              MCF5206E_CSCR_RD;
 
     {
-        extern void INTERRUPT_VECTOR(void);
         uint32_t         *inttab = (uint32_t*)&INTERRUPT_VECTOR;
         uint32_t         *intvec = (uint32_t*)BSP_MEM_ADDR_ESRAM;
         register int i;



--

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/20100427/6ff3dc9b/attachment-0001.html>


More information about the vc mailing list