]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/kboot: Initialize all the devices
authorWarner Losh <imp@FreeBSD.org>
Wed, 7 Dec 2022 17:50:35 +0000 (10:50 -0700)
committerWarner Losh <imp@FreeBSD.org>
Tue, 24 Jan 2023 21:49:43 +0000 (14:49 -0700)
commitc6faa738825c42beb0427965272ad9889f921fd5
tree4179c680a414ee022acedfbf71e30f5fe52e6c6e
parent093049763b37e160fe4c958cb86aeae28ca2179a
stand/kboot: Initialize all the devices

main() of the boot loader is expected to call devinit() early. We do
this at the same time we do it in the EFI loader (except we don't have a
buffer cache here, we don't need to initialize time and we don't have
special efi partition handles to enumerate). This is just after we probe
for the console.

Sponsored by: Netflix

(cherry picked from commit 299c64e316f026a9441775f21dfdb69e8125d58e)
stand/kboot/main.c