]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOCommandGate.cpp
xnu-4570.1.46.tar.gz
[apple/xnu.git] / iokit / Kernel / IOCommandGate.cpp
index 2308daf1b5bf0a67a0699f9c35c0d0dd00fe2b2f..6c1f457679104da63a7eb8fce805eca9f6fa6d31 100644 (file)
@@ -207,7 +207,7 @@ IOReturn IOCommandGate::runAction(Action inAction,
     bool trace = ( gIOKitTrace & kIOTraceCommandGates ) ? true : false;
        
     if (trace) IOTimeStampStartConstant(IODBG_CMDQ(IOCMDQ_ACTION),
-                                        VM_KERNEL_UNSLIDE(inAction), (uintptr_t) owner);
+                                        VM_KERNEL_ADDRHIDE(inAction), VM_KERNEL_ADDRHIDE(owner));
        
     IOStatisticsActionCall();
        
@@ -218,7 +218,7 @@ IOReturn IOCommandGate::runAction(Action inAction,
     *sleepersP -= kSleepersActions;
 
     if (trace) IOTimeStampEndConstant(IODBG_CMDQ(IOCMDQ_ACTION),
-                                      VM_KERNEL_UNSLIDE(inAction), (uintptr_t) owner);
+                                      VM_KERNEL_ADDRHIDE(inAction), VM_KERNEL_ADDRHIDE(owner));
 
     if (kSleepersRemoved == ((kSleepersActionsMask|kSleepersRemoved) & *sleepersP))
     {
@@ -257,7 +257,7 @@ IOReturn IOCommandGate::attemptAction(Action inAction,
                
         if (trace)
             IOTimeStampStartConstant(IODBG_CMDQ(IOCMDQ_ACTION),
-                                    VM_KERNEL_UNSLIDE(inAction), (uintptr_t) owner);
+                                    VM_KERNEL_ADDRHIDE(inAction), VM_KERNEL_ADDRHIDE(owner));
         
         IOStatisticsActionCall();
         
@@ -265,7 +265,7 @@ IOReturn IOCommandGate::attemptAction(Action inAction,
                
         if (trace)
             IOTimeStampEndConstant(IODBG_CMDQ(IOCMDQ_ACTION),
-                                  VM_KERNEL_UNSLIDE(inAction), (uintptr_t) owner);
+                                  VM_KERNEL_ADDRHIDE(inAction), VM_KERNEL_ADDRHIDE(owner));
     }
 
     wl->openGate();