phcoder wrote:
> Actually if it was up to me I would have removed setjmp altogether. IMHO
> it's a bad programming technique. It's used only to launch rescue mode.
> I would just call the rescue mode interpreter by function. Perhaps Bean
> who is working on normal.mod splitting has even better idea.
> Also IMO normal.mod should have no arch-dependent parts and setjmp.S is
> an unfortunate example. If some platforms need a special service then it
> could be provided by drivers and/or commands. I see no reason why
> additional cpu or platform-dependent would appear in normal.mod setjmp
> could even be put in a separate module but it's quite a waste because
> ELF overhead is much bigger then the module itself. Another possibility
> is ot compile it like

Or.. one could move it to kernel. But that is not as such a kernel
component. More like a system library functionality.

Actually setjmp might be used in bitmap loaders.



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

Reply via email to