Star BootCurrent entry when booting.

Sponsored by: Netflix
This commit is contained in:
imp 2018-03-12 21:40:19 +00:00
parent 3c071bebf8
commit b1081b1670

View File

@ -474,7 +474,8 @@ efi_main(EFI_HANDLE Ximage, EFI_SYSTEM_TABLE *Xsystab)
efi_global_getenv("BootOrder", &boot_order, &sz);
printf(" BootOrder:");
for (i = 0; i < sz / sizeof(boot_order[0]); i++)
printf(" %04x", boot_order[i]);
printf(" %04x%s", boot_order[i],
boot_order[i] == boot_current ? "[*]" : "");
printf("\n");
#ifdef TEST_FAILURE