增加注释;增加Makefile脚本,用于生成独立的cpu0~cpu3的仿真日志文件

This commit is contained in:
2025-02-03 10:10:40 +08:00
parent ab506a0e37
commit 8b7dd6d9ff
2 changed files with 10 additions and 7 deletions

View File

@@ -71,10 +71,10 @@ _prog_start:
#la a4, flag_intRxEnd
call mst_svr_code
mv t0, a0
mv t0, a0 #trap_entry,RV32I
#la t0, trap_entry
#la t0, opt_trap_entry
#la t0, trap_entry #trap_entryRV32E
#la t0, opt_trap_entry #RV32E
csrw mtvec, t0
li t0, 1 << 11
csrw mie, t0