git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: cake (slab) allocator, for dynamic continuous physical page allocation
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
mm
/
valloc.h
diff --git a/lunaix-os/includes/lunaix/mm/valloc.h
b/lunaix-os/includes/lunaix/mm/valloc.h
new file mode 100644
(file)
index 0000000..
ee646e5
--- /dev/null
+++ b/
lunaix-os/includes/lunaix/mm/valloc.h
@@ -0,0
+1,13
@@
+#ifndef __LUNAIX_VALLOC_H
+#define __LUNAIX_VALLOC_H
+
+void*
+valloc(unsigned int size);
+
+void
+vfree(void* ptr);
+
+void
+valloc_init();
+
+#endif /* __LUNAIX_VALLOC_H */