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
@@ -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 */