aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/vmcached/vmcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'unix/boot/vmcached/vmcache.h')
-rw-r--r--unix/boot/vmcached/vmcache.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/unix/boot/vmcached/vmcache.h b/unix/boot/vmcached/vmcache.h
new file mode 100644
index 00000000..3304b8dd
--- /dev/null
+++ b/unix/boot/vmcached/vmcache.h
@@ -0,0 +1,19 @@
+/*
+ * VMCACHE.H -- Public definitions for the VMcache interface.
+ */
+
+#define DEF_VMSOCK 8677
+#define ENV_VMSOCK "VMPORT"
+
+#define VM_READONLY 0001
+#define VM_READWRITE 0002
+#define VM_WRITEONLY 0004
+#define VM_ASYNC 0010
+#define VM_SYNC 0020
+#define VM_LOCKFILE 0040
+#define VM_DESTROYREGION 0100
+#define VM_CANCELREFCNT 0200
+#define VM_DONTMAP 0400
+
+void *vm_initcache();
+void *vm_cacheregion();