What happens during boot time in terms of scheduling?

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Aug 14 12:48:34 UTC 2020


On 14/08/2020 11:25, Richi Dubey wrote:

> Is _RTEMS_tasks_Initialize_user_task responsible for starting the Init 
> task?
Yes.
>
> Also how does the following code which is part 
> of rtems_initialize_executive:
>
>   /* Invoke the registered system initialization handlers */
>   RTEMS_LINKER_SET_FOREACH( _Sysinit, item ) {
>     ( *item->handler )();
>   }
>
> call _RTEMS_tasks_Initialize_user_task?

This is done via a linker set:

https://docs.rtems.org/branches/master/c-user/linker_sets.html

You can see the entries with this host command line tool:

https://docs.rtems.org/branches/master/user/tools/exeinfo.html



More information about the devel mailing list