aboutsummaryrefslogtreecommitdiff
path: root/inc/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/mem.h')
-rw-r--r--inc/mem.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/inc/mem.h b/inc/mem.h
new file mode 100644
index 0000000..e2d7a18
--- /dev/null
+++ b/inc/mem.h
@@ -0,0 +1,13 @@
+#ifndef MEM_H
+#define MEM_H
+
+#include <stdio.h>
+#include <stdint.h>
+
+typedef uint64_t vaddr;
+
+void *mem_alloc(size_t size, vaddr virt);
+void *mem_phys(vaddr virt);
+void mem_free_all(void);
+
+#endif