acpi_ioapic_registered(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ acpi_ioapic_registered(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– this one's a lil kernel function from acpi_ioapic_registered(9) and honestly it's giving "quick vibe check for your IOAPIC" energy.


🌸 NAME 🌸

acpi_ioapic_registered β€” the function that checks whether the IOAPIC tied to @gsi_base has actually been registered πŸ‘€βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

int acpi_ioapic_registered (acpi_handle handle , u32 gsi_base );

like. that's the whole call. int in, truth out. slay πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • handle β€” the ACPI handle of the IOAPIC device, iykyk 🫢
  • gsi_base β€” the GSI base that's associated with the IOAPIC, no cap

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea β˜• β€” this function assumes the caller is already holding some type of lock to serialize acpi_ioapic_registered with acpi_register_ioapic/acpi_unregister_ioapic. so like, lock it down first, bestie, or the whole thing is gonna be a mess πŸ˜­πŸ”’

fr fr β€” that locking assumption is load-bearing. don't come for this function without your lock. πŸ’€

🌈 SEE ALSO 🌈

  • Kernel file ./arch/x86/kernel/acpi/boot.c β€” go read it, it ate πŸ‘‘

and that's a wrap, bestie πŸŽ€ this page came from source ./arch/x86/kernel/acpi, dated October 2026, stamped by the Kernel API Manual β€” mwah, iconic, periodt πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from