diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-10-06 20:01:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-10-06 20:01:20 +0000 |
commit | c62d36feed16c25aefa8e85de0944f1bff0e7bdf (patch) | |
tree | 71bbb213b1bd9b1e6acedbb00cb7da221d76afab /c/src/exec/score/cpu/sparc/rtems.s | |
parent | moved to new development machine and went to gcc 2.7.0 (diff) | |
download | rtems-c62d36feed16c25aefa8e85de0944f1bff0e7bdf.tar.bz2 |
SPARC merged and successfully tested w/o interrupt support
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/cpu/sparc/rtems.s | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/sparc/rtems.s b/c/src/exec/score/cpu/sparc/rtems.s new file mode 100644 index 0000000000..2b9bd10454 --- /dev/null +++ b/c/src/exec/score/cpu/sparc/rtems.s @@ -0,0 +1,33 @@ +/* rtems.s + * + * This file contains the single entry point code for + * the SPARC port of RTEMS. + * + * $Id$ + */ + +#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() + * { + * } + */ + + .align 4 + PUBLIC(RTEMS) +SYM(RTEMS): + ret + |