FreeRTOS port on GAP8/RISC-V
|
Functions | |
void * | pi_l2_malloc (int size) |
void | pi_l2_free (void *_chunk, int size) |
void * | pi_l2_malloc_align (int size, int align) |
void | pi_l2_malloc_init (void *heapstart, uint32_t heap_size) |
void | pi_l2_malloc_struct_set (malloc_t malloc_struct) |
malloc_t | pi_l2_malloc_struct_get (void) |
void | pi_l2_malloc_dump (void) |
Variables | |
malloc_t | __l2_malloc |
pmsis_spinlock_t | __l2_malloc_spinlock |
void pi_l2_free | ( | void * | _chunk, |
int | size | ||
) |
References __l2_malloc, __l2_malloc_spinlock, pmsis_spinlock_release(), and pmsis_spinlock_take().
Referenced by __pi_dmacpy_close(), __pi_i2c_close(), __pi_i2c_open(), __pi_i2s_close(), __pi_pwm_close(), __pi_rtc_irq_type_handle(), __pi_rtc_irq_type_handler(), __pi_uart_close(), __pi_udma_fifo_change_buffer(), pi_free(), pi_gpio_close(), pi_udma_fifo_close(), and pi_udma_fifo_open().
void* pi_l2_malloc | ( | int | size | ) |
References __l2_malloc, __l2_malloc_spinlock, __malloc(), pmsis_spinlock_release(), pmsis_spinlock_take(), and printf.
Referenced by __pi_dmacpy_open(), __pi_i2c_open(), __pi_i2s_open(), __pi_pwm_open(), __pi_rtc_handler(), __pi_uart_open(), __pi_udma_fifo_change_buffer(), pi_gpio_open(), pi_malloc(), and pi_udma_fifo_open().
void* pi_l2_malloc_align | ( | int | size, |
int | align | ||
) |
References __l2_malloc, __l2_malloc_spinlock, __malloc_align(), pmsis_spinlock_release(), and pmsis_spinlock_take().
void pi_l2_malloc_dump | ( | void | ) |
References __l2_malloc, __malloc_dump(), and printf.
Referenced by pi_malloc_dump().
void pi_l2_malloc_init | ( | void * | heapstart, |
uint32_t | heap_size | ||
) |
References __l2_malloc, __l2_malloc_spinlock, __malloc_init(), and pmsis_spinlock_init().
Referenced by pi_malloc_init().
malloc_t pi_l2_malloc_struct_get | ( | void | ) |
References __l2_malloc, __l2_malloc_spinlock, memcpy(), pmsis_spinlock_release(), and pmsis_spinlock_take().
void pi_l2_malloc_struct_set | ( | malloc_t | malloc_struct | ) |
References __l2_malloc, __l2_malloc_spinlock, memcpy(), pmsis_spinlock_release(), and pmsis_spinlock_take().
malloc_t __l2_malloc |
pmsis_spinlock_t __l2_malloc_spinlock |
Referenced by pi_l2_free(), pi_l2_malloc(), pi_l2_malloc_align(), pi_l2_malloc_init(), pi_l2_malloc_struct_get(), and pi_l2_malloc_struct_set().