]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[serial] Allow platform to specify mechanism for identifying console
authorMichael Brown <mcb30@ipxe.org>
Mon, 23 Jun 2025 15:19:07 +0000 (16:19 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 23 Jun 2025 15:53:13 +0000 (16:53 +0100)
commit2ce1b185b239b220cc6c1847f7014df83b1a8862
treeb7174a1c538d8ecfd810ec31e3fe10d0490f6c56
parent5d9f20bbd69408ad349e7ead0e72979f90c84e2d
[serial] Allow platform to specify mechanism for identifying console

Allow the platform configuration to provide a mechanism for
identifying the serial console UART.  Provide two globally available
mechanisms: "null" (i.e. no serial console), and "fixed" (i.e. use
whatever is specified by COMCONSOLE in config/serial.h).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/config/defaults/efi.h
src/config/defaults/linux.h
src/config/defaults/pcbios.h
src/config/defaults/sbi.h
src/config/serial.h
src/core/serial.c
src/include/ipxe/serial.h