ibm_get_table_from_acpi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

ibm_get_table_from_acpi β€” reads the APLS buffer from ACPI πŸ¦‹πŸ’…

This is the Kernel API Manual page for ibm_get_table_from_acpi(9), and it’s lowkey iconic.


✨ SYNOPSIS ✨

int ibm_get_table_from_acpi (char **bufp );

πŸŽ€ ARGUMENTS πŸŽ€

  • bufp β€” the address of the pointer where the table gets allocated πŸ’– so the address can get passed back to you.

🌸 DESCRIPTION 🌸

Okay so this method reads the APLS buffer in from ACPI, stores the β€œstripped” table into a single buffer that it allocates, and passes the address back in bufp. Literally one buffer, one address, no cap πŸ’…βœ¨.

If NULL is passed in as the buffer, this method only calculates the size of the table and returns that without filling in the buffer. It’s giving β€œjust tell me how big it is” energy 🫢.

Returns < 0 on error or the size of the table on success. Periodt πŸ˜­πŸ‘‘


🌈 SEE ALSO 🌈

Kernel file ./drivers/pci/hotplug/acpiphp_ibm.c plus these besties:


That’s the whole page, bestie 🫢 β€” from the Kernel API Manual source ./drivers/pci/hotplug, dated October 2026, titled ibm_get_table_from_acpi(9). Go off πŸ‘‘βœ¨πŸ’œ

πŸ“¦ where this page comes from