diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-31 19:23:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-31 19:23:21 +0000 |
commit | 3631dad88fb90b4270c75b54f91ce72ccef262fe (patch) | |
tree | c08906c10c709a399014d935d294b69a1030b3e7 /c/src/lib/libbsp/h8300/h8sim/console | |
parent | New bsp for simulator in gdb. Does not work yet. (diff) | |
download | rtems-3631dad88fb90b4270c75b54f91ce72ccef262fe.tar.bz2 |
Closer to linking. h8300-rtems-ld now core dumps.
Diffstat (limited to 'c/src/lib/libbsp/h8300/h8sim/console')
-rw-r--r-- | c/src/lib/libbsp/h8300/h8sim/console/console-io.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/h8300/h8sim/console/console-io.c b/c/src/lib/libbsp/h8300/h8sim/console/console-io.c index c0b2b2340f..afebdbcd86 100644 --- a/c/src/lib/libbsp/h8300/h8sim/console/console-io.c +++ b/c/src/lib/libbsp/h8300/h8sim/console/console-io.c @@ -48,3 +48,11 @@ int console_inbyte_nonblocking( return -1; } +#include <bspIo.h> + +void H8simBSP_output_char(char c) { console_outbyte_polled( 0, c ); } + +BSP_output_char_function_type BSP_output_char = H8simBSP_output_char; +BSP_polling_getchar_function_type BSP_poll_char = NULL; + + |