diff options
| author | Fan Yang <[email protected]> | 2024-07-15 17:51:32 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-15 17:51:32 +0800 |
| commit | 96ba787e252c38abe08f039c052a4be378dfa42c (patch) | |
| tree | 9f34ae99c224172f95ee23e5ff29bb44501d2dfc /libcpu | |
| parent | ca4645000a3d64c260bd6b15200bdcce5ae8b330 (diff) | |
Bugfix/fix weak handle trap in riscv common crash rv64 trap handling (#9189)
* [bsp][hpmicro] add weak handle_trap implementation
- added weak handle_trap implementation
Signed-off-by: Fan YANG <[email protected]>
* [libcpu][risc-v][common] remove weak handle_trap function
- removed weak handle_trap function from trap_common.c
Signed-off-by: Fan YANG <[email protected]>
---------
Signed-off-by: Fan YANG <[email protected]>
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/risc-v/common/trap_common.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libcpu/risc-v/common/trap_common.c b/libcpu/risc-v/common/trap_common.c index 3cbbfeb008..6f7352cd56 100644 --- a/libcpu/risc-v/common/trap_common.c +++ b/libcpu/risc-v/common/trap_common.c @@ -109,10 +109,3 @@ rt_weak void rt_show_stack_frame(void) rt_kprintf("t6 : 0x%08x\r\n", s_stack_frame->t6); #endif } - -/** - * Trap Handler - */ -rt_weak void handle_trap(rt_uint32_t mcause, rt_uint32_t mepc, rt_uint32_t sp) -{ -}
\ No newline at end of file |
