pub struct PageEntry {
pub pfn: u32,
pub c: u8,
pub dirty: bool,
pub valid: bool,
}Expand description
One half of an entry — the even or odd page.
Fields§
§pfn: u32Page frame number.
c: u8Cache coherency attribute. Only 2 means uncached (UM Table 5-6,
p. 145); 0, 1, 3, 4, 5, 6 and 7 are all cached, because the VR4300 has no
coherency protocol and the VR4400’s finer encodings collapse.
dirty: boolDirty — meaning writable, not “has been written”. A store to a page
with D clear raises TLB Modified.
valid: boolValid. Does not participate in matching; see the module docs.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PageEntry
impl<'de> Deserialize<'de> for PageEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for PageEntry
impl Eq for PageEntry
impl StructuralPartialEq for PageEntry
Auto Trait Implementations§
impl Freeze for PageEntry
impl RefUnwindSafe for PageEntry
impl Send for PageEntry
impl Sync for PageEntry
impl Unpin for PageEntry
impl UnsafeUnpin for PageEntry
impl UnwindSafe for PageEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more