summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/or16/rtems.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-11 21:52:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-11 21:52:06 +0000
commitee5110762eaf110b05a18ab33c7ae6e617a35ed9 (patch)
tree77c472fbeb224bcedb39f20cf5369ff1f5ad3293 /c/src/exec/score/cpu/or16/rtems.c
parent2000-08-11 Chris Johns <ccj@acm.org> (diff)
downloadrtems-ee5110762eaf110b05a18ab33c7ae6e617a35ed9.tar.bz2
2000-08-11 Joel Sherrill <joel@OARcorp.com>
* Shell added for or16 port based on no_cpu port with names replaced.
Diffstat (limited to 'c/src/exec/score/cpu/or16/rtems.c')
-rw-r--r--c/src/exec/score/cpu/or16/rtems.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/or16/rtems.c b/c/src/exec/score/cpu/or16/rtems.c
new file mode 100644
index 0000000000..2b8b7a40c0
--- /dev/null
+++ b/c/src/exec/score/cpu/or16/rtems.c
@@ -0,0 +1,48 @@
+/* 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-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.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+/*
+ * 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.
+ *
+ * OR16 Specific Information:
+ *
+ * XXX document implementation including references if appropriate
+ */
+
+void RTEMS()
+{
+}
+