Re: [PATCH v2 1/2] mkimage: Simplify header size logic

2019-01-14 Thread Daniel Kiper
On Sun, Dec 23, 2018 at 03:52:06AM +0100, Alexander Graf wrote: > For EFI images, we always have the following layout: > > [PE header] > [padding] > [first section (which also is the entry point)] > > Currently there are 2 places where we define how big header+padding are: > in the .vaddr_off

[PATCH v2 1/2] mkimage: Simplify header size logic

2018-12-22 Thread Alexander Graf
For EFI images, we always have the following layout: [PE header] [padding] [first section (which also is the entry point)] Currently there are 2 places where we define how big header+padding are: in the .vaddr_offset member of our target image definition struct as well as in code in grub_in