From 289634b1fa937dd5011d2513d05b9b065090b3c6 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Fri, 18 Dec 2009 11:15:46 +0100 Subject: [PATCH] Report trampoline information before going to video mode --- loader/i386/efi/linux.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/loader/i386/efi/linux.c b/loader/i386/efi/linux.c index 3b066d589..5870edb4b 100644 --- a/loader/i386/efi/linux.c +++ b/loader/i386/efi/linux.c @@ -422,6 +422,10 @@ grub_linux_boot (void) grub_mmap_iterate (hook); params->mmap_size = e820_num; + grub_printf ("Trampoline at %p. code32=%x, real_mode_mem=%p\n", + ((char *) prot_mode_mem + (prot_mode_pages << 12)), + (unsigned) params->code32_start, real_mode_mem); + modevar = grub_env_get ("gfxpayload"); /* Now all graphical modes are acceptable. @@ -439,10 +443,6 @@ grub_linux_boot (void) else err = grub_video_set_mode ("auto", GRUB_VIDEO_MODE_TYPE_PURE_TEXT, 0); - grub_printf ("Trampoline at %p. code32=%x, real_mode_mem=%p\n", - ((char *) prot_mode_mem + (prot_mode_pages << 12)), - (unsigned) params->code32_start, real_mode_mem); - if (!err) err = grub_linux_setup_video (params);