Sync changes from arm64 version.
authorkettenis <kettenis@openbsd.org>
Mon, 3 May 2021 21:25:48 +0000 (21:25 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 3 May 2021 21:25:48 +0000 (21:25 +0000)
commitf33bf8ce884afbafc8b052910722019b4e526f7e
tree4ebcee77de563a60efb983679d8f7b7c1fa16fa2
parentca167c037ff26640e96d79690206a703169dfebd
Sync changes from arm64 version.

ok patrick@
sys/arch/riscv64/dev/mainbus.c