FreeRTOS port on GAP8/RISC-V
|
Functions | |
void * | pi_fc_l1_malloc (int size) |
void | pi_fc_l1_free (void *_chunk, int size) |
void * | pi_fc_l1_malloc_align (int size, int align) |
void | pi_fc_l1_malloc_init (void *heapstart, uint32_t heap_size) |
void | pi_fc_l1_malloc_struct_set (malloc_t malloc_struct) |
malloc_t | pi_fc_l1_malloc_struct_get (void) |
void | pi_fc_l1_malloc_dump (void) |
Variables | |
malloc_t | __fc_l1_malloc |
pmsis_spinlock_t | __fc_l1_malloc_spinlock |
void pi_fc_l1_free | ( | void * | _chunk, |
int | size | ||
) |
References __fc_l1_malloc, disable_irq(), and restore_irq().
Referenced by __pi_aes_close(), __pi_asrc_close(), __pi_hyper_close(), __pi_hyper_open(), __pi_i2s_close(), __pi_i2s_open(), __pi_rtc_close(), __pi_uart_close(), pi_dmacpy_close(), pi_dmacpy_open(), pi_ffc_close(), pi_ffc_open(), pi_free(), pi_udma_datamove_close(), pi_udma_datamove_open(), pi_udma_timeout_free(), pi_udma_timestamp_close(), pi_udma_timestamp_free(), and system_usermode_entry().
void* pi_fc_l1_malloc | ( | int | size | ) |
References __fc_l1_malloc, __malloc(), disable_irq(), and restore_irq().
Referenced by __os_native_api_create_user_task(), __pi_aes_open(), __pi_asrc_open(), __pi_hyper_open(), __pi_i2s_conf_apply(), __pi_i2s_open(), __pi_rtc_open(), __pi_uart_open(), pi_dmacpy_open(), pi_ffc_open(), pi_gpio_open(), pi_malloc(), pi_udma_datamove_open(), pi_udma_timeout_alloc(), and pi_udma_timestamp_alloc().
void* pi_fc_l1_malloc_align | ( | int | size, |
int | align | ||
) |
void pi_fc_l1_malloc_dump | ( | void | ) |
References __fc_l1_malloc, __malloc_dump(), and printf.
Referenced by pi_malloc_dump().
void pi_fc_l1_malloc_init | ( | void * | heapstart, |
uint32_t | heap_size | ||
) |
References __fc_l1_malloc, __fc_l1_malloc_spinlock, __malloc_init(), and pmsis_spinlock_init().
Referenced by pi_malloc_init().
malloc_t pi_fc_l1_malloc_struct_get | ( | void | ) |
References __fc_l1_malloc, __fc_l1_malloc_spinlock, memcpy(), pmsis_spinlock_release(), and pmsis_spinlock_take().
void pi_fc_l1_malloc_struct_set | ( | malloc_t | malloc_struct | ) |
References __fc_l1_malloc, __fc_l1_malloc_spinlock, memcpy(), pmsis_spinlock_release(), and pmsis_spinlock_take().
malloc_t __fc_l1_malloc |
pmsis_spinlock_t __fc_l1_malloc_spinlock |