]> git.proxmox.com Git - grub2.git/commit
Fix handling of EFI with big memory maps.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 30 May 2012 12:56:53 +0000 (14:56 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 30 May 2012 12:56:53 +0000 (14:56 +0200)
commita4e5ca80d97077cf302223a7c6aa38a2a9bedf8a
tree53577723886e05b768875e34ab3803f4e8b74652
parentddb7355862fd792c6b85e6b92ec4a63b9c1690f6
Fix handling of EFI with big memory maps.

* grub-core/loader/i386/linux.c (GRUB_LINUX_CL_OFFSET): Removed.
(real_mode_mem): Likewise.
(real_mode_target): Likewise.
(real_mode_pages): Likewise.
(prot_mode_pages): Likewise.
(linux_params): New var.
(linux_cmdline): Likewise.
(free_pages): Don't set real mode variables.
(allocate_pages): Don't allocate real mode memory.
(grub_e820_add_region): Remove the limit.
(grub_linux_boot): Allocate and copy real mode memory.
(grub_linux_unload): Free linux_cmdline.
(grub_cmd_linux): Use temporary storage for parameters.
(grub_cmd_initrd): Likewise.
* include/grub/i386/linux.h (GRUB_E820_MAX_ENTRY): Removed.
(linux_kernel_params): Make it 1K big.
ChangeLog
grub-core/loader/i386/linux.c
include/grub/i386/linux.h