aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/vmcached/vmcache.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /unix/boot/vmcached/vmcache.h
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
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();