tsi_malloc.h File Reference

Go to the source code of this file.

Macros

#define tsi_malloc_init(base_virt, base_phys, size, reset)    tsi_malloc_init_pool(0, base_virt, base_phys, size, reset)
 
#define tsi_malloc(size)   tsi_malloc_pool(0, size)
 

Functions

int tsi_malloc_init_pool (int pool, void *base_virt, uintptr_t base_phys, int size, int reset)
 Initial memory pool, command list memory malloc base on pool. More...
 
void * tsi_malloc_pool (int pool, int size)
 Malloc memory from pool. More...
 
void tsi_free (void *ptr)
 Free memory. More...
 
uintptr_t tsi_virt2phys (void *addr)
 Free memory. More...