[uClinux-dev] driver initialization sequence control

Markus Pietrek maillist at fsforth.de
Wed Mar 12 03:40:10 EST 2003


Hi Thomas,

> is there any way to control the initialization of
> the drivers... ie... in each driver, the init is defined
> and stored in the table, but i would like to find out
> anyway to control the sequence of the initialization
> calls???

If I remember correctly a jumptable of the _init functions is placed in an ELF 
section. Perhaps by modifying this table afterwards or when linking you are 
able to preset an order?

Bye,

-- 
Markus Pietrek
FS Forth-Systeme GmbH
Phone: +49 (7667) 908 145,  FAX +49 (7667) 908 221





More information about the uClinux-dev mailing list