Small doubt in RTEMS testsuite codes

Richi Dubey richidubey at gmail.com
Tue May 12 07:48:01 UTC 2020


Heyy Everyone,

When I am opening testsuites/sptests/sp01/init.c , I can see the
following function definition:

rtems_task Init(  rtems_task_argument argument )

and when I open testsuites/sptests/sp01/task1.c ( which is
compiled(linked) together with init.c in the makefile in build of
bsp), I can see the following function:

rtems_task Task_1_through_3(  rtems_task_argument index).

Can someone please tell me how do the sp01 testsuite run without a int
main? If Init() is the start point then where does it gets it argument
'argument' from?


Thanks,
Richi.


More information about the devel mailing list