| 130 | === unsigned int _get_current_task_id( void ) === |
| 131 | This function returns the local index of the currently running task from the processor scheduler. |
| 132 | |
| 133 | === unsigned int _get_task_slot( unsigned int gpid, unsigned int ltid, unsigned int slot ) |
| 134 | This function returns the content of a context ''slot'' for a task identified by the the ''gpid'' argument |
| 135 | (global processor index), and the ''ltid'' argument (local task index on the processor). |
| 136 | |
| 137 | === void _set_task_slot( unsigned int gpid, unsigned int ltid, unsigned int slot, unsigned int value ) |
| 138 | This function writes ''value'' in the the context ''slot'' of the task identified by the the ''gpid'' argument |
| 139 | (global processor index), and the ''ltid'' argument (local task index on the processor). |
| 140 | |
| 141 | === unsigned int _get_context_slot( unsigned int slot ) |
| 142 | This function returns the content of a context ''slot'' for the calling task. |
| 143 | |
| 144 | === void _set_task_slot( unsigned int slot, unsigned int value ) |
| 145 | This function writes ''value'' in the the context ''slot'' of the running task. |
| 146 | |