pub struct MadtIso {
pub bus: u8,
pub irq_source: u8,
pub gsi: u32,
pub flags: u16,
}Expand description
Interrupt Source Override entry from the MADT.
Maps ISA IRQ numbers to their actual GSI (Global System Interrupt) numbers with polarity and trigger mode overrides.
Fields§
§bus: u8Bus source (always 0 = ISA).
irq_source: u8ISA IRQ number being overridden.
gsi: u32Global System Interrupt number this IRQ maps to.
flags: u16Flags: bits 1:0 = polarity, bits 3:2 = trigger mode.
Implementations§
Source§impl MadtIso
impl MadtIso
Sourcepub fn is_active_low(&self) -> bool
pub fn is_active_low(&self) -> bool
Returns true if active-low polarity.
Sourcepub fn is_level_triggered(&self) -> bool
pub fn is_level_triggered(&self) -> bool
Returns true if level-triggered.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MadtIso
impl RefUnwindSafe for MadtIso
impl Send for MadtIso
impl Sync for MadtIso
impl Unpin for MadtIso
impl UnwindSafe for MadtIso
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)