ConOpSys V2970
P004.07
ANVILEX control operating system
|
Public Attributes | |
mem_size_t | next |
mem_size_t | prev |
u8_t | used |
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 aligns.
mem_size_t mem::next |
index (-> ram[next]) of the next struct
Referenced by mem_free(), mem_init(), mem_link_valid(), mem_malloc(), mem_trim(), and plug_holes().
mem_size_t mem::prev |
index (-> ram[prev]) of the previous struct
Referenced by mem_init(), mem_link_valid(), mem_malloc(), mem_trim(), and plug_holes().
u8_t mem::used |
1: this area is used; 0: this area is unused
Referenced by mem_free(), mem_init(), mem_malloc(), mem_trim(), and plug_holes().