IOService::waitForService(
IOService::resourceMatching("IORTC"), &t );
IOService::waitForService(
IOService::resourceMatching("IORTC"), &t );
#if defined(__i386__) || defined(__x86_64__)
IOService::waitForService(
IOService::resourceMatching("IONVRAM"), &t );
#if defined(__i386__) || defined(__x86_64__)
IOService::waitForService(
IOService::resourceMatching("IONVRAM"), &t );
void
StartIOKit( void * p1, void * p2, void * p3, void * p4 )
void
StartIOKit( void * p1, void * p2, void * p3, void * p4 )
if (PE_parse_boot_argn( "pmtimeout", &debugFlags, sizeof(debugFlags))) {
gCanSleepTimeout = debugFlags;
}
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
//
// Have to start IOKit environment before we attempt to start
// the C++ runtime environment. At some stage we have to clean up
rootNub = new IOPlatformExpertDevice;
if (rootNub && rootNub->initWithArgs( p1, p2, p3, p4)) {
rootNub = new IOPlatformExpertDevice;
if (rootNub && rootNub->initWithArgs( p1, p2, p3, p4)) {
/* If the bootstrap segment set up a function to record startup
* extensions, call it now.
/* If the bootstrap segment set up a function to record startup
* extensions, call it now.