oscourse-tsinghua / rcore_plus

Rust version of THU uCore OS. Linux compatible.
MIT License
172 stars 26 forks source link

Simplify virtual memory management #37

Closed wangrunji0408 closed 5 years ago

wangrunji0408 commented 5 years ago

The current code structure is confusing! The recursive mapping is really hard to understand and make the code more complicated.

BlogOS has replaced recursive mapping by linear mapping all physical memory. See discussions here: https://github.com/phil-opp/blog_os/issues/545.

Some ideas:

Harry-Chen commented 5 years ago

@miskcoo is doing similar work on mipsel platform. Maybe he will be interested.