mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-08-17 08:42:13 +08:00
update Port/port_x32/RISC-V32/port_rv32_HWS.S.
Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user