Hi Javier!

On 4/26/21 7:18 PM, Daniel Kiper wrote:
> (...)
> I think this should be:
>   layout->kernel_size = ALIGN_UP (layout->kernel_size, 
> GRUB_PE32_FILE_ALIGNMENT);
> 
> Here we care about alignment in the PE file not in the memory. So,
> I think we have to use GRUB_PE32_FILE_ALIGNMENT instead. Though
> the result is the same...

Let me know once you have a new version of the patch ready, I'll test it as 
quickly
as possible.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to