Joel Sherrill joel.sherrill at
Tue Jun 10 17:22:41 UTC 2003

ktari jalel wrote:
> hi
> thinks
> i can't undersand how to fixe the task to the processor that i like
> because my tasks will run in 2 leon'processor
> so i need to give to every processor somes tasks that i choose

The mptests include some examples where the executable is the same on 
both CPUs (except for the setting of the node number) and the
startup decides which tasks to start based upon the CPU number.

If your hardware solution gives each CPU a register to read to determine
which CPU it is, then the BSP can fill in the node number.  I think the
unix/posix BSP uses this to grab it from an environment variable.

> regards
> ----------------------------------------------------------------------
> Do You Yahoo!? -- Une adresse gratuite et en français !
> Testez le nouveau Yahoo! Mail

Joel Sherrill, Ph.D.             Director of Research & Development
joel at                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

More information about the users mailing list