Expand description
Virtual memory space management.
The VmSpace struct is provided to manage the virtual memory space of a
user. Cursors are used to traverse and modify over the virtual memory space
concurrently. The VM space cursor self::Cursor is just a wrapper over
the page table cursor, providing efficient, powerful concurrent accesses
to the page table.
Structs§
- Cursor
- The cursor for querying over the VM space without modifying it.
- Cursor
Mut - The cursor for modifying the mappings in VM space.
- User
PtConfig 🔒 - VmSpace
- A virtual address space for user-mode tasks, enabling safe manipulation of user-space memory.
Statics§
- ACTIVATED_
VM_ 🔒SPACE - The
Arcpointer to the activated VM space on this CPU. If the pointer is NULL, it means that the activated page table is merely the kernel page table.
Type Aliases§
- Mapped
Item - The item that can be mapped into the
VmSpace.