]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/vm/vm_map.h
xnu-6153.141.1.tar.gz
[apple/xnu.git] / osfmk / vm / vm_map.h
index e49170c5d7ceae7d075c7fa9f64d2e1ea4931260..f56606f8f43ce3727cb070c8a58f7160bb86b9a3 100644 (file)
@@ -1377,8 +1377,12 @@ extern kern_return_t    vm_map_copy_overwrite(
        vm_map_t                dst_map,
        vm_map_address_t        dst_addr,
        vm_map_copy_t           copy,
+       vm_map_size_t           copy_size,
        boolean_t               interruptible);
 
+#define VM_MAP_COPY_OVERWRITE_OPTIMIZATION_THRESHOLD_PAGES      (3)
+
+
 /* returns TRUE if size of vm_map_copy == size parameter FALSE otherwise */
 extern boolean_t        vm_map_copy_validate_size(
        vm_map_t                dst_map,