summaryrefslogtreecommitdiff
path: root/bsp/qemu-vexpress-gemini
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-08-28 16:48:08 -0400
committerMeco Man <[email protected]>2021-08-28 16:48:08 -0400
commit1997113fbca8894dcaad75a6fa4e7b42396a4031 (patch)
tree99f5f837836408f61e9c92e9a9840dbb8c5c2801 /bsp/qemu-vexpress-gemini
parent3d5582380d2c8612c43e1c2e3e5aa633f7f4647c (diff)
FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDS
Diffstat (limited to 'bsp/qemu-vexpress-gemini')
-rw-r--r--bsp/qemu-vexpress-gemini/cpu/trap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bsp/qemu-vexpress-gemini/cpu/trap.c b/bsp/qemu-vexpress-gemini/cpu/trap.c
index 319dba851c..86eceb39cf 100644
--- a/bsp/qemu-vexpress-gemini/cpu/trap.c
+++ b/bsp/qemu-vexpress-gemini/cpu/trap.c
@@ -21,7 +21,7 @@
#include "gic.h"
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);
#endif
@@ -53,7 +53,7 @@ void rt_hw_trap_undef(struct rt_hw_exp_stack *regs)
{
rt_kprintf("undefined instruction:\n");
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();
#endif
rt_hw_cpu_shutdown();
@@ -72,7 +72,7 @@ void rt_hw_trap_swi(struct rt_hw_exp_stack *regs)
{
rt_kprintf("software interrupt:\n");
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();
#endif
rt_hw_cpu_shutdown();
@@ -90,7 +90,7 @@ void rt_hw_trap_pabt(struct rt_hw_exp_stack *regs)
{
rt_kprintf("prefetch abort:\n");
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();
#endif
rt_hw_cpu_shutdown();
@@ -108,7 +108,7 @@ void rt_hw_trap_dabt(struct rt_hw_exp_stack *regs)
{
rt_kprintf("data abort:");
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();
#endif
rt_hw_cpu_shutdown();
@@ -125,7 +125,7 @@ void rt_hw_trap_resv(struct rt_hw_exp_stack *regs)
{
rt_kprintf("reserved trap:\n");
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();
#endif
rt_hw_cpu_shutdown();