summaryrefslogtreecommitdiff
path: root/answers-syscall.txt
blob: ca0ce77bf63f7c54935b8c9161a283baa76155bf (plain)
1
2
3
4
5
6
7
8
9
usertrap()
7
SYS_exec
user mode
lw	a3,0(zero)
a3
no
yes, `scause` 0xd -> interrupt = 0, exception code = 13 -> instruction page fault (riscv-priviledged p71)
'initcode', 1