Skip to content

Parse SPCR ACPI table as part of Limine protocol? #485

Open
@ChocolateLoverRaj

Description

@ChocolateLoverRaj

Chromebooks (and I would assume some other computers too), cannot log through COM1 but can log through a MMIO uart port specified in the SPCR ACPI Table. Parsing the ACPI tables is something that the kernel can definitely do from the information it gets from Limine, but what if Limine had a request to get SPCR info so the kernel could immediately log stuff? This would be useful when debugging errors on real hardware that occur before SPCR is properly parsed by the kernel.

I'm not sure what Limine's philosophy is, and if the idea is to only provide the minimal features to the kernel as possible, but this might be something to consider.

Update: I realized that Limine itself sends messages through the SPCR, so it might be efficient for Limine to just leave the SPCR mmio mapped and tell the kernel its details. nvm this seems to be through UEFI serial output

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions