Module paging
Expand description
Abstractions for page tables and other paging related structures.
Page tables translate virtual memory “pages” to physical memory “frames”.
Re-exports§
pub use paging::MappedPageTable;pub use paging::OffsetPageTable;pub use paging::RecursivePageTable;
Modules§
- frame
- Abstractions for default-sized and huge physical memory frames.
- mapper
- Abstractions for reading and modifying the mapping of pages.
- page
- Abstractions for default-sized and huge virtual memory pages.
- page_
table - Abstractions for page tables and page table entries.
Structs§
- Page
- A virtual memory page.
- Page
Offset - A 12-bit offset into a 4KiB Page.
- Page
Table - Represents a page table.
- Page
Table Flags - Possible flags for a page table entry.
- Page
Table Index - A 9-bit index into a page table.
- Phys
Frame - A physical memory frame.
Enums§
Traits§
- Frame
Allocator - A trait for types that can allocate a frame of memory.
- Frame
Deallocator - A trait for types that can deallocate a frame of memory.
- Mapper
- A trait for common page table operations on pages of size
S. - Page
Size - Trait for abstracting over the three possible page sizes on x86_64, 4KiB, 2MiB, 1GiB.
- Translate
- Provides methods for translating virtual addresses.