Skip to main content

seg_nframes

Function seg_nframes 

Source
pub open spec fn seg_nframes(range: Range<Paddr>) -> int
Expand description
{ (range.end - range.start) / PAGE_SIZE as int }

Number of frames in a page-aligned physical range.