freebsd-dev/sys/riscv
Mitchell Horne b0d45b023e riscv: Call identify_cpu() earlier for CPU 0
It is advantageous to have knowledge of ISA features as early as
possible. For example, the presence of newer virtual memory extensions
may be useful to pmap_bootstrap().

To achieve this, split out the printf() parts of identify_cpu() into a
separate function, printcpuinfo(). This latter function will be called
later in boot after the console has been initialized.

Reviewed by:	markj
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D39810
2023-05-23 10:00:25 -03:00
..
allwinner aw_wdog: support Allwinner D1 watchdog 2022-04-12 19:51:17 -03:00
conf riscv: Add pass(4) to GENERIC kernel 2023-05-03 05:14:57 +01:00
include riscv: Call identify_cpu() earlier for CPU 0 2023-05-23 10:00:25 -03:00
riscv riscv: Call identify_cpu() earlier for CPU 0 2023-05-23 10:00:25 -03:00
sifive spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00