Add some additional debug to loader.efi

Add some verbose debugging information to the loader's new
choices. I'll remove these / put them behind a DEBUG define at a later
time. This is to give additional information if there's any dangling
edge cases not contemplated by the code. r336789 had most of this
change, but had the wrong commit message. This refines it slightly.
This commit is contained in:
Warner Losh 2018-07-27 22:29:15 +00:00
parent 8c18b82b3d
commit fb4c478715

View File

@ -832,7 +832,6 @@ main(int argc, CHAR16 *argv[])
}
}
}
printf("howto %#x console set to %s\n", howto, getenv("console"));
/*
* howto is set now how we want to export the flags to the kernel, so
@ -869,6 +868,8 @@ main(int argc, CHAR16 *argv[])
ST->Hdr.Revision & 0xffff);
printf(" EFI Firmware: %S (rev %d.%02d)\n", ST->FirmwareVendor,
ST->FirmwareRevision >> 16, ST->FirmwareRevision & 0xffff);
printf(" Console: %s (%#x)\n", getenv("console"), howto);
/* Determine the devpath of our image so we can prefer it. */