pub struct Discovery {
pub present: bool,
pub ready: bool,
pub backend: &'static str,
pub units: u32,
pub rmrrs: u32,
pub atsrs: u32,
pub host_address_width: u8,
pub intr_remap: bool,
pub x2apic_opt_out: bool,
}Expand description
Summary produced by firmware discovery.
Fields§
§present: boolTrue when a DMAR (or IVRS for AMD) table was found.
ready: boolTrue when the backend may be activated.
backend: &'static strShort backend name for logs.
units: u32Number of remapping hardware units.
rmrrs: u32Number of reserved memory regions.
atsrs: u32Number of ATS-capable root-port structures.
host_address_width: u8Host address width, in bits.
intr_remap: boolInterrupt remapping is advertised.
x2apic_opt_out: boolFirmware asked the OS to keep x2APIC disabled.
Implementations§
Trait Implementations§
impl Copy for Discovery
impl Eq for Discovery
impl StructuralPartialEq for Discovery
Auto Trait Implementations§
impl Forget for Discovery
impl Freeze for Discovery
impl Move for Discovery
impl RefUnwindSafe for Discovery
impl Send for Discovery
impl Sync for Discovery
impl Unpin for Discovery
impl UnsafeUnpin for Discovery
impl UnwindSafe for Discovery
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more