acpi_nhlt_get_gbl_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… acpi_nhlt_get_gbl_table(9) β€” it's giving Kernel API Manual energy ✨

okay so bestie, this one's from the Kernel API Manual, and no cap, it's a little one β€” but it's lowkey iconic, so let's get into it 🫢


✨ NAME ✨

acpi_nhlt_get_gbl_table β€” literally just hands you a pointer to the first NHLT table. That's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

acpi_status acpi_nhlt_get_gbl_table (void );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments, bestie. zero. none. she takes nothing, she gives everything πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

So here's the tea β˜•: if there's no NHLT in the system, acpi_gbl_nhlt will instead point to an empty table. Like, she's still pointing at something, it's just... empty. main character energy but make it a fallback πŸ’€βœ¨


πŸ‘‘ RETURN πŸ‘‘

An ACPI status code of the operation. That's the vibe check β€” it tells you how things went πŸ“


🌈 SEE ALSO 🌈

Kernel file ./drivers/acpi/nhlt.c and the whole friend group:


okay that's the whole page, ily, go read the source πŸ§šπŸ’œ

sign-off szn: this little legend lives in ./drivers/acpi, dated October 2026, and she's filed under acpi_nhlt_get_gbl_table(9) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from