Implement early console functionality based on available SBI calls.
authorkettenis <kettenis@openbsd.org>
Sat, 1 May 2021 12:29:05 +0000 (12:29 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 1 May 2021 12:29:05 +0000 (12:29 +0000)
commit76154e282cbf409aaa938ddefcaf904b5ab5d226
treef524ddfcb555cf6dd6f3832b98e771b7e4114536
parent2eeed627ae03cf6b5605ce489ecf007d3ea6be6b
Implement early console functionality based on available SBI calls.

While these calls are part of the legacy extensions and deprecated, they
are really useful for debugging purposes.

ok jsg@
sys/arch/riscv64/conf/files.riscv64
sys/arch/riscv64/riscv64/machdep.c
sys/arch/riscv64/riscv64/sbi.c