]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOCommandGate.cpp
xnu-2422.110.17.tar.gz
[apple/xnu.git] / iokit / Kernel / IOCommandGate.cpp
index 29ecd859e07820f9f648b3d8eec46067e680bbbe..9b19d70eefeb5e7dd63bfb88997f44401ed9c654 100644 (file)
@@ -182,7 +182,7 @@ IOReturn IOCommandGate::runAction(Action inAction,
        
        if (trace)
                IOTimeStampStartConstant(IODBG_CMDQ(IOCMDQ_ACTION),
-                                                                (uintptr_t) inAction, (uintptr_t) owner);
+                                        VM_KERNEL_UNSLIDE(inAction), (uintptr_t) owner);
        
     IOStatisticsActionCall();
        
@@ -191,7 +191,7 @@ IOReturn IOCommandGate::runAction(Action inAction,
        
        if (trace)
                IOTimeStampEndConstant(IODBG_CMDQ(IOCMDQ_ACTION),
-                                                          (uintptr_t) inAction, (uintptr_t) owner);
+                                      VM_KERNEL_UNSLIDE(inAction), (uintptr_t) owner);
     
     openGate();
        
@@ -220,7 +220,7 @@ IOReturn IOCommandGate::attemptAction(Action inAction,
                
         if (trace)
             IOTimeStampStartConstant(IODBG_CMDQ(IOCMDQ_ACTION),
-                                                                        (uintptr_t) inAction, (uintptr_t) owner);
+                                    VM_KERNEL_UNSLIDE(inAction), (uintptr_t) owner);
         
         IOStatisticsActionCall();
         
@@ -228,7 +228,7 @@ IOReturn IOCommandGate::attemptAction(Action inAction,
                
         if (trace)
             IOTimeStampEndConstant(IODBG_CMDQ(IOCMDQ_ACTION),
-                                                                  (uintptr_t) inAction, (uintptr_t) owner);
+                                  VM_KERNEL_UNSLIDE(inAction), (uintptr_t) owner);
     }
 
     openGate();