The way we boot OpenBSD, there is no need to play the hart lottery.
authorkettenis <kettenis@openbsd.org>
Tue, 29 Jun 2021 12:22:39 +0000 (12:22 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 29 Jun 2021 12:22:39 +0000 (12:22 +0000)
commitd6baf03b8683f6a66815fb00e817f77a46f8b598
tree9243d9cb718cdf01ff88ea9b200988544ffa4f5c
parent10478431668390c5c50729d40b7862f640658090
The way we boot OpenBSD, there is no need to play the hart lottery.
This is essentially a remnant of early RISC-V, which used the Berkely
Boot Loader.  Modern RISC-V firmware makes sure only one hart is enabled
and offsers SBI calls to start the other harts.
sys/arch/riscv64/riscv64/locore.S