summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-08-12 21:36:49 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-08-12 21:36:49 +0000
commit23d2639399f346f293ebee625cb3f36c2564e597 (patch)
tree4a8de217cf7960ee33c1c1af7c83d5c199146d3b /sys/uvm
parente89844d561cb66250ca962658ce54896d74def92 (diff)
vm_pager.h no more
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_pager.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/sys/uvm/uvm_pager.h b/sys/uvm/uvm_pager.h
index d2bf315228e..2a991f663f0 100644
--- a/sys/uvm/uvm_pager.h
+++ b/sys/uvm/uvm_pager.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pager.h,v 1.10 2001/08/11 10:57:22 art Exp $ */
+/* $OpenBSD: uvm_pager.h,v 1.11 2001/08/12 21:36:48 mickey Exp $ */
/* $NetBSD: uvm_pager.h,v 1.15 2000/05/19 03:45:04 thorpej Exp $ */
/*
@@ -117,6 +117,27 @@ struct uvm_pagerops {
#ifdef _KERNEL
/*
+ * get/put return values
+ * OK operation was successful
+ * BAD specified data was out of the accepted range
+ * FAIL specified data was in range, but doesn't exist
+ * PEND operations was initiated but not completed
+ * ERROR error while accessing data that is in range and exists
+ * AGAIN temporary resource shortage prevented operation from happening
+ * UNLOCK unlock the map and try again
+ * REFAULT [uvm_fault internal use only!] unable to relock data structures,
+ * thus the mapping needs to be reverified before we can procede
+ */
+#define VM_PAGER_OK 0
+#define VM_PAGER_BAD 1
+#define VM_PAGER_FAIL 2
+#define VM_PAGER_PEND 3
+#define VM_PAGER_ERROR 4
+#define VM_PAGER_AGAIN 5
+#define VM_PAGER_UNLOCK 6
+#define VM_PAGER_REFAULT 7
+
+/*
* handle inline options
*/