Struct resources::system_allocator::SystemAllocatorConfig
source · pub struct SystemAllocatorConfig {
pub io: Option<AddressRange>,
pub low_mmio: AddressRange,
pub high_mmio: AddressRange,
pub platform_mmio: Option<AddressRange>,
pub first_irq: u32,
}
Fields§
§io: Option<AddressRange>
IO ports. Only for x86_64.
low_mmio: AddressRange
Low (<=4GB) MMIO region.
Parts of this region may be reserved or otherwise excluded from the created SystemAllocator’s MmioType::Low allocator. However, no new regions will be added.
high_mmio: AddressRange
High (>4GB) MMIO region.
Parts of this region may be reserved or otherwise excluded from the created SystemAllocator’s MmioType::High allocator. However, no new regions will be added.
platform_mmio: Option<AddressRange>
Platform MMIO space. Only for ARM.
first_irq: u32
The first IRQ number to give out.
Auto Trait Implementations§
impl RefUnwindSafe for SystemAllocatorConfig
impl Send for SystemAllocatorConfig
impl Sync for SystemAllocatorConfig
impl Unpin for SystemAllocatorConfig
impl UnwindSafe for SystemAllocatorConfig
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