diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-01-24 19:10:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-01-24 19:10:38 +0000 |
commit | e8a7a466a2b18a20ee9acc1ee796d7f1a95cb6f9 (patch) | |
tree | dd8c2ba2ed28593393c8c019fd9c5624adcc9563 /c/src/lib/libbsp/sh/shsim/console | |
parent | 2001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-e8a7a466a2b18a20ee9acc1ee796d7f1a95cb6f9.tar.bz2 |
2001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, README, console/console-io.c, start/start.S,
startup/linkcmds: Update to make shsim closer to functional.
Diffstat (limited to 'c/src/lib/libbsp/sh/shsim/console')
-rw-r--r-- | c/src/lib/libbsp/sh/shsim/console/console-io.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/console/console-io.c b/c/src/lib/libbsp/sh/shsim/console/console-io.c index 9eba19becc..ec3caafb00 100644 --- a/c/src/lib/libbsp/sh/shsim/console/console-io.c +++ b/c/src/lib/libbsp/sh/shsim/console/console-io.c @@ -24,6 +24,10 @@ #define SYS_read 3 #define SYS_write 4 +int errno ; + +extern int __trap34(int, int, void*, int ); + /* * console_initialize_hardware * @@ -47,7 +51,8 @@ void console_outbyte_polled( char ch ) { - return __trap34 (SYS_write, 1, &ch, 1); + __trap34 (SYS_write, 1, &ch, 1); + return; } /* |