]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOKitDebug.cpp
xnu-344.26.tar.gz
[apple/xnu.git] / iokit / Kernel / IOKitDebug.cpp
index e7be3a62a010eed40db57799a9dec698689277ca..b694bcbb3a53a31e0878c2c3a0b004e145d1df66 100644 (file)
@@ -67,11 +67,16 @@ void IOPrintPlane( const IORegistryPlane * plane )
 
     iter->reset();
     while( (next = iter->getNextObjectRecursive())) {
-       sprintf( format + 1, "%ds", next->getDepth( plane ));
+       sprintf( format + 1, "%ds", 2 * next->getDepth( plane ));
        IOLog( format, "");
+       IOLog( "\033[33m%s", next->getName( plane ));
+       if( (next->getLocation( plane )))
+            IOLog("@%s", next->getLocation( plane ));
+       IOLog("\033[0m <class %s", next->getMetaClass()->getClassName());
         if( (service = OSDynamicCast(IOService, next)))
-            IOLog("<%ld>", service->getBusyState());
-       IOLog( "%s\n", next->getName());
+            IOLog(", busy %ld", service->getBusyState());
+       IOLog( ">\n");
+       IOSleep(250);
     }
     iter->release();
 }