2009-09-16 Vladimir Serbinenko <phcoder@gmail.com>
* mmap/mmap.c (grub_cmd_badram): Fix off-by-one error.
This commit is contained in:
parent
63f745e857
commit
be94a509bb
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2009-09-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* mmap/mmap.c (grub_cmd_badram): Fix off-by-one error.
|
||||||
|
|
||||||
2009-09-16 Robert Millan <rmh.grub@aybabtu.com>
|
2009-09-16 Robert Millan <rmh.grub@aybabtu.com>
|
||||||
|
|
||||||
* aclocal.m4 (AC_LANG_PROGRAM): New macro. Overrides stock
|
* aclocal.m4 (AC_LANG_PROGRAM): New macro. Overrides stock
|
||||||
|
|
|
@ -368,8 +368,8 @@ grub_cmd_badram (grub_command_t cmd __attribute__ ((unused)),
|
||||||
iterator++)
|
iterator++)
|
||||||
{
|
{
|
||||||
grub_dprintf ("badram", "%llx (size %llx) is a badram range\n",
|
grub_dprintf ("badram", "%llx (size %llx) is a badram range\n",
|
||||||
(long long) cur, (long long) (1ULL << tail) - 1);
|
(unsigned long long) cur, (1ULL << tail));
|
||||||
grub_mmap_register (cur, (1ULL << tail) - 1, GRUB_MACHINE_MEMORY_HOLE);
|
grub_mmap_register (cur, (1ULL << tail), GRUB_MACHINE_MEMORY_HOLE);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue