FreeRTOS port on GAP8/RISC-V
|
Data Structures | |
struct | pi_task_delayed_s |
Functions | |
int | __os_native_kickoff (void *arg) |
static void | __os_native_exit (int code) |
static int | __os_native_api_disable_irq (void) |
static void | __os_native_api_restore_irq (int irq_enable) |
static void | __os_native_api_sem_take (void *sem_object) |
static void | __os_native_api_sem_give (void *sem_object) |
static int | __os_native_api_sem_init (pi_sem_t *sem) |
static int | __os_native_api_sem_deinit (pi_sem_t *sem) |
static void | __os_native_api_mutex_lock (void *mutex_object) |
static void | __os_native_api_mutex_release (void *mutex_object) |
static int | __os_native_api_mutex_init (pmsis_mutex_t *mutex) |
static int | __os_native_api_mutex_deinit (pmsis_mutex_t *mutex) |
static void | __os_native_yield (void) |
static void * | __os_native_api_create_task (pi_task_entry_t entry, void *arg, const char *name, uint32_t stack_size, int priority) |
static void * | __os_native_api_create_user_task (pi_task_entry_t entry, void *arg, const char *name, uint32_t stack_size, int priority) |
static void | __os_native_task_suspend (__os_native_task_t *task) |
|
inlinestatic |
References pdFALSE, and pdPASS.
Referenced by pi_task_create(), and pmsis_task_create().
|
inlinestatic |
References pi_user_task_arg_t::arg, pi_user_task_arg_t::entry, pdFALSE, pdPASS, pi_fc_l1_malloc(), and system_usermode_entry().
Referenced by pi_user_task_create().
|
inlinestatic |
Referenced by disable_irq().
|
inlinestatic |
References vSemaphoreDelete.
Referenced by pmsis_mutex_deinit().
|
inlinestatic |
References __os_native_api_mutex_lock(), __os_native_api_mutex_release(), and printf.
Referenced by pmsis_mutex_init().
|
inlinestatic |
References portMAX_DELAY, and xSemaphoreTake.
Referenced by __os_native_api_mutex_init().
|
inlinestatic |
References pdFALSE, and xSemaphoreGiveFromISR.
Referenced by __os_native_api_mutex_init().
|
inlinestatic |
Referenced by restore_irq().
|
inlinestatic |
Referenced by pi_sem_deinit().
|
inlinestatic |
References pdFALSE, portYIELD_FROM_ISR, and xSemaphoreGiveFromISR.
Referenced by __os_native_api_sem_init().
|
inlinestatic |
References __os_native_api_sem_give(), __os_native_api_sem_take(), and printf.
Referenced by pi_sem_init().
|
inlinestatic |
References MCAUSE_IRQ_Msk, pdFALSE, pi_is_fc(), portMAX_DELAY, xSemaphoreTake, and xSemaphoreTakeFromISR.
Referenced by __os_native_api_sem_init().
|
inlinestatic |
References exit().
Referenced by pmsis_exit().
int __os_native_kickoff | ( | void * | arg | ) |
Kickoff the first "main" os task and scheduler
References configSTACK_DEPTH_TYPE, g_freertos_scheduler_started, g_printf_mutex, hal_compiler_barrier(), NVIC_EnableIRQ, pdPASS, PENDSV_IRQN, pmsis_event_kernel_init(), pmsis_event_kernel_main(), pmsis_event_set_default_scheduler(), pmsis_exit(), printf, tskIDLE_PRIORITY, and vTaskStartScheduler().
Referenced by pmsis_kickoff().
|
inlinestatic |
References vTaskDelete(), and vTaskSuspend().
Referenced by pmsis_task_suspend().
|
inlinestatic |
References taskYIELD.
Referenced by pi_cluster_send_task_to_cl_async(), and pi_yield().