summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-12-02 15:01:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-12-02 15:01:10 +0000
commit0535d92e88e224b3521eff7acf9d418c7ee2cb85 (patch)
treec6aea2d618b232a21b19551def7a4dc1450e017b
parent2002-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-0535d92e88e224b3521eff7acf9d418c7ee2cb85.tar.bz2
2002-12-02 Joel Sherrill <joel@OARcorp.com>
* shared/soft_reset_asm.S: Removed.
-rw-r--r--c/src/lib/libcpu/i960/ChangeLog4
-rw-r--r--c/src/lib/libcpu/i960/shared/soft_reset_asm.S37
2 files changed, 4 insertions, 37 deletions
diff --git a/c/src/lib/libcpu/i960/ChangeLog b/c/src/lib/libcpu/i960/ChangeLog
index aeeedd912c..49aa9bab00 100644
--- a/c/src/lib/libcpu/i960/ChangeLog
+++ b/c/src/lib/libcpu/i960/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-02 Joel Sherrill <joel@OARcorp.com>
+
+ * shared/soft_reset_asm.S: Removed.
+
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
diff --git a/c/src/lib/libcpu/i960/shared/soft_reset_asm.S b/c/src/lib/libcpu/i960/shared/soft_reset_asm.S
deleted file mode 100644
index c178aa74bd..0000000000
--- a/c/src/lib/libcpu/i960/shared/soft_reset_asm.S
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * void __i960_soft_reset_asm
- *
- * Flush the register cache and save the important (fp, pfp, sp) registers,
- * which are clobbered by the reinit operation. (Not documented, but it
- * happens).
- *
- * This may not be used any longer but it is not being purged completely
- * in the move to multilib things.
- *
- * $Id$
- */
-
- .data
- .align 4
-_soft_reset_reg_save:
- .word 0
- .word 0
- .word 0
- .word 0
-
- .globl __i960_soft_reset_asm
-__i960_soft_reset_asm:
- flushreg # flush register cache mov fp, r4
- mov pfp, r5
- mov sp, r6
- stt r4, _soft_reset_reg_save # save fp, pfp, sp
- lda __i960_reset_done, r4
- ldconst 0x300, r5
- sysctl r5, r4, g0 # reinit: clobbers almost all registers
-__i960_reset_done:
- ldt _soft_reset_reg_save, r4 # restore fp, pfp, sp
- mov r4, fp
- mov r5, pfp
- mov r6, sp
- ret
-