Report trampoline information before going to video mode
This commit is contained in:
parent
b8576d05c9
commit
289634b1fa
1 changed files with 4 additions and 4 deletions
|
@ -422,6 +422,10 @@ grub_linux_boot (void)
|
||||||
grub_mmap_iterate (hook);
|
grub_mmap_iterate (hook);
|
||||||
params->mmap_size = e820_num;
|
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");
|
modevar = grub_env_get ("gfxpayload");
|
||||||
|
|
||||||
/* Now all graphical modes are acceptable.
|
/* Now all graphical modes are acceptable.
|
||||||
|
@ -439,10 +443,6 @@ grub_linux_boot (void)
|
||||||
else
|
else
|
||||||
err = grub_video_set_mode ("auto", GRUB_VIDEO_MODE_TYPE_PURE_TEXT, 0);
|
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)
|
if (!err)
|
||||||
err = grub_linux_setup_video (params);
|
err = grub_linux_setup_video (params);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue