<!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-01-31)</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-01-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, console/console-io.c, include/bsp.h,
start/start.S: Create dedicated bsp_reset() and clean up.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m32r/m32rsim/ChangeLog.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>c/src/lib/libbsp/m32r/m32rsim/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m32r/m32rsim/Makefile.am.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%'>c/src/lib/libbsp/m32r/m32rsim/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m32r/m32rsim/configure.ac.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/m32r/m32rsim/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m32r/m32rsim/console/console-io.c.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%'>c/src/lib/libbsp/m32r/m32rsim/console/console-io.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h.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%'>c/src/lib/libbsp/m32r/m32rsim/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m32r/m32rsim/start/start.S.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/m32r/m32rsim/start/start.S</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m32r/m32rsim/ChangeLog:1.9 rtems/c/src/lib/libbsp/m32r/m32rsim/ChangeLog:1.10
--- rtems/c/src/lib/libbsp/m32r/m32rsim/ChangeLog:1.9 Mon May 31 08:52:07 2010
+++ rtems/c/src/lib/libbsp/m32r/m32rsim/ChangeLog Mon Jan 31 11:41:09 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-01-31 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.am, configure.ac, console/console-io.c, include/bsp.h,
+ start/start.S: Create dedicated bsp_reset() and clean up.
+
</font> 2010-05-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
* start/start.S: Pass 0/NULL for argc/argv.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m32r/m32rsim/Makefile.am:1.1 rtems/c/src/lib/libbsp/m32r/m32rsim/Makefile.am:1.2
--- rtems/c/src/lib/libbsp/m32r/m32rsim/Makefile.am:1.1 Thu Oct 2 16:56:30 2008
+++ rtems/c/src/lib/libbsp/m32r/m32rsim/Makefile.am Mon Jan 31 11:41:09 2011
</font><font color='#997700'>@@ -32,7 +32,7 @@
</font> ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
../../shared/bspgetworkarea.c ../../shared/bsppost.c \
../../shared/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
<font color='#880000'>- ../../shared/gnatinstallhandler.c
</font><font color='#000088'>+ ../../shared/gnatinstallhandler.c startup/bspreset.c
</font> clock_SOURCES = ../../shared/clock_driver_simidle.c
console_SOURCES = ../../shared/console-polled.c console/console-io.c \
console/trap0.S
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m32r/m32rsim/configure.ac:1.5 rtems/c/src/lib/libbsp/m32r/m32rsim/configure.ac:1.6
--- rtems/c/src/lib/libbsp/m32r/m32rsim/configure.ac:1.5 Sat Nov 28 00:28:40 2009
+++ rtems/c/src/lib/libbsp/m32r/m32rsim/configure.ac Mon Jan 31 11:41:09 2011
</font><font color='#997700'>@@ -15,7 +15,7 @@
</font> RTEMS_CANONICALIZE_TOOLS
RTEMS_PROG_CCAS
<font color='#880000'>-RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
</font><font color='#000088'>+RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
</font>
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile])
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m32r/m32rsim/console/console-io.c:1.1 rtems/c/src/lib/libbsp/m32r/m32rsim/console/console-io.c:1.2
--- rtems/c/src/lib/libbsp/m32r/m32rsim/console/console-io.c:1.1 Thu Oct 2 16:56:30 2008
+++ rtems/c/src/lib/libbsp/m32r/m32rsim/console/console-io.c Mon Jan 31 11:41:09 2011
</font><font color='#997700'>@@ -1,8 +1,5 @@
</font> /*
<font color='#880000'>- * This file contains the hardware specific portions of the TTY driver
- * for the serial ports on the erc32.
- *
- * COPYRIGHT (c) 1989-2008.
</font><font color='#000088'>+ * COPYRIGHT (c) 1989-2011.
</font> * On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
<font color='#997700'>@@ -18,28 +15,6 @@
</font> #include <assert.h>
#include <reent.h>
<font color='#880000'>-/* From Newlib 1.16.0 */
-#define SYS_exit 1
-#define SYS_open 2
-#define SYS_close 3
-#define SYS_read 4
-#define SYS_write 5
-#define SYS_lseek 6
-#define SYS_unlink 7
-#define SYS_getpid 8
-#define SYS_kill 9
-#define SYS_fstat 10
-
-int __trap0 (int function, int p1, int p2, int p3, struct _reent *r);
-
-#define TRAP0(f, p1, p2, p3) \
-__trap0 (f, (int) (p1), (int) (p2), (int) (p3), _REENT)
-
-void sys_exit(void)
-{
- TRAP0(SYS_exit, 0, 0, 0);
-}
-
</font> /*
* console_initialize_hardware
*
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h:1.1 rtems/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h:1.2
--- rtems/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h:1.1 Thu Oct 2 16:56:30 2008
+++ rtems/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h Mon Jan 31 11:41:09 2011
</font><font color='#997700'>@@ -31,6 +31,23 @@
</font> Thread clock_driver_sim_idle_body(uintptr_t);
#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
<font color='#000088'>+/* Trap support interface from Newlib 1.16.0 */
+#define SYS_exit 1
+#define SYS_open 2
+#define SYS_close 3
+#define SYS_read 4
+#define SYS_write 5
+#define SYS_lseek 6
+#define SYS_unlink 7
+#define SYS_getpid 8
+#define SYS_kill 9
+#define SYS_fstat 10
+
+int __trap0 (int function, int p1, int p2, int p3, struct _reent *r);
+
+#define TRAP0(f, p1, p2, p3) \
+ __trap0 (f, (int) (p1), (int) (p2), (int) (p3), _REENT)
+
</font> /*
* Simple spin delay in microsecond units for device drivers.
* This is very dependent on the clock speed of the target.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m32r/m32rsim/start/start.S:1.4 rtems/c/src/lib/libbsp/m32r/m32rsim/start/start.S:1.5
--- rtems/c/src/lib/libbsp/m32r/m32rsim/start/start.S:1.4 Mon May 31 08:52:07 2010
+++ rtems/c/src/lib/libbsp/m32r/m32rsim/start/start.S Mon Jan 31 11:41:09 2011
</font><font color='#997700'>@@ -52,7 +52,6 @@
</font> ldi r1, #0 ; r1 = argv
ldi r0, #0 ; r0 = argc
bl boot_card
<font color='#880000'>- bl sys_exit
</font>
# If that fails just loop.
</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>