Re: [PATCH] loader/i386/linux: Calculate the setup_header length

2019-04-02 Thread Daniel Kiper
On Mon, Apr 01, 2019 at 10:17:46AM -0400, Ross Philipson wrote: > On 04/01/2019 07:10 AM, Daniel Kiper wrote: > > On Fri, Mar 29, 2019 at 11:55:12AM -0400, Ross Philipson wrote: > >> On 03/29/2019 11:09 AM, Daniel Kiper wrote: > >>> From: Andrew Jeddeloh > >>> > >>> Previously the setup_header len

Re: [PATCH] loader/i386/linux: Calculate the setup_header length

2019-04-01 Thread Ross Philipson
On 04/01/2019 07:10 AM, Daniel Kiper wrote: > On Fri, Mar 29, 2019 at 11:55:12AM -0400, Ross Philipson wrote: >> On 03/29/2019 11:09 AM, Daniel Kiper wrote: >>> From: Andrew Jeddeloh >>> >>> Previously the setup_header length was just assumed to be the size of the >>> linux_kernel_params struct. T

Re: [PATCH] loader/i386/linux: Calculate the setup_header length

2019-04-01 Thread Daniel Kiper
On Fri, Mar 29, 2019 at 11:55:12AM -0400, Ross Philipson wrote: > On 03/29/2019 11:09 AM, Daniel Kiper wrote: > > From: Andrew Jeddeloh > > > > Previously the setup_header length was just assumed to be the size of the > > linux_kernel_params struct. The linux x86 32-bit boot protocol says that > >

Re: [PATCH] loader/i386/linux: Calculate the setup_header length

2019-03-29 Thread Ross Philipson
On 03/29/2019 11:09 AM, Daniel Kiper wrote: > From: Andrew Jeddeloh > > Previously the setup_header length was just assumed to be the size of the > linux_kernel_params struct. The linux x86 32-bit boot protocol says that > the size of the linux_i386_kernel_header is 0x202 + the byte value at 0x20