#[repr(u64)]pub enum MemAttr {
Device = 0,
Normal = 1,
NormalNonCacheable = 2,
}
Available on AArch64 only.
Expand description
The memory attributes index field in the descriptor, which is used to index into the MAIR (Memory Attribute Indirection Register).
Variants§
Device = 0
Device-nGnRE memory
Normal = 1
Normal memory
NormalNonCacheable = 2
Normal non-cacheable memory
Implementations§
Trait Implementations§
impl Copy for MemAttr
impl Eq for MemAttr
impl StructuralPartialEq for MemAttr
Auto Trait Implementations§
impl Freeze for MemAttr
impl RefUnwindSafe for MemAttr
impl Send for MemAttr
impl Sync for MemAttr
impl Unpin for MemAttr
impl UnwindSafe for MemAttr
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