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/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
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);