pub struct El1Region {
pub range: RangeInclusive<*mut u8>,
pub shareability: El1Shareability,
pub access: El1AccessPerms,
pub no_exec: bool,
pub mair: u8,
pub enable: bool,
}Expand description
Configuration for the PMSAv8-32 MPU
Fields§
§range: RangeInclusive<*mut u8>The range of the region
- The first address must be a multiple of 32.
- The length must be a multiple of 32.
Shareability of the region
access: El1AccessPermsAccess for the region
no_exec: boolIs region no-exec?
mair: u8Which Memory Attribute applies here?
Selects from the eight attributes in {MAIR0, MAIR1}.
Only values 0..=7 are valid here.
enable: boolIs this region enabled?
Trait Implementations§
impl Eq for El1Region
impl StructuralPartialEq for El1Region
impl Sync for El1Region
Auto Trait Implementations§
impl Freeze for El1Region
impl RefUnwindSafe for El1Region
impl !Send for El1Region
impl Unpin for El1Region
impl UnwindSafe for El1Region
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