Is pagefault on RISC-V supported?
Hoblovski opened this issue · 2 comments
Hoblovski commented
I searched through the source code (crate/riscv and kernel/src/arch),
but could not find any code piece related to pagefault handing on rv.
wangrunji0408 commented
For now, there is no special page fault handler on RV32. I just treat it as a normal exception.
It should be like x86_64 version: jump to this function and do some swapping or copy-on-write.
Hoblovski commented
Great answer ;)