The heap is made up as a list of structs of this type. More...
Public Attributes | |
mem_size_t | next |
index (-> ram[next]) of the next struct | |
mem_size_t | prev |
index (-> ram[prev]) of the previous struct | |
u8_t | used |
1: this area is used; 0: this area is unused |
The heap is made up as a list of structs of this type.
This does not have to be aligned since for getting its size, we only use the macro SIZEOF_STRUCT_MEM, which automatically alignes.
index (-> ram[next]) of the next struct
index (-> ram[prev]) of the previous struct