修正未能正确获取C语言全局变量地址的bug,代码正确运行

This commit is contained in:
2025-02-03 12:13:17 +08:00
parent 8b7dd6d9ff
commit a5d2f7e947
3 changed files with 15 additions and 14 deletions

View File

@@ -50,7 +50,7 @@ _rv32i_plic_handle:
sw x23, 0(x17) # *plic_claim = x23
#li x25, 1
li x24, CDR_INT_TXEND
bne x23, x24, 1f #_if (x23 != x24) goto 1f
sw x25, 0(x18) #_else