Interrupt-driven wait: matmul HWI2 + DMA HWI1 direct CPU lines

This commit is contained in:
2026-06-25 20:03:53 +08:00
parent 57ba5d271d
commit 956cd67773
9 changed files with 476 additions and 382 deletions

View File

@@ -153,12 +153,18 @@ handle_hwi0:
b trap_jump_exit
# HWI1 处理程序
# HWI1 处理程序 - DMA完成
handle_hwi1:
bl DMA_IntrHandler
b trap_jump_exit
# HWI2 处理程序
# HWI2 处理程序 - Matmul完成
handle_hwi2:
bl MATMUL_IntrHandler
b trap_jump_exit
# HWI3 处理程序
@@ -186,3 +192,13 @@ handle_hwi7:
HWI0_IntrHandler:
1:
b 1b
.weak DMA_IntrHandler
DMA_IntrHandler:
1:
b 1b
.weak MATMUL_IntrHandler
MATMUL_IntrHandler:
1:
b 1b