On Wed, Jan 9, 2013 at 2:05 PM, H. Peter Anvin <h...@zytor.com> wrote:
> On 01/09/2013 02:02 PM, Jordan Justen wrote:
>> In which case might this be garbage? A PE/COFF based image?
>>
>
> For all kernels.  For non-EFI-stub kernels there will be a dummy boot
> sector there; there is also garbage *after* the initialized header.
>
>> For non-PE/COFF kernels, will be potentially be zero'ing out valuable
>> config information built into the image?
>>
>
> No.

How does this sound?

Add LoadLinuxInitializeKernelParams
 * Zeros out params
 * For non-UEFI call SetupGraphics

Remove call of SetupGraphics from SetupLinuxBootParams.

Move from SetupLinuxBootParams into LoadLinux for non-UEFI path:
 * call of SetupLinuxMemmap
 * init of Bp->hdr.code32_start

Remove SetupLinuxBootParams, since it is now empty.

-Jordan

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to