From ad3d42106a52dd9f5caa6b0a36078c65efd12267 Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Tue, 19 Oct 2010 08:20:42 +0000 Subject: 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 --- libcpu/arm/s3c24x0/trap.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'libcpu') 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(); } -- cgit v1.3.1