On Fri, 2008-04-18 at 13:32 +0200, Robert Millan wrote: > On Thu, Apr 17, 2008 at 10:21:14PM -0400, Pavel Roskin wrote: > > Quoting Robert Millan <[EMAIL PROTECTED]>: > > > > >Now that I think of it, is there any reason for doing all the cmain() > > >cruft before grub_main() ? Getting to grub_main() only requires a working > > >stack, which we have, and grub_main() inmediately returns control back to > > >architecture-specific code in grub_machine_init(). > > > > > >So why not move from: > > > > > > _start -> cmain -> grub_main > > > > > >to: > > > > > > _start -> grub_main -> grub_machine_init -> cmain > > > > > >? > > > > I think it would be great. We should try to make the code for > > different architectures more uniform to simplify maintenance. > > Here. Unfortunately I can't test it as I have no ieee1275 at hand currently. > > Anyone?
I have an OLPC XO machine borrowed now. I will test that this evening. -- Lubomir Kundrak (Red Hat Security Response Team) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel