change log for rtems (2011-01-31)
rtems-vc at rtems.org
rtems-vc at rtems.org
Mon Jan 31 18:10:30 UTC 2011
*joel*:
2011-01-31 Joel Sherrill <joel.sherrill at oarcorp.com>
* Makefile.am, configure.ac, console/console-io.c, include/bsp.h,
start/start.S: Create dedicated bsp_reset() and clean up.
M 1.10 c/src/lib/libbsp/m32r/m32rsim/ChangeLog
M 1.2 c/src/lib/libbsp/m32r/m32rsim/Makefile.am
M 1.6 c/src/lib/libbsp/m32r/m32rsim/configure.ac
M 1.2 c/src/lib/libbsp/m32r/m32rsim/console/console-io.c
M 1.2 c/src/lib/libbsp/m32r/m32rsim/include/bsp.h
M 1.5 c/src/lib/libbsp/m32r/m32rsim/start/start.S
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
@@ -1,3 +1,8 @@
+2011-01-31 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * Makefile.am, configure.ac, console/console-io.c, include/bsp.h,
+ start/start.S: Create dedicated bsp_reset() and clean up.
+
2010-05-31 Joel Sherrill <joel.sherrilL at OARcorp.com>
* start/start.S: Pass 0/NULL for argc/argv.
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
@@ -32,7 +32,7 @@
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
../../shared/bspgetworkarea.c ../../shared/bsppost.c \
../../shared/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
- ../../shared/gnatinstallhandler.c
+ ../../shared/gnatinstallhandler.c startup/bspreset.c
clock_SOURCES = ../../shared/clock_driver_simidle.c
console_SOURCES = ../../shared/console-polled.c console/console-io.c \
console/trap0.S
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
@@ -15,7 +15,7 @@
RTEMS_CANONICALIZE_TOOLS
RTEMS_PROG_CCAS
-RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
+RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile])
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
@@ -1,8 +1,5 @@
/*
- * This file contains the hardware specific portions of the TTY driver
- * for the serial ports on the erc32.
- *
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -18,28 +15,6 @@
#include <assert.h>
#include <reent.h>
-/* 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);
-}
-
/*
* console_initialize_hardware
*
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
@@ -31,6 +31,23 @@
Thread clock_driver_sim_idle_body(uintptr_t);
#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
+/* 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)
+
/*
* Simple spin delay in microsecond units for device drivers.
* This is very dependent on the clock speed of the target.
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
@@ -52,7 +52,6 @@
ldi r1, #0 ; r1 = argv
ldi r0, #0 ; r0 = argc
bl boot_card
- bl sys_exit
# If that fails just loop.
--
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/20110131/344a9cb6/attachment-0001.html>
More information about the vc
mailing list