X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/ea3f04195ba4a5034c9c8e9b726d4f7ce96f1832..eb6b6ca394357805f2bdba989abae309f718b4d8:/osfmk/vm/vm_map.h diff --git a/osfmk/vm/vm_map.h b/osfmk/vm/vm_map.h index e49170c5d..f56606f8f 100644 --- a/osfmk/vm/vm_map.h +++ b/osfmk/vm/vm_map.h @@ -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,