From: John Hodge Date: Sun, 22 Aug 2010 02:41:29 +0000 (+0800) Subject: And, adding a rather important header that I fogot in the heap rewrite X-Git-Tag: rel0.06~48 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=31e749cc6ec80bd29c114a35b428819b56585aa2;p=tpg%2Facess2.git And, adding a rather important header that I fogot in the heap rewrite --- 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