diff options
| author | Meco Man <[email protected]> | 2021-08-28 16:48:08 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-08-28 16:48:08 -0400 |
| commit | 1997113fbca8894dcaad75a6fa4e7b42396a4031 (patch) | |
| tree | 99f5f837836408f61e9c92e9a9840dbb8c5c2801 /libcpu/risc-v/virt64 | |
| parent | 3d5582380d2c8612c43e1c2e3e5aa633f7f4647c (diff) | |
FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDS
Diffstat (limited to 'libcpu/risc-v/virt64')
| -rw-r--r-- | libcpu/risc-v/virt64/interrupt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/risc-v/virt64/interrupt.c b/libcpu/risc-v/virt64/interrupt.c index 4b109d71ad..eae0a55c96 100644 --- a/libcpu/risc-v/virt64/interrupt.c +++ b/libcpu/risc-v/virt64/interrupt.c @@ -212,7 +212,7 @@ void handle_trap(rt_size_t xcause,rt_size_t xtval,rt_size_t xepc,struct rt_hw_st else { rt_thread_t tid; -#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(); #endif rt_hw_interrupt_disable(); @@ -266,7 +266,7 @@ void handle_trap(rt_size_t xcause,rt_size_t xtval,rt_size_t xepc,struct rt_hw_st dump_regs(sp); rt_kprintf("exception pc => 0x%08x\n", xepc); rt_kprintf("current thread: %.*s\n", RT_NAME_MAX, tid->name); -#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 while(1); |
