diff options
Diffstat (limited to 'vm/vm_map.h')
-rw-r--r-- | vm/vm_map.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vm/vm_map.h b/vm/vm_map.h index aa68b92c..87660f31 100644 --- a/vm/vm_map.h +++ b/vm/vm_map.h @@ -46,6 +46,7 @@ #include <mach/vm_attributes.h> #include <mach/vm_prot.h> #include <mach/vm_inherit.h> +#include <mach/vm_wire.h> #include <vm/pmap.h> #include <vm/vm_object.h> #include <vm/vm_page.h> @@ -191,7 +192,7 @@ struct vm_map { /* Flags */ unsigned int wait_for_space:1, /* Should callers wait for space? */ - /* boolean_t */ wiring_required:1; /* All memory wired? */ + /* boolean_t */ wiring_required:1; /* New mappings are wired? */ unsigned int timestamp; /* Version number */ @@ -492,6 +493,8 @@ static inline void vm_map_set_name(vm_map_t map, const char *name) extern kern_return_t vm_map_pageable(vm_map_t, vm_offset_t, vm_offset_t, vm_prot_t, boolean_t, boolean_t); +extern kern_return_t vm_map_pageable_all(vm_map_t, vm_wire_t); + /* * Submap object. Must be used to create memory to be put * in a submap by vm_map_submap. |