summaryrefslogtreecommitdiff
path: root/libcpu/arm
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-10-19 08:20:42 +0000
committerbernard.xiong <[email protected]>2010-10-19 08:20:42 +0000
commitad3d42106a52dd9f5caa6b0a36078c65efd12267 (patch)
tree9daf6a50233a24a8a0e9d4c468b6e793f85aa3f1 /libcpu/arm
parente7fb6e7be2e578635e59232643680ba815a088f5 (diff)
Improve the Device File System of the POSIX compatibility
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1017 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu/arm')
-rw-r--r--libcpu/arm/s3c24x0/trap.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libcpu/arm/s3c24x0/trap.c b/libcpu/arm/s3c24x0/trap.c
index a8876a54e9..c90222e47a 100644
--- a/libcpu/arm/s3c24x0/trap.c
+++ b/libcpu/arm/s3c24x0/trap.c
@@ -25,6 +25,9 @@
/*@{*/
extern struct rt_thread *rt_current_thread;
+#ifdef RT_USING_FINSH
+extern long list_thread(void);
+#endif
/**
* this function will show registers of CPU
@@ -61,8 +64,6 @@ void rt_hw_trap_udef(struct rt_hw_register *regs)
#ifdef RT_USING_FINSH
list_thread();
#endif
- while (1);
-
rt_hw_cpu_shutdown();
}
@@ -101,8 +102,6 @@ void rt_hw_trap_pabt(struct rt_hw_register *regs)
#ifdef RT_USING_FINSH
list_thread();
#endif
- while (1);
-
rt_hw_cpu_shutdown();
}
@@ -124,8 +123,6 @@ void rt_hw_trap_dabt(struct rt_hw_register *regs)
#ifdef RT_USING_FINSH
list_thread();
#endif
- while (1);
-
rt_hw_cpu_shutdown();
}