From: Michael Brown Date: Fri, 22 Aug 2008 01:12:44 +0000 (+0100) Subject: [elf] Add execution entry point debug messages for elf/multiboot images X-Git-Tag: v0.9.4~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4815188dfc5fe6f5838a04d3a55e6a78d6dfb5fa;p=thirdparty%2Fipxe.git [elf] Add execution entry point debug messages for elf/multiboot images --- diff --git a/src/arch/i386/image/elfboot.c b/src/arch/i386/image/elfboot.c index 60c54992a..c8daf72bb 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 d7c2b8dab..3aa52e431 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 ) ),