mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 07:39:22 +00:00
* grub-core/loader/i386/linux.c (grub_cmd_initrd): Don't add the
initrd size to addr_min, since the initrd will be allocated after this address.
This commit is contained in:
1 parent
f41e08dbcd
commit
6a0debbd91
2 files changed
+7
-2
No files matched your search
@@ -1,3 +1,9 @@
|
||||
2013-01-20 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* grub-core/loader/i386/linux.c (grub_cmd_initrd): Don't add the
|
||||
initrd size to addr_min, since the initrd will be allocated after
|
||||
this address.
|
||||
|
||||
2013-01-20 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||
|
||||
* conf/Makefile.common: Fix autogen rules to pass definition
|
||||
|
||||
@@ -1115,8 +1115,7 @@ grub_cmd_initrd (grub_command_t cmd __attribute__ ((unused)),
|
||||
worse than that of Linux 2.3.xx, so avoid the last 64kb. */
|
||||
addr_max -= 0x10000;
|
||||
|
||||
addr_min = (grub_addr_t) prot_mode_target + prot_init_space
|
||||
+ page_align (size);
|
||||
addr_min = (grub_addr_t) prot_mode_target + prot_init_space;
|
||||
|
||||
/* Put the initrd as high as possible, 4KiB aligned. */
|
||||
addr = (addr_max - size) & ~0xFFF;
|
||||
|
||||
Reference in new issue
Block a user