diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-08-22 02:12:44 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-08-22 02:12:44 +0100 |
commit | 4815188dfc5fe6f5838a04d3a55e6a78d6dfb5fa (patch) | |
tree | 3c44395eac6f4500704b2713bbcf265c6fc9229f | |
parent | 0ffc3f6285cb39af55547243201783e418aff8b9 (diff) | |
download | ipxe-4815188dfc5fe6f5838a04d3a55e6a78d6dfb5fa.tar.gz |
[elf] Add execution entry point debug messages for elf/multiboot images
-rw-r--r-- | src/arch/i386/image/elfboot.c | 1 | ||||
-rw-r--r-- | src/arch/i386/image/multiboot.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/i386/image/elfboot.c b/src/arch/i386/image/elfboot.c index 60c54992..c8daf72b 100644 --- a/src/arch/i386/image/elfboot.c +++ b/src/arch/i386/image/elfboot.c @@ -49,6 +49,7 @@ static int elfboot_exec ( struct image *image ) { shutdown ( SHUTDOWN_BOOT ); /* Jump to OS with flat physical addressing */ + DBGC ( image, "ELF %p starting execution at %lx\n", image, entry ); __asm__ __volatile__ ( PHYS_CODE ( "call *%%edi\n\t" ) : : "D" ( entry ) : "eax", "ebx", "ecx", "edx", "esi", "ebp", diff --git a/src/arch/i386/image/multiboot.c b/src/arch/i386/image/multiboot.c index d7c2b8da..3aa52e43 100644 --- a/src/arch/i386/image/multiboot.c +++ b/src/arch/i386/image/multiboot.c @@ -280,6 +280,8 @@ static int multiboot_exec ( struct image *image ) { shutdown ( SHUTDOWN_BOOT ); /* Jump to OS with flat physical addressing */ + DBGC ( image, "MULTIBOOT %p starting execution at %lx\n", + image, entry ); __asm__ __volatile__ ( PHYS_CODE ( "call *%%edi\n\t" ) : : "a" ( MULTIBOOT_BOOTLOADER_MAGIC ), "b" ( virt_to_phys ( &mbinfo ) ), |