sys_mem_t Struct Reference
#include <lpc_sys.h>
Data Fields | |
uint32_t | used_global |
Global Memory allocated. More... | |
uint32_t | used_heap |
Memory granted by Heap (malloc, new etc.) More... | |
uint32_t | avail_heap |
Memory available at Heap. More... | |
uint32_t | avail_sys |
Memory available to Heap (from sbrk function) More... | |
uint32_t | num_sbrk_calls |
Number of calls to the sbrk() function. More... | |
uint32_t | last_sbrk_size |
Last size requested from the sbrk() function. More... | |
void * | last_sbrk_ptr |
Last pointer given by the sbrk() function. More... | |
void * | next_malloc_ptr |
The next pointer that will be returned to malloc() from sbrk() More... | |
Detailed Description
This is the memory structure that is returned from sys_get_mem_info() Heap memory obtains pool of memory from System, so the memory pool not obtained by the Heap is listed by the systemAvailable variable.
Field Documentation
uint32_t sys_mem_t::avail_heap |
Memory available at Heap.
uint32_t sys_mem_t::avail_sys |
Memory available to Heap (from sbrk function)
void* sys_mem_t::last_sbrk_ptr |
Last pointer given by the sbrk() function.
uint32_t sys_mem_t::last_sbrk_size |
Last size requested from the sbrk() function.
void* sys_mem_t::next_malloc_ptr |
The next pointer that will be returned to malloc() from sbrk()
uint32_t sys_mem_t::num_sbrk_calls |
Number of calls to the sbrk() function.
uint32_t sys_mem_t::used_global |
Global Memory allocated.
uint32_t sys_mem_t::used_heap |
Memory granted by Heap (malloc, new etc.)
The documentation for this struct was generated from the following file:
- /var/www/html/SJSU-DEV-Linux/firmware/default/lib/L0_LowLevel/lpc_sys.h