Pass boot device information from bootloader to kernel.
authoraoyama <aoyama@openbsd.org>
Fri, 14 Oct 2022 20:53:18 +0000 (20:53 +0000)
committeraoyama <aoyama@openbsd.org>
Fri, 14 Oct 2022 20:53:18 +0000 (20:53 +0000)
commit2a8992e01ae72d27e14d2868808c3481beaac352
tree655323663d5aa4690524159aa174f12e3818ece0
parentcebafa6c67668b1ad4800596db4587c889374052
Pass boot device information from bootloader to kernel.

This brings the default root device is the same one of the kernel
specified by bootloader, rather than NVRAM setting, like other
architectures.

"looks good to me" miod@, tested on LUNA-88K2 and nono (LUNA-88K
capable emulator) by me.
sys/arch/luna88k/luna88k/autoconf.c
sys/arch/luna88k/luna88k/locore0.S
sys/arch/luna88k/luna88k/machdep.c
sys/arch/luna88k/stand/boot/boot.c
sys/arch/luna88k/stand/boot/devopen.c
sys/arch/luna88k/stand/boot/init_main.c
sys/arch/luna88k/stand/boot/locore.S
sys/arch/luna88k/stand/boot/samachdep.h