* grub-core/loader/i386/linux.c (allocate_pages): Overwrite low memory

boot services if we have no other choice.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-04-17 13:00:06 +02:00
parent b9153381b8
commit b41be5623a
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,14 @@
2012-04-17 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/loader/i386/linux.c (allocate_pages): Overwrite low memory
boot services if we have no other choice.
2012-04-14 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mknetdir.in: Rename --override-directory to --directory and
document it.
* tests/util/grub-shell.in: Update to --directory.
2012-04-13 Vladimir Serbinenko <phcoder@gmail.com> 2012-04-13 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/zfs/zfs.c: Disable -Wstrict-aliasing. * grub-core/fs/zfs/zfs.c: Disable -Wstrict-aliasing.

View file

@ -259,6 +259,8 @@ allocate_pages (grub_size_t prot_size, grub_size_t *align,
} }
#ifdef GRUB_MACHINE_EFI #ifdef GRUB_MACHINE_EFI
grub_efi_mmap_iterate (hook, 1); grub_efi_mmap_iterate (hook, 1);
if (! real_mode_target)
grub_efi_mmap_iterate (hook, 0);
#else #else
grub_mmap_iterate (hook); grub_mmap_iterate (hook);
#endif #endif