Re: [PATCH v3 1/4] mkimage: Simplify header size logic

2019-01-15 Thread Daniel Kiper
On Mon, Jan 14, 2019 at 04:27:15PM +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 v3 1/4] mkimage: Simplify header size logic

2019-01-14 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