summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/mips/rtems.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/score/cpu/mips/rtems.c')
-rw-r--r--c/src/exec/score/cpu/mips/rtems.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/mips/rtems.c b/c/src/exec/score/cpu/mips/rtems.c
new file mode 100644
index 0000000000..3128ef3379
--- /dev/null
+++ b/c/src/exec/score/cpu/mips/rtems.c
@@ -0,0 +1,49 @@
+/* rtems.c ===> rtems.S or rtems.s
+ *
+ * This file contains the single entry point code for
+ * the XXX implementation of RTEMS.
+ *
+ * NOTE: This is supposed to be a .S or .s file NOT a C file.
+ *
+ * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
+ * On-Line Applications Research Corporation (OAR).
+ * All rights assigned to U.S. Government, 1994.
+ *
+ * This material may be reproduced by or for the U.S. Government pursuant
+ * to the copyright license under the clause at DFARS 252.227-7013. This
+ * notice must appear in all copies of this file and its derivatives.
+ *
+ * rtems.c,v 1.4 1995/09/26 19:25:41 joel Exp
+ */
+
+#ifndef lint
+static char _sccsid[] = "@(#)rtems.c 03/15/96 1.1\n";
+#endif
+
+/*
+ * This is supposed to be an assembly file. This means that system.h
+ * and cpu.h should not be included in a "real" rtems file.
+ */
+
+#include <rtems/system.h>
+#include <rtems/score/cpu.h>
+/* #include "asm.h> */
+
+/*
+ * RTEMS
+ *
+ * This routine jumps to the directive indicated in the
+ * CPU defined register. This routine is used when RTEMS is
+ * linked by itself and placed in ROM. This routine is the
+ * first address in the ROM space for RTEMS. The user "calls"
+ * this address with the directive arguments in the normal place.
+ * This routine then jumps indirectly to the correct directive
+ * preserving the arguments. The directive should not realize
+ * it has been "wrapped" in this way. The table "_Entry_points"
+ * is used to look up the directive.
+ */
+
+void RTEMS()
+{
+}
+