| 53 | | |
| 54 | | |
| 55 | | |
| 56 | | |
| 57 | | |
| 58 | | === unsigned int _get_current_task_id( void ) === |
| 59 | | This function returns the local task index for the task currently running on the processor. |
| 60 | | |
| 61 | | === unsigned int _get_task_slot( unsigned int gpid, unsigned int ltid, unsigned int slot ) |
| 62 | | This function returns the content of a context ''slot'' for a task identified by the the ''gpid'' argument |
| 63 | | (global processor index), and the ''ltid'' argument (local task index on the processor). |
| 64 | | |
| 65 | | === void _set_task_slot( unsigned int gpid, unsigned int ltid, unsigned int slot, unsigned int value ) |
| 66 | | This function writes ''value'' in the the context ''slot'' of the task identified by the the ''gpid'' argument |
| 67 | | (global processor index), and the ''ltid'' argument (local task index on the processor). |
| 68 | | |
| 69 | | === unsigned int _get_context_slot( unsigned int slot ) |
| 70 | | This function returns the content of a context ''slot'' for the calling task. |
| 71 | | |
| 72 | | === void _set_task_slot( unsigned int slot, unsigned int value ) |
| 73 | | This function writes ''value'' in the the context ''slot'' of the running task. |