]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/bsddev/IOKitBSDInit.cpp
xnu-2782.20.48.tar.gz
[apple/xnu.git] / iokit / bsddev / IOKitBSDInit.cpp
index ac28f446bed91bae7e1b1471f86a49f0534eeb7f..9b08bb834a3fe8c0f916c06b7d401ec946522473 100644 (file)
@@ -38,6 +38,7 @@ extern "C" {
 #include <pexpert/pexpert.h>
 #include <kern/clock.h>
 #include <uuid/uuid.h>
 #include <pexpert/pexpert.h>
 #include <kern/clock.h>
 #include <uuid/uuid.h>
+#include <sys/vnode_internal.h>
 
 // how long to wait for matching root device, secs
 #if DEBUG
 
 // how long to wait for matching root device, secs
 #if DEBUG
@@ -473,6 +474,11 @@ kern_return_t IOFindBSDRoot( char * rootName, unsigned int rootNameSize,
         }
     }
 
         }
     }
 
+    if( gIOKitDebug & kIOWaitQuietBeforeRoot ) {
+       IOLog( "Waiting for matching to complete\n" );
+       IOService::getPlatform()->waitQuiet();
+    }
+
     if( true && matching) {
         OSSerialize * s = OSSerialize::withCapacity( 5 );
 
     if( true && matching) {
         OSSerialize * s = OSSerialize::withCapacity( 5 );