On Wed, Oct 10, 2007 at 05:01:44PM +0200, Marcin Kurek wrote:
> Hell[o]
> 
> > When GRUB starts initial_context is in an unknown state.  This can lead to
> > GRUB detecting bogus variables from it.  Attached patch zeroes that struct
> > during initialisation to avoid that.
> 
> This change broken command line argument handling for ieee1275.
> Arguments are read by grub_machine_init() in this case and zeroing is
> done just after that.
> 
> I guess it should be placed before grub_machine_init() to avoid this problem.

Uhm.. Marco pointed out that it's in the ELF standard that memory is zeroed
before load.  So there isn't really a problem, and my issue was just found in
an inconsistent situation when playing with LB self-boot.

Let's kill this thread.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)


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

Reply via email to