first semihosting integration

This commit is contained in:
gabriel committed 2024-02-26 20:41:15 +01:00
1 parent 532f7e9bb8
commit 39ee91af7d
5 files changed
+219 -1

No files matched your search

Vendored
+1 -1
View File
@@ -41,7 +41,7 @@ trap_entry:
csrr a0, mcause
csrr a1, mepc
mv a2, sp
call handle_trap
call trap
csrw mepc, a0
#ifndef __riscv_abi_rve
addi sp, sp, -8*REGBYTES