Re: [PATCH 1/4] efi: Fix firmware memory allocation to round to 4k pages, not 1k

2013-11-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 13.11.2013 03:26, Josh Triplett wrote: > 2013-11-13 Josh Triplett > > * grub-core/mmap/efi/mmap.c (grub_mmap_register): Round up/down to > 4k page boundaries as expected by firmware rather than 1k > boundaries. > (grub_mmap_malign_and_register): Likewise. Commit

[PATCH 1/4] efi: Fix firmware memory allocation to round to 4k pages, not 1k

2013-11-12 Thread Josh Triplett
EFI memory allocation operates in 4k pages, but the firmware memory allocator used 0x3ff in several places rather than 0xfff. --- ChangeLog entry: 2013-11-13 Josh Triplett * grub-core/mmap/efi/mmap.c (grub_mmap_register): Round up/down to 4k page boundaries as expected by fi