]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOStartIOKit.cpp
xnu-4570.51.1.tar.gz
[apple/xnu.git] / iokit / Kernel / IOStartIOKit.cpp
index f9d9fc01834e52d643a45608f7b30b85feb9833c..6eb48b713b9b4e884454b18d0755cb0f97e112bd 100644 (file)
@@ -77,7 +77,7 @@ void IOKitInitializeTime( void )
                IOService::resourceMatching("IONVRAM"), &t );
 #endif
 
-    clock_initialize_calendar();
+       clock_initialize_calendar();
 }
 
 void iokit_post_constructor_init(void)
@@ -112,9 +112,6 @@ void iokit_post_constructor_init(void)
     }
 }
 
-// From <osfmk/kern/debug.c>
-extern int debug_mode;
-
 /*****
  * Pointer into bootstrap KLD segment for functions never used past startup.
  */
@@ -137,10 +134,6 @@ void StartIOKit( void * p1, void * p2, void * p3, void * p4 )
     // Compat for boot-args
     gIOKitTrace |= (gIOKitDebug & kIOTraceCompatBootArgs);
        
-    // Check for the log synchronous bit set in io
-    if (gIOKitDebug & kIOLogSynchronous)
-        debug_mode = true;
-
     if( PE_parse_boot_argn( "pmtimeout", &debugFlags, sizeof (debugFlags) ))
         gCanSleepTimeout = debugFlags;
     //