raw-acpi 0.0.2

Simply ACPI, in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::madt::interrupt_source_override::MPSINTIFlags;

#[derive(Copy, Clone)]
#[repr(C, packed)]
/// ## Non-Maskable Interrupt (NMI) Source Structure
///
/// This structure allows a platform designer to specify which I/O (S)APIC interrupt inputs should be enabled as non-maskable.
/// Any source that is non-maskable will not be available for use by devices.
pub struct NMISource {
    /// 3 - NMI Source
    pub r#type: u8,
    /// 8
    pub length: u8,
    /// Same as MPS INTI flags.
    pub flags: MPSINTIFlags,
    /// The Global System Interrupt that this NMI will signal.
    pub global_system_interrupt: u32,
}