summaryrefslogtreecommitdiff
path: root/sys/vm/vm_map.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2020-10-02 17:50:22 +0000
committerMark Johnston <markj@FreeBSD.org>2020-10-02 17:50:22 +0000
commitf31695cc64e2328028b7432a2a6bdcd088909b2a (patch)
tree48e8f80e8f761026dd2b1a55043a65ade961562e /sys/vm/vm_map.h
parentfec41f0751be736a70d5231006ebde3c1240dc12 (diff)
Notes
Diffstat (limited to 'sys/vm/vm_map.h')
-rw-r--r--sys/vm/vm_map.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h
index cbb1c0c879c3a..41041038c4062 100644
--- a/sys/vm/vm_map.h
+++ b/sys/vm/vm_map.h
@@ -384,9 +384,10 @@ long vmspace_resident_count(struct vmspace *vmspace);
/*
* vm_fault option flags
*/
-#define VM_FAULT_NORMAL 0 /* Nothing special */
-#define VM_FAULT_WIRE 1 /* Wire the mapped page */
-#define VM_FAULT_DIRTY 2 /* Dirty the page; use w/VM_PROT_COPY */
+#define VM_FAULT_NORMAL 0x00 /* Nothing special */
+#define VM_FAULT_WIRE 0x01 /* Wire the mapped page */
+#define VM_FAULT_DIRTY 0x02 /* Dirty the page; use w/VM_PROT_COPY */
+#define VM_FAULT_NOFILL 0x04 /* Fail if the pager doesn't have a copy */
/*
* Initially, mappings are slightly sequential. The maximum window size must