aboutsummaryrefslogtreecommitdiff
path: root/src/common/include/mmap.h
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-19 17:03:55 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-19 17:03:55 +0100
commit408faed4df730384538aaa0e338ae8ea7abe400d (patch)
treed391e7b94bab9de64ded62faf06d32f8a8340d3d /src/common/include/mmap.h
parent396a630f55aae0105ce56d302afaa937632d15ed (diff)
downloadkogata-408faed4df730384538aaa0e338ae8ea7abe400d.tar.gz
kogata-408faed4df730384538aaa0e338ae8ea7abe400d.zip
Implement userspace malloc
Diffstat (limited to 'src/common/include/mmap.h')
-rw-r--r--src/common/include/mmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/include/mmap.h b/src/common/include/mmap.h
new file mode 100644
index 0000000..777950f
--- /dev/null
+++ b/src/common/include/mmap.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#define MM_READ (0x01)
+#define MM_WRITE (0x02)
+#define MM_EXEC (0x04)
+