change log for rtems (2010-08-24)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Aug 24 17:10:39 UTC 2010


 *joel*:
2010-08-24	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* startup/init68360.c: Fix type punning warning.

M  1.133  c/src/lib/libbsp/m68k/gen68360/ChangeLog
M   1.29  c/src/lib/libbsp/m68k/gen68360/startup/init68360.c

diff -u rtems/c/src/lib/libbsp/m68k/gen68360/ChangeLog:1.132 rtems/c/src/lib/libbsp/m68k/gen68360/ChangeLog:1.133
--- rtems/c/src/lib/libbsp/m68k/gen68360/ChangeLog:1.132	Wed Apr 28 14:16:22 2010
+++ rtems/c/src/lib/libbsp/m68k/gen68360/ChangeLog	Tue Aug 24 12:08:07 2010
@@ -1,3 +1,7 @@
+2010-08-24	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* startup/init68360.c: Fix type punning warning.
+
 2010-04-28	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	* startup/init68360.c, timer/timer.c: Remove warnings.

diff -u rtems/c/src/lib/libbsp/m68k/gen68360/startup/init68360.c:1.28 rtems/c/src/lib/libbsp/m68k/gen68360/startup/init68360.c:1.29
--- rtems/c/src/lib/libbsp/m68k/gen68360/startup/init68360.c:1.28	Wed Apr 28 14:16:22 2010
+++ rtems/c/src/lib/libbsp/m68k/gen68360/startup/init68360.c	Tue Aug 24 12:08:07 2010
@@ -47,6 +47,9 @@
 	int i;
 	m68k_isr_entry *vbr;
 	unsigned long ramSize;
+	volatile unsigned long *RamBase_p;
+
+	RamBase_p = (volatile unsigned long *)&RamBase;
 
 #if (defined (__mc68040__))
 	/*
@@ -152,7 +155,7 @@
 	for (i = 0; i < 50000; i++)
 		continue;
 	for (i = 0; i < 8; ++i)
-		*((volatile unsigned long *)(unsigned long)&RamBase);
+		*RamBase_p;
 
 	/*
 	 * Step 13: Copy  the exception vector table to system RAM
@@ -753,7 +756,7 @@
 		for (i = 0; i < 50000; i++)
 			continue;
 		for (i = 0; i < 8; ++i)
-			*((volatile unsigned long *)(unsigned long)&RamBase);
+			*RamBase_p;
 
 		/*
 		 * Determine memory size (1, 4, or 16 Mbytes)



--

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/20100824/b7dd7b9c/attachment-0001.html>


More information about the vc mailing list