tvm
|
An implementation of a dynamic memory allocator for microcontrollers. More...
Go to the source code of this file.
Classes | |
struct | MemoryManagerInterface |
Typedefs | |
typedef struct MemoryManagerInterface | MemoryManagerInterface |
Functions | |
tvm_crt_error_t | PageMemoryManagerCreate (MemoryManagerInterface **manager, uint8_t *memory_pool, size_t memory_pool_size_bytes, size_t page_size_bytes_log2) |
Variables | |
int | vleak_size |
An implementation of a dynamic memory allocator for microcontrollers.
typedef struct MemoryManagerInterface MemoryManagerInterface |
tvm_crt_error_t PageMemoryManagerCreate | ( | MemoryManagerInterface ** | manager, |
uint8_t * | memory_pool, | ||
size_t | memory_pool_size_bytes, | ||
size_t | page_size_bytes_log2 | ||
) |
Exposed for testing.
manager | Pointer, initialized with the new MemoryManager. |
memory_pool | Pointer to the global memory pool used by the CRT. |
memory_pool_size_bytes | Size of memory_pool , in bytes. |
page_size_bytes_log2 | log2 of the page size, in bytes. |
|
extern |