Author: tsoome
Date: Fri Dec  6 09:50:29 2019
New Revision: 355441
URL: https://svnweb.freebsd.org/changeset/base/355441

Log:
  loader.efi: print ImageBase so we know where we are
  
  Output a bit of debugging aid.

Modified:
  head/stand/efi/loader/main.c

Modified: head/stand/efi/loader/main.c
==============================================================================
--- head/stand/efi/loader/main.c        Fri Dec  6 09:50:01 2019        
(r355440)
+++ head/stand/efi/loader/main.c        Fri Dec  6 09:50:29 2019        
(r355441)
@@ -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,
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to