uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mem Struct Reference

Public Attributes

mem_size_t next
 
mem_size_t prev
 
u8_t used
 

Detailed Description

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.

Definition at line 155 of file mem.c.

Member Data Documentation

mem_size_t mem::next

index (-> ram[next]) of the next struct

Definition at line 157 of file mem.c.

mem_size_t mem::prev

index (-> ram[prev]) of the previous struct

Definition at line 159 of file mem.c.

u8_t mem::used

1: this area is used; 0: this area is unused

Definition at line 161 of file mem.c.


The documentation for this struct was generated from the following file: