#include <IOKit/IOStatisticsPrivate.h>
#include <IOKit/IOKitKeysPrivate.h>
#include <IOKit/IOInterruptAccountingPrivate.h>
-
#include <IOKit/assert.h>
+#include <sys/conf.h>
#include "IOKitKernelInternal.h"
extern "C" {
+void StartIOKit( void * p1, void * p2, void * p3, void * p4 );
+void IORegistrySetOSBuildVersion(char * build_version);
+void IORecordProgressBackbuffer(void * buffer, size_t size, uint32_t theme);
+
extern void OSlibkernInit (void);
void iokit_post_constructor_init(void);
IOService::resourceMatching("IONVRAM"), &t );
#endif
- clock_initialize_calendar();
+ clock_initialize_calendar();
}
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.
*/
// 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;
//
//
IOLibInit();
OSlibkernInit();
+ devsw_init();
gIOProgressBackbufferKey = OSSymbol::withCStringNoCopy(kIOProgressBackbufferKey);
gIORemoveOnReadProperties = OSSet::withObjects((const OSObject **) &gIOProgressBackbufferKey, 1);