实现中断与异常

This commit is contained in:
2025-04-18 19:18:49 +08:00
parent a096b91bc1
commit 38d433558d
11 changed files with 392 additions and 10 deletions

View File

@@ -30,7 +30,9 @@ CFLAG=[
SRC=[
"riscv/main.c",
"riscv/test.c",
"riscv/start.S"
"riscv/interrupt.c",
"riscv/start.S",
"riscv/trap.S"
]
LD_FILE="riscv.ld"