loader.efi: print ImageBase so we know where we are

Output a bit of debugging aid.
This commit is contained in:
Toomas Soome 2019-12-06 09:50:29 +00:00
parent e214f286f0
commit fed13eb3e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355441

View File

@ -999,6 +999,7 @@ main(int argc, CHAR16 *argv[])
printf(" %S", argv[i]);
printf("\n");
printf(" Image base: 0x%lx\n", (unsigned long)boot_img->ImageBase);
printf(" EFI version: %d.%02d\n", ST->Hdr.Revision >> 16,
ST->Hdr.Revision & 0xffff);
printf(" EFI Firmware: %S (rev %d.%02d)\n", ST->FirmwareVendor,