diff options
Diffstat (limited to 'src/kernel/heap.h')
-rw-r--r-- | src/kernel/heap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/heap.h b/src/kernel/heap.h index c817e4d..82d057e 100644 --- a/src/kernel/heap.h +++ b/src/kernel/heap.h @@ -23,6 +23,11 @@ #include <stdint.h> +typedef struct { + uint32_t size; + void *next; +} __attribute__ ((packed)) alloc_t; + /** * Initializes memory management of the given heap. * No overflow stuff is done, so... be careful. |