| 17 | = Low-Level Start = |
| 18 | |
| 19 | == Status == |
| 20 | |
| 21 | |
| 22 | The low-level start is guided by the per-CPU control state |
| 23 | [http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group__PerCPU.html#gabad09777c1e3a7b7f3efcae54938d418 Per_CPU_Control::state]. See also ''_Per_CPU_Change_state()'' and |
| 24 | ''_Per_CPU_Wait_for_state()''. |
| 25 | |
| 26 | [wiki:File:rtems-smp-low-level-states.png File:rtems-smp-low-level-states.png] |
| 27 | == Future Directions == |
| 28 | |
| 29 | |
| 30 | Get rid of ''_CPU_Context_switch_to_first_task_smp()'' and use |
| 31 | ''_CPU_Context_restore()'' instead since this complicates things. This function is only specific on SPARC other architectures like ARM or PowerPC do not need it. The low-level initialization code of secondary processors can easily set up the processor into the right state. |