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
This commit is contained in:
bernard.xiong
2010-10-19 08:20:42 +00:00
parent e7fb6e7be2
commit ad3d42106a
3 changed files with 13 additions and 11 deletions
+3 -6
View File
@@ -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();
}