acpi_parse_spcr(9)
π acpi_parse_spcr(9) β from the Kernel API Manual π
okay so bestie, this is the Kernel API Manual page for acpi_parse_spcr(9), and it's literally about parsing the ACPI SPCR table and adding the preferred console. iconic behavior, ngl π¦
π NAME π
acpi_parse_spcrβ parse the ACPI SPCR table and add the preferred console. periodt. β¨
β¨ SYNOPSIS β¨
int acpi_parse_spcr (bool enable_earlycon , bool enable_console );
π ARGUMENTS π
enable_earlyconβ sets up earlycon for the console specified by the table. yes bestie, that exact console πenable_consoleβ does the setup for the console specified by the table. π«Ά
π¦ DESCRIPTION π¦
okay so for the architectures with support for ACPI, CONFIG_ACPI_SPCR_TABLE may be defined to parse the ACPI SPCR table. that's the whole vibe check. π
as a result of the parsing, the preferred console is registered. and if enable_earlycon is true, earlycon is set up. if enable_console is true, the system console is also configured. slay. π₯
when CONFIG_ACPI_SPCR_TABLE is defined, this function should be called from arch initialization code as soon as the DT/ACPI decision is made. like, right then. don't wait. iykyk π
π SEE ALSO π
- Kernel file
./drivers/acpi/spcr.cβ go read it, bestie, it's giving source code realness π
π cute little sign-off: this page lives under./drivers/acpi, datedOctober 2026, and it's literallyacpi_parse_spcr(9). mwah, bye bestie! π π
π¦ 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