summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/jmr3904/start/start.S
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-19 16:53:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-19 16:53:13 +0000
commit2ba9d3bdcc7a4407706cb3860706cc3d82794c38 (patch)
tree33b5f42e0bc73b118738c9ae72819e3c9364669c /c/src/lib/libbsp/mips/jmr3904/start/start.S
parent2000-12-19 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-2ba9d3bdcc7a4407706cb3860706cc3d82794c38.tar.bz2
2000-12-19 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Added tools subdirectory and removed commented out line. * configure.in: Added tools subdirectory. * tools: New subdirectory. * tools/.cvsignore, tools/Makefile.am, tools/configure.in, tools/runtest: New files -- based on powerpc/psim. * clock/clockdrv.c: Guessed new value for clock tick. Need to add fast idle support. * include/bsp.h: tm27 support initiated. * start/start.S: Fixed frame/endframe problems on _sys_exit. * startup/bspstart.c: Increased Workspace size to 4 MBYTES! * linkcmds: Increased Workspace size to 4 MBYTES! * Most tests appear to run correctly!
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/start/start.S20
1 files changed, 10 insertions, 10 deletions
diff --git a/c/src/lib/libbsp/mips/jmr3904/start/start.S b/c/src/lib/libbsp/mips/jmr3904/start/start.S
index befe8b8b7a..c484b7b0bd 100644
--- a/c/src/lib/libbsp/mips/jmr3904/start/start.S
+++ b/c/src/lib/libbsp/mips/jmr3904/start/start.S
@@ -22,6 +22,7 @@
.set nomips16
#endif
+#include <asm.h>
#include "regs.S"
/*
@@ -206,16 +207,15 @@ init:
.end init
/*
- * _exit -- Exit from the application. Normally we cause a user trap
- * to return to the ROM monitor for another run. NOTE: This is
- * the only other routine we provide in the crt0.o object, since
- * it may be tied to the "_start" routine. It also allows
- * executables that contain a complete world to be linked with
- * just the crt0.o object.
+ * Exit from the application. Normally we cause a user trap
+ * to return to the ROM monitor for another run. NOTE: This is
+ * the only other routine we provide in the crt0.o object, since
+ * it may be tied to the "_start" routine. It also allows
+ * executables that contain a complete world to be linked with
+ * just the crt0.o object.
*/
- .globl _sys_exit
- .ent _sys_exit
-_sys_exit:
+
+FRAME(_sys_exit,sp,0,ra)
7:
#ifdef GCRT0
jal _mcleanup
@@ -226,6 +226,6 @@ _sys_exit:
nop
b 7b # but loop back just in-case
nop
- .end _exit
+ENDFRAME(_sys_exit)
/* EOF crt0.S */