summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/genmongoosev/startup
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/mips/genmongoosev/startup')
-rw-r--r--c/src/lib/libbsp/mips/genmongoosev/startup/Makefile.am4
-rw-r--r--c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c36
-rw-r--r--c/src/lib/libbsp/mips/genmongoosev/startup/gdb-support.c28
3 files changed, 48 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/mips/genmongoosev/startup/Makefile.am b/c/src/lib/libbsp/mips/genmongoosev/startup/Makefile.am
index 21e282917b..7ecea3aa79 100644
--- a/c/src/lib/libbsp/mips/genmongoosev/startup/Makefile.am
+++ b/c/src/lib/libbsp/mips/genmongoosev/startup/Makefile.am
@@ -4,12 +4,12 @@
AUTOMAKE_OPTIONS = foreign 1.4
-VPATH = @srcdir@:@srcdir@/../../../shared
+VPATH = @srcdir@:@srcdir@/../../shared/gdbstub:@srcdir@/../../../shared
PGM = $(ARCH)/startup.rel
C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
- gnatinstallhandler.c setvec.c
+ gnatinstallhandler.c setvec.c mips-stub.c gdb-support.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
OBJS = $(C_O_FILES)
diff --git a/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c b/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c
index 6fbb2660d3..06eb3d6652 100644
--- a/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c
@@ -1,22 +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-2001.
-** 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.OARcorp.com/rtems/license.html.
-**
-** $Id$
-**
-** Modification History:
-** 12/10/01 A.Ferrer, NASA/GSFC, Code 582
-** Set interrupt mask to 0xAF00 (Line 139).
-*/
+ * 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-2001.
+ * 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.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ *
+ * Modification History:
+ * 12/10/01 A.Ferrer, NASA/GSFC, Code 582
+ * Set interrupt mask to 0xAF00 (Line 139).
+ */
#include <string.h>
diff --git a/c/src/lib/libbsp/mips/genmongoosev/startup/gdb-support.c b/c/src/lib/libbsp/mips/genmongoosev/startup/gdb-support.c
new file mode 100644
index 0000000000..b27c0ab99e
--- /dev/null
+++ b/c/src/lib/libbsp/mips/genmongoosev/startup/gdb-support.c
@@ -0,0 +1,28 @@
+/*
+ * GDB Support Routines for the Mongoose-V
+ *
+ * COPYRIGHT (c) 1989-2002.
+ * 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.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+#include <rtems/bspIo.h>
+
+
+char getDebugChar (void)
+{
+ return 0;
+}
+
+void putDebugChar (char c)
+{
+ /* big hack */
+ printk( "%c" );
+}
+