diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-01-31 17:41:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-01-31 17:41:09 +0000 |
commit | 0ef1009aaaddff9318422a047faf29d168334214 (patch) | |
tree | a7512da9fc7c4628b16e9bc50a1d8a1b8691c9a1 /c/src/lib/libbsp/m32r/m32rsim/console/console-io.c | |
parent | 2011-01-31 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-0ef1009aaaddff9318422a047faf29d168334214.tar.bz2 |
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.
Diffstat (limited to 'c/src/lib/libbsp/m32r/m32rsim/console/console-io.c')
-rw-r--r-- | c/src/lib/libbsp/m32r/m32rsim/console/console-io.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/c/src/lib/libbsp/m32r/m32rsim/console/console-io.c b/c/src/lib/libbsp/m32r/m32rsim/console/console-io.c index 77d2e804eb..4a479991e7 100644 --- a/c/src/lib/libbsp/m32r/m32rsim/console/console-io.c +++ b/c/src/lib/libbsp/m32r/m32rsim/console/console-io.c @@ -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 * |