Crate madt

source ·
Expand description

Support for the MADT ACPI table, which includes interrupt and multicore info.

Structs

  • A wrapper around the MADT ACPI table (Multiple APIC Descriptor Table), which contains details about multicore and interrupt configuration.
  • MADT Interrupt Source Override
  • MADT I/O APIC
  • An Iterator over the dynamic entries of the MADT. Its lifetime is dependent upon the lifetime of its Madt instance, which itself is bound to the lifetime of the underlying AcpiTables.
  • MADT Local APIC
  • MADT Local APIC Address Override. If this struct exists, the contained physical address should be used in place of the local APIC physical address specified in the MADT ACPI table itself.
  • MADT Local X2APIC
  • MADT Non-maskable Interrupt. Use these to configure the LINT0 and LINT1 entries in the Local vector table of the relevant processor’s (or processors’) local APIC.

Enums

Constants

Functions

  • Finds the Non-Maskable Interrupt (NMI) entry in the MADT ACPI table (i.e., the given MadtIter) corresponding to the given processor. If no entry exists, it returns the default NMI entry value: (lint = 1, flags = 0).
  • The handler for parsing the MADT table and adding it to the ACPI tables list.