Functions | |
| int | mars_task_main (const struct mars_task_args *args) |
| [MPU] Entry point for task. | |
| void | mars_task_exit (int32_t exit_code) |
| [MPU] Exits and terminates task. | |
| int | mars_task_yield (void) |
| [MPU] Yields caller task so other workloads can run. (Task Switch Call) | |
| int | mars_task_schedule (const struct mars_task_id *id, const struct mars_task_args *args, uint8_t priority) |
| [host/MPU] Schedules a MARS task for execution. | |
| int | mars_task_unschedule (const struct mars_task_id *id, int32_t exit_code) |
| [host/MPU] Unschedules a MARS task from being executed. | |
| int | mars_task_wait (const struct mars_task_id *id, int32_t *exit_code) |
| [host/MPU] Waits for task completion. (Task Switch Call) | |
| int | mars_task_try_wait (const struct mars_task_id *id, int32_t *exit_code) |
| [host/MPU] Waits for a task completion. | |
| int | mars_task_call_host (uint64_t callback_ea, const struct mars_callback_args *in, struct mars_callback_args *out) |
| [MPU] Calls the specified host callback. (Task Switch Call) | |
| uint32_t | mars_task_get_ticks (void) |
| [host/MPU] Gets tick counter value. | |
| uint16_t | mars_task_get_kernel_id (void) |
| [MPU] Gets id of kernel that the task is being executed on. | |
| struct mars_task_id * | mars_task_get_id (void) |
| [MPU] Gets id of caller task. | |
| const char * | mars_task_get_name (void) |
| [MPU] Gets name of caller task. | |
1.5.7.1