|
@@ -17,7 +17,7 @@
|
|
#include "gic.h"
|
|
#include "gic.h"
|
|
|
|
|
|
extern struct rt_thread *rt_current_thread;
|
|
extern struct rt_thread *rt_current_thread;
|
|
-#if defined(RT_USING_FINSH) && defined(FINSH_USING_BUILT_IN_COMMANDS)
|
|
|
|
|
|
+#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
|
|
extern long list_thread(void);
|
|
extern long list_thread(void);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
@@ -49,7 +49,7 @@ void rt_hw_trap_undef(struct rt_hw_exp_stack *regs)
|
|
{
|
|
{
|
|
rt_kprintf("undefined instruction:\n");
|
|
rt_kprintf("undefined instruction:\n");
|
|
rt_hw_show_register(regs);
|
|
rt_hw_show_register(regs);
|
|
-#if defined(RT_USING_FINSH) && defined(FINSH_USING_BUILT_IN_COMMANDS)
|
|
|
|
|
|
+#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
|
|
list_thread();
|
|
list_thread();
|
|
#endif
|
|
#endif
|
|
rt_hw_cpu_shutdown();
|
|
rt_hw_cpu_shutdown();
|
|
@@ -68,7 +68,7 @@ void rt_hw_trap_swi(struct rt_hw_exp_stack *regs)
|
|
{
|
|
{
|
|
rt_kprintf("software interrupt:\n");
|
|
rt_kprintf("software interrupt:\n");
|
|
rt_hw_show_register(regs);
|
|
rt_hw_show_register(regs);
|
|
-#if defined(RT_USING_FINSH) && defined(FINSH_USING_BUILT_IN_COMMANDS)
|
|
|
|
|
|
+#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
|
|
list_thread();
|
|
list_thread();
|
|
#endif
|
|
#endif
|
|
rt_hw_cpu_shutdown();
|
|
rt_hw_cpu_shutdown();
|
|
@@ -86,7 +86,7 @@ void rt_hw_trap_pabt(struct rt_hw_exp_stack *regs)
|
|
{
|
|
{
|
|
rt_kprintf("prefetch abort:\n");
|
|
rt_kprintf("prefetch abort:\n");
|
|
rt_hw_show_register(regs);
|
|
rt_hw_show_register(regs);
|
|
-#if defined(RT_USING_FINSH) && defined(FINSH_USING_BUILT_IN_COMMANDS)
|
|
|
|
|
|
+#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
|
|
list_thread();
|
|
list_thread();
|
|
#endif
|
|
#endif
|
|
rt_hw_cpu_shutdown();
|
|
rt_hw_cpu_shutdown();
|
|
@@ -104,7 +104,7 @@ void rt_hw_trap_dabt(struct rt_hw_exp_stack *regs)
|
|
{
|
|
{
|
|
rt_kprintf("data abort:");
|
|
rt_kprintf("data abort:");
|
|
rt_hw_show_register(regs);
|
|
rt_hw_show_register(regs);
|
|
-#if defined(RT_USING_FINSH) && defined(FINSH_USING_BUILT_IN_COMMANDS)
|
|
|
|
|
|
+#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
|
|
list_thread();
|
|
list_thread();
|
|
#endif
|
|
#endif
|
|
rt_hw_cpu_shutdown();
|
|
rt_hw_cpu_shutdown();
|
|
@@ -121,7 +121,7 @@ void rt_hw_trap_resv(struct rt_hw_exp_stack *regs)
|
|
{
|
|
{
|
|
rt_kprintf("reserved trap:\n");
|
|
rt_kprintf("reserved trap:\n");
|
|
rt_hw_show_register(regs);
|
|
rt_hw_show_register(regs);
|
|
-#if defined(RT_USING_FINSH) && defined(FINSH_USING_BUILT_IN_COMMANDS)
|
|
|
|
|
|
+#if defined(RT_USING_FINSH) && defined(MSH_USING_BUILT_IN_COMMANDS)
|
|
list_thread();
|
|
list_thread();
|
|
#endif
|
|
#endif
|
|
rt_hw_cpu_shutdown();
|
|
rt_hw_cpu_shutdown();
|