* grub-core/loader/mips/linux.c (grub_cmd_initrd): Use correct limits
rather than trying to put initrd way too high. Reported by: Ryan Lortie <desrt@desrt.ca>
This commit is contained in:
parent
335bda1e57
commit
b01abe3e16
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-04-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/loader/mips/linux.c (grub_cmd_initrd): Use correct limits
|
||||
rather than trying to put initrd way too high.
|
||||
Reported by: Ryan Lortie <desrt@desrt.ca>
|
||||
|
||||
2011-04-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/boot/mips/yeeloong/fwstart.S (no_cs5536): Put back
|
||||
|
|
|
@ -379,8 +379,9 @@ grub_cmd_initrd (grub_command_t cmd __attribute__ ((unused)),
|
|||
grub_relocator_chunk_t ch;
|
||||
|
||||
err = grub_relocator_alloc_chunk_align (relocator, &ch,
|
||||
target_addr + linux_size + 0x10000,
|
||||
(0xffffffff - size) + 1,
|
||||
(target_addr & 0x1fffffff)
|
||||
+ linux_size + 0x10000,
|
||||
(0x10000000 - size),
|
||||
size, 0x10000,
|
||||
GRUB_RELOCATOR_PREFERENCE_NONE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue