+#define VM_MAP_REMOVE_SAVE_ENTRIES 0x8
+#define VM_MAP_REMOVE_NO_PMAP_CLEANUP 0x10
+
+/* Support for UPLs from vm_maps */
+
+extern kern_return_t vm_map_get_upl(
+ vm_map_t target_map,
+ vm_map_offset_t map_offset,
+ upl_size_t *size,
+ upl_t *upl,
+ upl_page_info_array_t page_info,
+ unsigned int *page_infoCnt,
+ int *flags,
+ int force_data_sync);
+
+#if CONFIG_DYNAMIC_CODE_SIGNING
+extern kern_return_t vm_map_sign(vm_map_t map,
+ vm_map_offset_t start,
+ vm_map_offset_t end);
+#endif
+
+#if CONFIG_FREEZE
+void vm_map_freeze_thaw_init(void);
+void vm_map_freeze_thaw(void);
+void vm_map_demand_fault(void);
+
+extern kern_return_t vm_map_freeze_walk(
+ vm_map_t map,
+ unsigned int *purgeable_count,
+ unsigned int *wired_count,
+ unsigned int *clean_count,
+ unsigned int *dirty_count,
+ unsigned int dirty_budget,
+ boolean_t *has_shared);
+
+extern kern_return_t vm_map_freeze(
+ vm_map_t map,
+ unsigned int *purgeable_count,
+ unsigned int *wired_count,
+ unsigned int *clean_count,
+ unsigned int *dirty_count,
+ unsigned int dirty_budget,
+ boolean_t *has_shared);
+
+extern kern_return_t vm_map_thaw(
+ vm_map_t map);
+#endif
+
+__END_DECLS
+
+#endif /* KERNEL_PRIVATE */