pub struct Config {
pub quirks: usize,
pub pgsize_bitmap: usize,
pub ias: u32,
pub oas: u32,
pub coherent_walk: bool,
}Expand description
Represents a requested io_pgtable configuration.
Fields§
§quirks: usizeQuirk bitmask (type-specific).
pgsize_bitmap: usizeValid page sizes, as a bitmask of powers of two.
ias: u32Input address space size in bits.
oas: u32Output address space size in bits.
coherent_walk: boolIOMMU uses coherent accesses for page table walks.
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more