summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/sim68000/console
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-16 19:03:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-16 19:03:46 +0000
commita993d456cdd8d85b2628fb45415abbb71d6b5356 (patch)
tree206b1c807da4c244c62ce3daebf9a62c9d602352 /c/src/lib/libbsp/m68k/sim68000/console
parent2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-a993d456cdd8d85b2628fb45415abbb71d6b5356.tar.bz2
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/linkcmds: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. Remove unnecessary includes of rtems/libio.h and rtems/libcsupport.h. * console/debugio.c, startup/bsppredriverhook.c: New files. * startup/bspstart.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/m68k/sim68000/console')
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/console/debugio.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/sim68000/console/debugio.c b/c/src/lib/libbsp/m68k/sim68000/console/debugio.c
new file mode 100644
index 0000000000..26487c68c2
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/sim68000/console/debugio.c
@@ -0,0 +1,22 @@
+/*
+ * This routine starts the application. It includes application,
+ * board, and monitor specific initialization and configuration.
+ * The generic CPU dependent initialization has been performed
+ * before this routine is invoked.
+ *
+ * COPYRIGHT (c) 1989-1999.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#include <bsp.h>
+#include <rtems/bspIo.h>
+
+void debug_putc( char c ) { write( 2, &c, 1 ); }
+BSP_output_char_function_type BSP_output_char = debug_putc;
+BSP_polling_getchar_function_type BSP_poll_char = NULL;