diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-07-09 17:08:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-07-09 17:08:48 +0000 |
commit | b73e57bffe6cf60b1817bb2fc244a2f0c602bd5c (patch) | |
tree | 410140b91a7df0566d9f6db8acf7d1a3aa5317cf /c/src/lib/libbsp/sparc/erc32/startup/bspclean.c | |
parent | Make sure pthread init stack size is always set. (diff) | |
download | rtems-b73e57bffe6cf60b1817bb2fc244a2f0c602bd5c.tar.bz2 |
Patch from Jiri Gaisler <jgais@ws.estec.esa.nl>:
+ interrupt masking correction
+ FPU rev.B workaround
+ minor erc32 related fixes
Diffstat (limited to 'c/src/lib/libbsp/sparc/erc32/startup/bspclean.c')
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/startup/bspclean.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/startup/bspclean.c b/c/src/lib/libbsp/sparc/erc32/startup/bspclean.c index be9a577fc2..a62b1c6be2 100644 --- a/c/src/lib/libbsp/sparc/erc32/startup/bspclean.c +++ b/c/src/lib/libbsp/sparc/erc32/startup/bspclean.c @@ -30,8 +30,9 @@ void bsp_cleanup( void ) { /* * "halt" by trapping to the simulator command line. + * set %g1 to 1 to detect clean exit. */ - asm volatile( "ta 0" ); + asm volatile( "mov 1, %g1; ta 0" ); } |