Commit Graph

11 Commits

Author SHA1 Message Date
7095b37e7e Refactor the source structure in aster_frame::mm 2024-06-03 22:16:02 +08:00
14e1b1a9fc Rename various concepts related to memory management 2024-06-03 22:16:02 +08:00
141fbeaf0c Optimize the page table implementation using the frame metadata
This PR also refactored the page table cursor, distinguishing `Cursor` from `CursorMut`, and split
a lot of functions to reduce dynamic condition checking.

There are also other sanitizations performed, including refactoring PTE's `is_huge` API to `is_last`,
hardening tracked mapping checks, and making `VmFrame` any size.
2024-06-03 22:16:02 +08:00
989970429a Refactor the definition of page properties and permissions 2024-05-10 19:07:05 +08:00
351e08c897 Escalate page table consts to be paging consts 2024-05-10 19:07:05 +08:00
2dbeb92326 Implement fine grained locks for the page table and adjust APIs 2024-05-10 19:07:05 +08:00
82bdadf754 Add a PTE extension mechanism 2024-05-10 19:07:05 +08:00
24a868a670 Implement an efficient ranged page table 2024-05-10 19:07:05 +08:00
cfcef6965a Adjust the format of imports in Asterinas 2024-02-26 10:03:45 +08:00
faaa4438d6 License rust and c source files 2024-01-18 08:22:58 +08:00
93781df27b Rename crates from jinux-* to aster-* 2023-12-26 11:49:24 +08:00