summaryrefslogtreecommitdiff
path: root/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'mem.h')
-rw-r--r--mem.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/mem.h b/mem.h
new file mode 100644
index 0000000..22b4a79
--- /dev/null
+++ b/mem.h
@@ -0,0 +1,11 @@
+#ifndef MEM_H_
+#define MEM_H_
+
+#include <stddef.h>
+
+#define PAGE_SIZE 4096
+
+void * alloc_code(size_t *size);
+
+#endif //MEM_H_
+