pub struct El2Config<'a> {
pub background_config: bool,
pub regions: &'a [El2Region],
pub memory_attributes: &'a [MemAttr],
}Expand description
Configuration for the PMSAv8-32 EL2 MPU
Fields§
§background_config: boolBackground Config Enable
If true, use the default MMU config if no other region matches an address
regions: &'a [El2Region]Information about each Region.
If you pass more regions than the MPU supports, you get an error.
memory_attributes: &'a [MemAttr]Information about each Memory Attribute
If you pass more MemAttrs than the MPU supports (8), you get an error.
Trait Implementations§
impl<'a> Eq for El2Config<'a>
impl<'a> StructuralPartialEq for El2Config<'a>
Auto Trait Implementations§
impl<'a> Freeze for El2Config<'a>
impl<'a> RefUnwindSafe for El2Config<'a>
impl<'a> Send for El2Config<'a>
impl<'a> Sync for El2Config<'a>
impl<'a> Unpin for El2Config<'a>
impl<'a> UnwindSafe for El2Config<'a>
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