multiboot1: never place modules in low memory.
While in theory permitted by the spec, modules rarely fit in low memory anyway and not every kernel is able to handle modules in low memory anyway. At least VMWare is known not to be able to handle modules at arbitrary locations.
This commit is contained in:
parent
5e74a3e6df
commit
c856be6bca
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ grub_cmd_module (grub_command_t cmd __attribute__ ((unused)),
|
|||
return grub_errno;
|
||||
|
||||
#ifndef GRUB_USE_MULTIBOOT2
|
||||
lowest_addr = 0x100000;
|
||||
if (grub_multiboot_quirks & GRUB_MULTIBOOT_QUIRK_MODULES_AFTER_KERNEL)
|
||||
lowest_addr = ALIGN_UP (highest_load + 1048576, 4096);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue