grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch] Move normal.mod to conf/common.rmk


From: Vesa Jääskeläinen
Subject: Re: [Patch] Move normal.mod to conf/common.rmk
Date: Mon, 23 Mar 2009 20:40:57 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]