about summary refs log tree commit diff stats
path: root/kernel.soso/alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel.soso/alloc.h')
-rw-r--r--kernel.soso/alloc.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/kernel.soso/alloc.h b/kernel.soso/alloc.h
deleted file mode 100644
index e4985aa5..00000000
--- a/kernel.soso/alloc.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef ALLOC_H
-#define ALLOC_H
-
-#include "common.h"
-#include "process.h"
-
-void initializeKernelHeap();
-void *ksbrkPage(int n);
-void *kmalloc(uint32 size);
-void kfree(void *v_addr);
-
-void initializeProcessHeap(Process* process);
-void *sbrk(Process* process, int nBytes);
-
-uint32 getKernelHeapUsed();
-
-struct MallocHeader {
-    unsigned long size:31;
-    unsigned long used:1;
-} __attribute__ ((packed));
-
-typedef struct MallocHeader MallocHeader;
-
-#endif // ALLOC_H