acpi_get_ioapic_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– acpi_get_ioapic_id(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for acpi_get_ioapic_id β€” she’s giving low-level ACPI realness and honestly? iconic. πŸ¦‹


πŸŽ€ NAME πŸŽ€

acpi_get_ioapic_id β€” get the IOAPIC ID and physical address matching @gsi_base. slay. ✨


✨ SYNOPSIS ✨

int acpi_get_ioapic_id (acpi_handle handle , u32 gsi_base , u64 *phys_addr );

🌸 ARGUMENTS 🌸

  • handle β€” the ACPI object for the IOAPIC device. πŸŽ€
  • gsi_base β€” the GSI base to match with. πŸ”
  • phys_addr β€” pointer to store the physical address of the matching IOAPIC record. πŸ’Ύ

πŸ’… DESCRIPTION πŸ’…

okay so here’s the vibe: acpi_get_ioapic_id() walks the resources returned by the ACPI_MAT method, then the ACPI MADT table, searching for an ACPI IOAPIC record that matches gsi_base. πŸ‘‘

if it finds a match, it returns the IOAPIC id and stores the physical address in phys_addr. if not, it returns <0. no cap. 😭


🫢 SEE ALSO 🫢

  • Kernel file ./drivers/acpi/processor_core.c β€” literally the kernel file to peek at. 🌈

made with πŸ’– from ./drivers/acpi Β· October 2026 Β· acpi_get_ioapic_id(9)

πŸ“¦ where this page comes from