From 0726b60a6e32760fbadd1cdd39362c9c7a0fd9cc Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 8 Apr 2018 17:29:30 -0400 Subject: file loading, switching, good! --- include/heap.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/heap.h') 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 +typedef struct { + uint32_t size; + void *next; +} __attribute__ ((packed)) alloc_t; + /** * Initializes memory management of the given heap. * No overflow stuff is done, so... -- cgit v1.2.3