summaryrefslogtreecommitdiff
path: root/libcpu/mips
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-11-17 23:48:18 +0000
committer[email protected] <[email protected]>2010-11-17 23:48:18 +0000
commit019b6542012115190cfbde415532c8940cc47500 (patch)
treefa531205b7697587574481846eae74c9c9ddf2c6 /libcpu/mips
parent643fea758bdee60beb9160fe1aa3076a89903407 (diff)
replace iram vector to vector copy.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1060 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu/mips')
-rw-r--r--libcpu/mips/loongson/start_gcc.S13
1 files changed, 0 insertions, 13 deletions
diff --git a/libcpu/mips/loongson/start_gcc.S b/libcpu/mips/loongson/start_gcc.S
index 200e98d04a..f558622df6 100644
--- a/libcpu/mips/loongson/start_gcc.S
+++ b/libcpu/mips/loongson/start_gcc.S
@@ -36,19 +36,6 @@ _start:
li sp, SYSTEM_STACK
la gp, _gp
-#if 0
- /* copy IRAM section */
- la t0, _iramcopy
- la t1, _iramstart
- la t2, _iramend
-_iram_loop:
- lw t3, 0(t0)
- sw t3, 0(t1)
- addiu t1, 4
- bne t1, t2, _iram_loop
- addiu t0, 4
-#endif
-
/* clear bss */
la t0, __bss_start
la t1, __bss_end