summaryrefslogtreecommitdiffstats
path: root/sys/permission.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/permission.h')
-rw-r--r--sys/permission.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/permission.h b/sys/permission.h
new file mode 100644
index 0000000..08bb765
--- /dev/null
+++ b/sys/permission.h
@@ -0,0 +1,11 @@
+#ifndef _SYS_PERMISSION_H
+#define _SYS_PERMISSION_H 1
+
+#define PERM_MEM_PHYS_RESV 1 /* Reserve physical memory. */
+#define PERM_MEM_PHYS_FREE 2 /* Free physical memory. */
+#define PERM_MEM_PHYS_ALLOC 4 /* Allocate physical memory. */
+
+#define PERM_MEM_VIRT_PD 8 /* Work on any PD. */
+#define PERM_MEM_VIRT_MAP 0x10 /* Map physical memory to virtual memory. */
+
+#endif