Changeset View
Changeset View
Standalone View
Standalone View
stand/efi/loader/main.c
Show First 20 Lines • Show All 985 Lines • ▼ Show 20 Lines | #endif | ||||
* march through the device switch probing for things. | * march through the device switch probing for things. | ||||
*/ | */ | ||||
i = efipart_inithandles(); | i = efipart_inithandles(); | ||||
if (i != 0 && i != ENOENT) { | if (i != 0 && i != ENOENT) { | ||||
printf("efipart_inithandles failed with ERRNO %d, expect " | printf("efipart_inithandles failed with ERRNO %d, expect " | ||||
"failures\n", i); | "failures\n", i); | ||||
} | } | ||||
for (i = 0; devsw[i] != NULL; i++) | devinit(); | ||||
if (devsw[i]->dv_init != NULL) | |||||
(devsw[i]->dv_init)(); | |||||
/* | /* | ||||
* Detect console settings two different ways: one via the command | * Detect console settings two different ways: one via the command | ||||
* args (eg -h) or via the UEFI ConOut variable. | * args (eg -h) or via the UEFI ConOut variable. | ||||
*/ | */ | ||||
has_kbd = has_keyboard(); | has_kbd = has_keyboard(); | ||||
howto = parse_args(argc, argv); | howto = parse_args(argc, argv); | ||||
if (!has_kbd && (howto & RB_PROBE)) | if (!has_kbd && (howto & RB_PROBE)) | ||||
▲ Show 20 Lines • Show All 727 Lines • Show Last 20 Lines |