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
This commit is contained in:
parent
288626083b
commit
299c64e316
@ -105,6 +105,9 @@ main(int argc, const char **argv)
|
||||
*/
|
||||
cons_probe();
|
||||
|
||||
/* Initialize all the devices */
|
||||
devinit();
|
||||
|
||||
/* Choose bootdev if provided */
|
||||
if (argc > 1)
|
||||
bootdev = argv[1];
|
||||
|
Loading…
Reference in New Issue
Block a user