]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/vm/vm_fault.h
xnu-2050.7.9.tar.gz
[apple/xnu.git] / osfmk / vm / vm_fault.h
index 439af254056e88fbd59d8b86c0a26702fad21298..878d140f13fa0e297d08a4cb889f417c968bece6 100644 (file)
@@ -79,8 +79,8 @@ typedef       kern_return_t   vm_fault_return_t;
 #define VM_FAULT_RETRY                 1
 #define VM_FAULT_INTERRUPTED           2
 #define VM_FAULT_MEMORY_SHORTAGE       3
-#define VM_FAULT_FICTITIOUS_SHORTAGE   4
 #define VM_FAULT_MEMORY_ERROR          5
+#define VM_FAULT_SUCCESS_NO_VM_PAGE    6       /* success but no VM page */
 
 /*
  *     Page fault handling based on vm_map (or entries therein)
@@ -159,9 +159,12 @@ extern kern_return_t vm_fault_enter(
        pmap_t pmap,
        vm_map_offset_t vaddr,
        vm_prot_t prot,
+       vm_prot_t fault_type,
        boolean_t wired,
        boolean_t change_wiring,
        boolean_t no_cache,
+       boolean_t cs_bypass,
+       boolean_t *need_retry,
        int *type_of_fault);
 
 #endif /* MACH_KERNEL_PRIVATE */