hikalium / liumos

A toy operating system which supports NVDIMM natively.
MIT License
270 stars 24 forks source link

Impl v2p which uses kernel direct map #41

Closed hikalium closed 3 years ago

hikalium commented 3 years ago

current v2p implementation expects to have an access to physical addresses. It works in the kernel processes but it causes page fault in user process. v2p can be implemented with kernel direct map which can be accessible from supervisor mode of user process (e.g. syscall) so implement it.

hikalium commented 3 years ago

done in https://github.com/hikalium/liumos/commit/10cf42db51c6d8baad7b24001188aa8e7a9b7e7d