-
- if( PE_parse_boot_argn( "iotrace", &debugFlags, sizeof (debugFlags) ))
- gIOKitTrace = debugFlags;
-
- // Compat for boot-args
- gIOKitTrace |= (gIOKitDebug & kIOTraceCompatBootArgs);
-
- if( PE_parse_boot_argn( "pmtimeout", &debugFlags, sizeof (debugFlags) ))
- gCanSleepTimeout = debugFlags;
- //
- // Have to start IOKit environment before we attempt to start
- // the C++ runtime environment. At some stage we have to clean up
- // the initialisation path so that OS C++ can initialise independantly
- // of iokit basic service initialisation, or better we have IOLib stuff
- // initialise as basic OS services.
- //
- IOLibInit();
- OSlibkernInit();
- devsw_init();
-
- gIOProgressBackbufferKey = OSSymbol::withCStringNoCopy(kIOProgressBackbufferKey);
- gIORemoveOnReadProperties = OSSet::withObjects((const OSObject **) &gIOProgressBackbufferKey, 1);
-
- interruptAccountingInit();
-
- rootNub = new IOPlatformExpertDevice;
-
- if( rootNub && rootNub->initWithArgs( p1, p2, p3, p4)) {
- rootNub->attach( 0 );
-
- /* If the bootstrap segment set up a function to record startup
- * extensions, call it now.
- */
- if (record_startup_extensions_function) {
- record_startup_extensions_function();
- }
-
- rootNub->registerService();
+
+ if (PE_parse_boot_argn( "iotrace", &debugFlags, sizeof(debugFlags))) {
+ gIOKitTrace = debugFlags;
+ }
+
+ // Compat for boot-args
+ gIOKitTrace |= (gIOKitDebug & kIOTraceCompatBootArgs);
+
+ if (PE_parse_boot_argn( "pmtimeout", &debugFlags, sizeof(debugFlags))) {
+ gCanSleepTimeout = debugFlags;
+ }
+ //
+ // Have to start IOKit environment before we attempt to start
+ // the C++ runtime environment. At some stage we have to clean up
+ // the initialisation path so that OS C++ can initialise independantly
+ // of iokit basic service initialisation, or better we have IOLib stuff
+ // initialise as basic OS services.
+ //
+ IOLibInit();
+ OSlibkernInit();
+ devsw_init();
+
+ gIOProgressBackbufferKey = OSSymbol::withCStringNoCopy(kIOProgressBackbufferKey);
+ gIORemoveOnReadProperties = OSSet::withObjects((const OSObject **) &gIOProgressBackbufferKey, 1);
+
+ interruptAccountingInit();
+
+ rootNub = new IOPlatformExpertDevice;
+
+ if (rootNub && rootNub->initWithArgs( p1, p2, p3, p4)) {
+ rootNub->attach( 0 );
+
+ /* If the bootstrap segment set up a function to record startup
+ * extensions, call it now.
+ */
+ if (record_startup_extensions_function) {
+ record_startup_extensions_function();
+ }
+
+ rootNub->registerService();