|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "std_def.h"

宏定义 | |
| #define | ircalloc(size, number) irzalloc((size) * (number)) |
| Allocate a block of memory and zero it. | |
函数 | |
| void | irmalloc_init_default (void) |
| void | irmalloc_new_pool (unsigned char *start, size_t size) |
| Add an additional memory pool to allocate from; the irmalloc implementation is not obliged to use this memory | |
| void * | irmalloc (size_t size) |
| Allocate a block of memory from internal RAM | |
| void * | irmemalign (size_t boundary, size_t size) |
| void * | irmalloc_panicking (size_t size) |
| Allocate a block of memory from internal RAM or panic on failure | |
| void * | irzalloc (size_t size) |
| Allocate a block of memory and zero it. | |
| void | irfree (void *buf) |
| Free a block of memory | |
| void * | irmalloc_dup (const void *orig, size_t size) |
| Duplicate the contents of a block of memory into irmalloc. | |
| void * | irrealloc (void *buf, size_t size) |
| Reallocate a block of memory | |
| void * | irrealloc_panicking (void *buf, size_t size) |
| char * | irmalloc_get_human_readable_stats (void) |
| Get some human readable statistics on the memory management state | |
| void | irmalloc_get_machine_readable_stats (uint32_t *current_allocated, uint32_t *total_free, uint32_t *max_free, uint32_t *num_allocs, uint32_t *num_frees) |
| Get some macine readable statistics on the memory management state | |