Run SBI calls to to get mvendorid/marchid/mimplid on the actual CPU we're
authorkettenis <kettenis@openbsd.org>
Fri, 2 Jul 2021 08:44:37 +0000 (08:44 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 2 Jul 2021 08:44:37 +0000 (08:44 +0000)
commit843effc0a600fc43e5a702bdd4d9b9a56b06646d
tree2741fb702c6b55bc5df5417729b879b4053d22c7
parente873b0b42af15e5c9e34796ced2b6c85b275d1ee
Run SBI calls to to get mvendorid/marchid/mimplid on the actual CPU we're
probing and decode mvendorid and marchid.

ok mlarkin@, deraadt@, jsg@
sys/arch/riscv64/include/sbi.h
sys/arch/riscv64/riscv64/cpu.c
sys/arch/riscv64/riscv64/sbi.c