ibm_get_table_from_acpi(9)
π 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:
ibm_slot_from_id(9)ibm_set_attention_status(9)ibm_get_attention_status(9)ibm_handle_events(9)ibm_read_apci_table(9)ibm_find_acpi_device(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms