summaryrefslogtreecommitdiff
path: root/kernel/palloc.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-01-29 20:46:14 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-01-29 20:46:14 +0100
commit1f6a99a1e7874650a62eaa106e12c00a19f7e7a1 (patch)
treeb53a939669632c193453885b3548ebd3063c9db0 /kernel/palloc.h
parent37db7181daf1cc10683de24f6203e595b2ac49bc (diff)
Rudimentary palloc().
Diffstat (limited to 'kernel/palloc.h')
-rw-r--r--kernel/palloc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/palloc.h b/kernel/palloc.h
new file mode 100644
index 0000000..f846a96
--- /dev/null
+++ b/kernel/palloc.h
@@ -0,0 +1,11 @@
+#ifndef PALLOC_H
+#define PALLOC_H
+
+#include "types.h"
+
+void palloc_init();
+
+uint32_t palloc();
+void pfree(uint32_t addr);
+
+#endif