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:
procedure User_Task ( Argument : in RTEMS.Task_Argument_Ptr );
Application tasks requiring more information may view this single argument as an index into an array of parameter blocks.
Copyright © 1988-2008 OAR Corporation