All RTEMS tasks are invoked with a single argument which is specified when they are started or restarted. The argument is commonly used to communicate startup information to the task. The simplest manner in which to define a task which accesses it argument is:
rtems_task user_task( rtems_task_argument argument );
Application tasks requiring more information may view this single argument as an index into an array of parameter blocks.
Copyright © 1988-2008 OAR Corporation