bootloader & head.S weirdness & restructuring

Dan Malek dan at netx4.com
Fri Nov 26 06:49:35 EST 1999


Geert Uytterhoeven wrote:


> Alternatively, you can base your decisions on specific features that are shared
> among different machine types, and say
> 
>     if (has_feature_a) {
>         ...
>     }
> 
> instead of
> 
>     #if defined(CONFIG_x) || defined(CONFIG_y) || defined(CONFIG_z)
>     ...
>     #endif


Yes, but one of the things I am trying to do is reduce the
code size and instructions to execute.  On a 500 MHz G4 with
a Gigabyte of memory, a few extra instructions is no big deal.
On a 33 MHz 8xx with 8 Mbytes of memory, you watch all of this
pretty closely :-).


	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list