pub enum LayoutOverlap {
Ok,
GicrOverlapsMmio {
vcpu_count: u32,
live_gicr_end: u64,
boundary: u64,
},
}Expand description
Result of overlap_check.
Variants§
Ok
The live GICR region fits within the reserved window for the given vCPU count.
GicrOverlapsMmio
The live GICR region for vcpu_count would overlap the PL011/virtio-MMIO band.
live_gicr_end is GICR_BASE + vcpu_count × redistributor_size_per_vcpu.
Trait Implementations§
Source§impl Clone for LayoutOverlap
impl Clone for LayoutOverlap
Source§fn clone(&self) -> LayoutOverlap
fn clone(&self) -> LayoutOverlap
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutOverlap
impl Debug for LayoutOverlap
Source§impl PartialEq for LayoutOverlap
impl PartialEq for LayoutOverlap
Source§fn eq(&self, other: &LayoutOverlap) -> bool
fn eq(&self, other: &LayoutOverlap) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LayoutOverlap
impl Eq for LayoutOverlap
impl StructuralPartialEq for LayoutOverlap
Auto Trait Implementations§
impl Freeze for LayoutOverlap
impl RefUnwindSafe for LayoutOverlap
impl Send for LayoutOverlap
impl Sync for LayoutOverlap
impl Unpin for LayoutOverlap
impl UnsafeUnpin for LayoutOverlap
impl UnwindSafe for LayoutOverlap
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