update Port/port_x32/RISC-V32/port_rv32_HWS.S.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2026-08-04 17:52:48 +00:00
committed by Gitee
parent 2b0063f207
commit 568c7f99a5
+5 -6
View File
@@ -18,7 +18,7 @@
////////////////////////////////////////////////////////////////////////////////
/* PendSV软中断 */
/* PendSV 软中断 */
.global OS_PendSV_Handler
.align 2
@@ -250,9 +250,8 @@ _task_switch_:
addi sp, sp, 32 * MCUCFG_REGBYTES
#endif
sw zero, (tp) // 退
////reent point 1
csrr tp, mscratch
////reent point 2
jr tp
/* unlock & jump */
sw zero, (tp) // 退
csrr tp, mscratch // break point 1
jr tp // break point 2