Let luna88k's bootloader pass RB_GOODRANDOM to the kernel.
authoraoyama <aoyama@openbsd.org>
Sat, 31 Dec 2022 02:42:01 +0000 (02:42 +0000)
committeraoyama <aoyama@openbsd.org>
Sat, 31 Dec 2022 02:42:01 +0000 (02:42 +0000)
commit4fa180975c78aa94e82b11320ca5a7f621bfa272
tree2fc6461a48054a4d590d02b1aed49ff176f9ffdc
parent2329db47139bbef9cf000d7fa6bf89e1fbdc1c39
Let luna88k's bootloader pass RB_GOODRANDOM to the kernel.

Current bootloader can pass boothowto information to the kernel.  It
also has the capability to load random seed data from /etc/random.seed
already.  So set RB_GOODRANDOM at the bootloader when loadrandom() has
been finished successfully.

Now the kernel says "random: good seed from bootblocks".

Tested by LUNA-88K2 and nono emulator, "Absolutely!" ok miod@
sys/arch/luna88k/stand/boot/boot.c