Struct x86_64::structures::paging::frame::PhysFrame [−][src]
Expand description
A physical memory frame.
Implementations
Returns the frame that starts at the given virtual address.
Returns an error if the address is not correctly aligned (i.e. is not a valid frame start).
Returns the frame that starts at the given virtual address.
Safety
The address must be correctly aligned.
Returns the frame that contains the given physical address.
Returns the start address of the frame.
pub const fn range(start: PhysFrame<S>, end: PhysFrame<S>) -> PhysFrameRange<S>ⓘNotable traits for PhysFrameRange<S>impl<S: PageSize> Iterator for PhysFrameRange<S> type Item = PhysFrame<S>;
pub const fn range(start: PhysFrame<S>, end: PhysFrame<S>) -> PhysFrameRange<S>ⓘNotable traits for PhysFrameRange<S>impl<S: PageSize> Iterator for PhysFrameRange<S> type Item = PhysFrame<S>;
impl<S: PageSize> Iterator for PhysFrameRange<S> type Item = PhysFrame<S>;
Returns a range of frames, exclusive end
.
pub const fn range_inclusive(
start: PhysFrame<S>,
end: PhysFrame<S>
) -> PhysFrameRangeInclusive<S>ⓘNotable traits for PhysFrameRangeInclusive<S>impl<S: PageSize> Iterator for PhysFrameRangeInclusive<S> type Item = PhysFrame<S>;
pub const fn range_inclusive(
start: PhysFrame<S>,
end: PhysFrame<S>
) -> PhysFrameRangeInclusive<S>ⓘNotable traits for PhysFrameRangeInclusive<S>impl<S: PageSize> Iterator for PhysFrameRangeInclusive<S> type Item = PhysFrame<S>;
impl<S: PageSize> Iterator for PhysFrameRangeInclusive<S> type Item = PhysFrame<S>;
Returns a range of frames, inclusive end
.
Trait Implementations
Performs the +=
operation. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Performs the -=
operation. Read more