- IORegistryEntry * root;
- OSObject * obj;
-
- root = IORegistryEntry::initialize();
- assert( root );
- IOService::initialize();
- IOCatalogue::initialize();
- IOStatistics::initialize();
- OSKext::initialize();
- IOUserClient::initialize();
- IOMemoryDescriptor::initialize();
- IORootParent::initialize();
-
- // Initializes IOPMinformeeList class-wide shared lock
- IOPMinformeeList::getSharedRecursiveLock();
-
- obj = OSString::withCString( version );
- assert( obj );
- if( obj ) {
- root->setProperty( kIOKitBuildVersionKey, obj );
- obj->release();
- }
- obj = IOKitDiagnostics::diagnostics();
- if( obj ) {
- root->setProperty( kIOKitDiagnosticsKey, obj );
- obj->release();
- }
+ IORegistryEntry * root;
+ OSObject * obj;
+
+ IOCPUInitialize();
+ root = IORegistryEntry::initialize();
+ assert( root );
+ IOService::initialize();
+ IOCatalogue::initialize();
+ IOStatistics::initialize();
+ OSKext::initialize();
+ IOUserClient::initialize();
+ IOMemoryDescriptor::initialize();
+ IORootParent::initialize();
+
+ // Initializes IOPMinformeeList class-wide shared lock
+ IOPMinformeeList::getSharedRecursiveLock();
+
+ obj = OSString::withCString( version );
+ assert( obj );
+ if (obj) {
+ root->setProperty( kIOKitBuildVersionKey, obj );
+ obj->release();
+ }
+ obj = IOKitDiagnostics::diagnostics();
+ if (obj) {
+ root->setProperty( kIOKitDiagnosticsKey, obj );
+ obj->release();
+ }