pub struct El2Region {
pub range: RangeInclusive<*mut u8>,
pub shareability: El2Shareability,
pub access: El2AccessPerms,
pub no_exec: bool,
pub mair: u8,
pub enable: bool,
}Expand description
Configuration for the PMSAv8-32 EL2 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: El2AccessPermsAccess for the region
no_exec: boolIs region no-exec?
mair: u8Which Memory Attribute applies here?
Selects from the eight attributes in {HMAIR0, HMAIR1}.
Only values 0..=7 are valid here.
enable: boolIs this region enabled?
Trait Implementations§
impl Eq for El2Region
impl StructuralPartialEq for El2Region
impl Sync for El2Region
Auto Trait Implementations§
impl Freeze for El2Region
impl RefUnwindSafe for El2Region
impl !Send for El2Region
impl Unpin for El2Region
impl UnwindSafe for El2Region
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