opnsense-src/sys/dev/uart
Colin Percival 07007f3147 uart: Don't check SPCR tables if !late_console
On x86 systems, the debug.late_console tunable makes it possible to set
up the console before we call pmap_bootstrap.  (The tunable is turned
on by default; setting late_console=0 results in consoles being probed
early.)

Unfortunately this is not compatible with using the ACPI SPCR table to
find the console, since consulting ACPI tables requires mapping memory
addresses.  As such, we skip the call to uart_cpu_acpi_spcr from
uart_cpu_x86 in the !late_console case.

Reviewed by:	imp
Sponsored by:	https://www.patreon.com/cperciva
Differential Revision:	https://reviews.freebsd.org/D35794
2022-07-13 23:17:44 -07:00
..
uart.h scc(4)/uart(4): Remove obsolete support for Siemens SAB 82532 2020-12-26 13:48:06 +01:00
uart_bus.h Remove unused uart_devclass. 2022-05-06 15:46:57 -07:00
uart_bus_acpi.c Remove unused uart_devclass. 2022-05-06 15:46:57 -07:00
uart_bus_fdt.c Remove unused uart_devclass. 2022-05-06 15:46:57 -07:00
uart_bus_isa.c Remove unused uart_devclass. 2022-05-06 15:46:57 -07:00
uart_bus_pci.c Remove unused uart_devclass. 2022-05-06 15:46:57 -07:00
uart_bus_puc.c Remove unused uart_devclass. 2022-05-06 15:46:57 -07:00
uart_bus_scc.c Remove unused uart_devclass. 2022-05-06 15:46:57 -07:00
uart_core.c Remove unused uart_devclass. 2022-05-06 15:46:57 -07:00
uart_cpu.h uart(4): Add a concept of "unique" serial devices 2022-03-31 16:02:24 -07:00
uart_cpu_acpi.c uart(4): Add a concept of "unique" serial devices 2022-03-31 16:02:24 -07:00
uart_cpu_acpi.h Use ACPI SPCR on x86 2019-05-23 19:55:53 +00:00
uart_cpu_arm64.c Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
uart_cpu_fdt.c Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
uart_cpu_fdt.h uart: allow UART_DEV_DBGPORT for fdt consoles 2020-12-02 21:01:52 +00:00
uart_cpu_powerpc.c uart: clean up empty lines in .c and .h files 2020-09-01 21:50:00 +00:00
uart_cpu_x86.c uart: Don't check SPCR tables if !late_console 2022-07-13 23:17:44 -07:00
uart_dbg.c
uart_dev_imx.c uart_dev_imx: Make ext_resources non-optional 2022-02-21 17:28:50 +01:00
uart_dev_imx.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
uart_dev_lowrisc.c uart_dev_lowrisc: Remove unused variables in stub functions. 2022-04-12 14:58:57 -07:00
uart_dev_lowrisc.h
uart_dev_msm.c
uart_dev_msm.h
uart_dev_mu.c uart_mu: Remove unused variables. 2022-04-08 17:25:15 -07:00
uart_dev_mvebu.c uart: clean up empty lines in .c and .h files 2020-09-01 21:50:00 +00:00
uart_dev_ns8250.c uart: Fix an out-of-bounds read in ns8250_bus_probe() 2021-07-13 17:49:39 -04:00
uart_dev_ns8250.h uart: clean up empty lines in .c and .h files 2020-09-01 21:50:00 +00:00
uart_dev_pl011.c uart: clean up empty lines in .c and .h files 2020-09-01 21:50:00 +00:00
uart_dev_quicc.c quicc_bus_setsig: eliminate write only variable bas 2022-04-04 22:30:20 -06:00
uart_dev_snps.c Remove unused uart_devclass. 2022-05-06 15:46:57 -07:00
uart_dev_ti8250.c Move Ti AM335x to dev/extres/clk framework. 2020-07-30 14:45:05 +00:00
uart_dev_z8530.c
uart_if.m
uart_ppstypes.h
uart_subr.c uart: Improve console specification parsing 2021-01-14 17:47:04 -07:00
uart_tty.c Some devices take undesired actions when RTS and DTR are 2019-06-12 18:07:04 +00:00