FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pmsis_backend_native_task_api.h File Reference

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)
 

Function Documentation

static void* __os_native_api_create_task ( pi_task_entry_t  entry,
void *  arg,
const char *  name,
uint32_t  stack_size,
int  priority 
)
inlinestatic

References pdFALSE, and pdPASS.

Referenced by pi_task_create(), and pmsis_task_create().

static void* __os_native_api_create_user_task ( pi_task_entry_t  entry,
void *  arg,
const char *  name,
uint32_t  stack_size,
int  priority 
)
inlinestatic
static int __os_native_api_disable_irq ( void  )
inlinestatic

Referenced by disable_irq().

static int __os_native_api_mutex_deinit ( pmsis_mutex_t *  mutex)
inlinestatic

References vSemaphoreDelete.

Referenced by pmsis_mutex_deinit().

static int __os_native_api_mutex_init ( pmsis_mutex_t *  mutex)
inlinestatic
static void __os_native_api_mutex_lock ( void *  mutex_object)
inlinestatic
static void __os_native_api_mutex_release ( void *  mutex_object)
inlinestatic
static void __os_native_api_restore_irq ( int  irq_enable)
inlinestatic

Referenced by restore_irq().

static int __os_native_api_sem_deinit ( pi_sem_t *  sem)
inlinestatic

Referenced by pi_sem_deinit().

static void __os_native_api_sem_give ( void *  sem_object)
inlinestatic
static int __os_native_api_sem_init ( pi_sem_t *  sem)
inlinestatic
static void __os_native_api_sem_take ( void *  sem_object)
inlinestatic
static void __os_native_exit ( int  code)
inlinestatic

References exit().

Referenced by pmsis_exit().

static void __os_native_task_suspend ( __os_native_task_t task)
inlinestatic

References vTaskDelete(), and vTaskSuspend().

Referenced by pmsis_task_suspend().

static void __os_native_yield ( void  )
inlinestatic

References taskYIELD.

Referenced by pi_cluster_send_task_to_cl_async(), and pi_yield().