[PATCH 1/9] efi/libstub: Fix allocation size calculations

2016-11-12 Thread Matt Fleming
From: Roy Franz Adjust the size used in calculations to match the actual size of allocation that will be performed based on EFI size/alignment constraints. efi_high_alloc() and efi_low_alloc() use the passed size in bytes directly to find space in the memory map for the

[PATCH 1/9] efi/libstub: Fix allocation size calculations

2016-11-12 Thread Matt Fleming
From: Roy Franz Adjust the size used in calculations to match the actual size of allocation that will be performed based on EFI size/alignment constraints. efi_high_alloc() and efi_low_alloc() use the passed size in bytes directly to find space in the memory map for the allocation, rather than