rcore-os/rCore

Is pagefault on RISC-V supported?

Hoblovski opened this issue · 2 comments

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.

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.

Great answer ;)