Module page

Source
Expand description

Abstractions for default-sized and huge virtual memory pages.

Structs§

AddressNotAligned
The given address was not sufficiently aligned.
Page
A virtual memory page.
PageRange
A range of pages with exclusive upper bound.
PageRangeInclusive
A range of pages with inclusive upper bound.

Enums§

Size1GiB
A “giant” 1GiB page.
Size2MiB
A “huge” 2MiB page.
Size4KiB
A standard 4KiB page.

Traits§

NotGiantPageSize
This trait is implemented for 4KiB and 2MiB pages, but not for 1GiB pages.
PageSize
Trait for abstracting over the three possible page sizes on x86_64, 4KiB, 2MiB, 1GiB.