diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-04-08 17:29:30 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-04-08 17:29:30 -0400 |
commit | 0726b60a6e32760fbadd1cdd39362c9c7a0fd9cc (patch) | |
tree | 38d594dd9c259f13fc6d867da349cb96a8c25158 /include/heap.h | |
parent | 7eb572702ca012a89370cc94a297eeb346a8dee9 (diff) |
file loading, switching, good!
Diffstat (limited to 'include/heap.h')
-rw-r--r-- | include/heap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/heap.h b/include/heap.h index 593ce09..343e983 100644 --- a/include/heap.h +++ b/include/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... |