summaryrefslogtreecommitdiff
path: root/libcpu/arm/cortex-r4
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 /libcpu/arm/cortex-r4
parent3d5582380d2c8612c43e1c2e3e5aa633f7f4647c (diff)
FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDS
Diffstat (limited to 'libcpu/arm/cortex-r4')
-rw-r--r--libcpu/arm/cortex-r4/trap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcpu/arm/cortex-r4/trap.c b/libcpu/arm/cortex-r4/trap.c
index 9cb24026f0..3ff3d297c0 100644
--- a/libcpu/arm/cortex-r4/trap.c
+++ b/libcpu/arm/cortex-r4/trap.c
@@ -67,7 +67,7 @@ void rt_hw_trap_svc(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();
@@ -85,7 +85,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();
@@ -103,7 +103,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();
@@ -120,7 +120,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();