2007-10-05 Robert Millan <rmh@aybabtu.com>

* loader/i386/pc/linux.c (grub_rescue_cmd_linux): Specify available
	and required memory sizes in "too small lower memory" error.
This commit is contained in:
robertmh 2007-10-05 11:02:40 +00:00
parent afcd2ef88b
commit adbc4c9d7e
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-10-05 Robert Millan <rmh@aybabtu.com>
* loader/i386/pc/linux.c (grub_rescue_cmd_linux): Specify available
and required memory sizes in "too small lower memory" error.
2007-10-03 Robert Millan <rmh@aybabtu.com> 2007-10-03 Robert Millan <rmh@aybabtu.com>
* include/grub/i386/io.h: New file. * include/grub/i386/io.h: New file.

View file

@ -169,7 +169,10 @@ grub_rescue_cmd_linux (int argc, char *argv[])
if (grub_linux_real_addr + GRUB_LINUX_SETUP_MOVE_SIZE if (grub_linux_real_addr + GRUB_LINUX_SETUP_MOVE_SIZE
> (char *) grub_lower_mem) > (char *) grub_lower_mem)
{ {
grub_error (GRUB_ERR_OUT_OF_RANGE, "too small lower memory"); grub_error (GRUB_ERR_OUT_OF_RANGE,
"too small lower memory (0x%x > 0x%x)",
grub_linux_real_addr + GRUB_LINUX_SETUP_MOVE_SIZE,
(char *) grub_lower_mem);
goto fail; goto fail;
} }