pub enum Placement {
Mmio32,
Mmio64,
PostMmio,
}Expand description
The placement class for a dynamic single-range layout request.
Variants§
Mmio32
The allocation must fit below the 4 GiB boundary and is placed top down.
Mmio64
The allocation must sit above the 4 GiB boundary and is placed bottom up above RAM.
PostMmio
The allocation is placed bottom up after RAM and all MMIO allocations.
Post-MMIO requests are allocated in caller order, not sorted by size or alignment, so they can be used for private implementation ranges that must not perturb the guest-visible RAM/MMIO layout.
Trait Implementations§
impl Copy for Placement
impl Eq for Placement
impl StructuralPartialEq for Placement
Auto Trait Implementations§
impl Freeze for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnsafeUnpin for Placement
impl UnwindSafe for Placement
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