TuyaOS
结构体 | 宏定义 | 类型定义 | 函数
tuya_mem_heap.h 文件参考

TUYA memory heap management 更多...

浏览源代码.

结构体

struct  heap_context_t
 

宏定义

#define MEM_HEAP_LIST_NUM   (4)
 

类型定义

typedef void * HEAP_HANDLE
 

函数

int tuya_mem_heap_available (HEAP_HANDLE handle)
 
void * tuya_mem_heap_calloc (HEAP_HANDLE handle, unsigned int size)
 
int tuya_mem_heap_create (void *start_addr, unsigned int size, HEAP_HANDLE *handle)
 
void * tuya_mem_heap_debug_calloc (HEAP_HANDLE handle, unsigned int size, char *filename, int line)
 
void * tuya_mem_heap_debug_malloc (HEAP_HANDLE handle, unsigned int size, char *filename, int line)
 
void * tuya_mem_heap_debug_realloc (HEAP_HANDLE handle, void *ptr, unsigned int size, char *filename, int line)
 
int tuya_mem_heap_delete (HEAP_HANDLE handle)
 
int tuya_mem_heap_diagnose (HEAP_HANDLE handle)
 
void tuya_mem_heap_free (HEAP_HANDLE handle, void *ptr)
 
int tuya_mem_heap_init (heap_context_t *ctx)
 
void * tuya_mem_heap_malloc (HEAP_HANDLE handle, unsigned int size)
 
void * tuya_mem_heap_realloc (HEAP_HANDLE handle, void *ptr, unsigned int size)
 

详细描述

TUYA memory heap management

版本
0.1
日期
2021-05-05