]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/trap.c
xnu-344.tar.gz
[apple/xnu.git] / osfmk / i386 / trap.c
index a845341d89a8d8810ab0d7d64ea100d8ce2bcb6f..5a6b78c200e366f9d38d249d8354b6546af86da2 100644 (file)
@@ -355,7 +355,7 @@ kernel_trap(
                                          trunc_page((vm_offset_t)subcode),
                                          VM_PROT_READ|VM_PROT_WRITE,
                                          FALSE, 
-                                         (map == kernel_map) ? interruptible : THREAD_ABORTSAFE);
+                                         (map == kernel_map) ? interruptible : THREAD_ABORTSAFE, NULL, 0);
                }
 #if    MACH_KDB
                if (result == KERN_SUCCESS) {
@@ -577,7 +577,7 @@ user_trap(
                                trunc_page((vm_offset_t)subcode),
                                prot,
                                FALSE,
-                               THREAD_ABORTSAFE));
+                               THREAD_ABORTSAFE, NULL, 0));
                        /* NOTREACHED */
                }
                else {
@@ -589,7 +589,7 @@ user_trap(
                                trunc_page((vm_offset_t)subcode),
                                prot,
                                FALSE,
-                               (map == kernel_map) ? THREAD_UNINT : THREAD_ABORTSAFE);
+                               (map == kernel_map) ? THREAD_UNINT : THREAD_ABORTSAFE, NULL, 0);
                        if ((result != KERN_SUCCESS) && (result != KERN_ABORTED)) {
                                /*
                                 * Must expand vm_fault by hand,