From 2b0063f207895304f8a01d165cf4d664a8edf964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B6=E4=B8=AD=E6=96=AD=E5=BB=B6=E8=BF=9F=E7=9A=84RTOS?= Date: Tue, 4 Aug 2026 16:54:14 +0000 Subject: [PATCH] update Port/port_x32/RISC-V32/port_rv32_HWS.S. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 零中断延迟的RTOS --- Port/port_x32/RISC-V32/port_rv32_HWS.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Port/port_x32/RISC-V32/port_rv32_HWS.S b/Port/port_x32/RISC-V32/port_rv32_HWS.S index ed609ef7..0fc43749 100644 --- a/Port/port_x32/RISC-V32/port_rv32_HWS.S +++ b/Port/port_x32/RISC-V32/port_rv32_HWS.S @@ -172,7 +172,7 @@ _task_switch_: #if defined ( __TEST_PENDSV ) li a0, (0x0001UL << (MCUCFG_XXXx_IRQn % 32) ) li a1, (0xE000E200 + MCUCFG_XXXx_IRQn / 32 * 4) - sw a0, (a1) + sw a0, (a1) // 触发 PendSV #endif /* pop FPU */