summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/uvm/uvm.h')
-rw-r--r--sys/uvm/uvm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/uvm/uvm.h b/sys/uvm/uvm.h
index 977d45c3b29..3d04e53b9a4 100644
--- a/sys/uvm/uvm.h
+++ b/sys/uvm/uvm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm.h,v 1.23 2008/05/05 15:37:41 thib Exp $ */
+/* $OpenBSD: uvm.h,v 1.24 2008/06/09 20:30:23 miod Exp $ */
/* $NetBSD: uvm.h,v 1.24 2000/11/27 08:40:02 chs Exp $ */
/*
@@ -128,11 +128,13 @@ struct uvm {
#define UVM_ET_SUBMAP 0x02 /* it is a vm_map submap */
#define UVM_ET_COPYONWRITE 0x04 /* copy_on_write */
#define UVM_ET_NEEDSCOPY 0x08 /* needs_copy */
+#define UVM_ET_HOLE 0x10 /* no backend */
#define UVM_ET_ISOBJ(E) (((E)->etype & UVM_ET_OBJ) != 0)
#define UVM_ET_ISSUBMAP(E) (((E)->etype & UVM_ET_SUBMAP) != 0)
#define UVM_ET_ISCOPYONWRITE(E) (((E)->etype & UVM_ET_COPYONWRITE) != 0)
#define UVM_ET_ISNEEDSCOPY(E) (((E)->etype & UVM_ET_NEEDSCOPY) != 0)
+#define UVM_ET_ISHOLE(E) (((E)->etype & UVM_ET_HOLE) != 0)
#ifdef _KERNEL