From 31e749cc6ec80bd29c114a35b428819b56585aa2 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 22 Aug 2010 10:41:29 +0800 Subject: [PATCH] And, adding a rather important header that I fogot in the heap rewrite --- Kernel/include/heap_int.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Kernel/include/heap_int.h diff --git a/Kernel/include/heap_int.h b/Kernel/include/heap_int.h new file mode 100644 index 00000000..56739bd1 --- /dev/null +++ b/Kernel/include/heap_int.h @@ -0,0 +1,24 @@ +/* + * AcessOS Microkernel Version + * heap_int.h + * - Internal Heap Header + */ +#ifndef _HEAP_INT_H +#define _HEAP_INT_H + +typedef struct { + Uint Size; + int ValidSize; + const char *File; + int Line; + Uint Magic; + char Data[]; +} tHeapHead; + +typedef struct { + Uint Magic; + tHeapHead *Head; + tHeapHead NextHead[]; // Array to make it act like an element, but have no size and refer to the next block +} tHeapFoot; + +#endif -- 2.20.1