And, adding a rather important header that I fogot in the heap rewrite
authorJohn Hodge <[email protected]>
Sun, 22 Aug 2010 02:41:29 +0000 (10:41 +0800)
committerJohn Hodge <[email protected]>
Sun, 22 Aug 2010 02:41:29 +0000 (10:41 +0800)
Kernel/include/heap_int.h [new file with mode: 0644]

diff --git a/Kernel/include/heap_int.h b/Kernel/include/heap_int.h
new file mode 100644 (file)
index 0000000..56739bd
--- /dev/null
@@ -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

UCC git Repository :: git.ucc.asn.au