]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[spcr] Add support for the ACPI Serial Port Console Redirection table
authorMichael Brown <mcb30@ipxe.org>
Wed, 5 Nov 2025 14:12:57 +0000 (14:12 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 5 Nov 2025 14:12:57 +0000 (14:12 +0000)
commit595ff240304e98a725624c71a5735c2013562810
treeb5994cb7cd2bcef0ea293783b4f474bb4d9acb2c
parent8fd5e277275141866feea80870f8b94b23a0e82d
[spcr] Add support for the ACPI Serial Port Console Redirection table

The BIOS may provide an ACPI Serial Port Console Redirection (SPCR)
table to describe the serial port to be used for early boot messages.

Add support for parsing the SPCR and instantiating a 16550-based UART.
We do not currently attempt to support other types of UART, since iPXE
does not yet have drivers for other types.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/serial.c
src/core/spcr.c [new file with mode: 0644]
src/include/ipxe/errfile.h
src/include/ipxe/ns16550.h
src/include/ipxe/serial.h
src/include/ipxe/spcr.h [new file with mode: 0644]