diff options
author | Mole Shang <[email protected]> | 2024-01-18 17:35:27 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2024-01-18 17:35:27 +0800 |
commit | 493159b9bb1a764926daa49fb09bff8f29e8e9e5 (patch) | |
tree | bcae49e20df0ab9d86dab9bd10226807cc432f88 /answers-syscall.txt | |
parent | 33ca12a4653752d179e6296c7ca2f91a626d30f3 (diff) | |
download | xv6-labs-493159b9bb1a764926daa49fb09bff8f29e8e9e5.tar.gz xv6-labs-493159b9bb1a764926daa49fb09bff8f29e8e9e5.tar.bz2 xv6-labs-493159b9bb1a764926daa49fb09bff8f29e8e9e5.zip |
lab syscall: finishsyscall
Diffstat (limited to 'answers-syscall.txt')
-rw-r--r-- | answers-syscall.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/answers-syscall.txt b/answers-syscall.txt new file mode 100644 index 0000000..ca0ce77 --- /dev/null +++ b/answers-syscall.txt @@ -0,0 +1,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 |