* HISTORY
*/
+#include <IOKit/system.h>
+#include <IOKit/IOPlatformExpert.h>
#include <IOKit/IOCPU.h>
#include <IOKit/IODeviceTreeSupport.h>
-#include <IOKit/IOKitDebug.h>
-#include <IOKit/IOMapper.h>
-#include <IOKit/IOMessage.h>
-#include <IOKit/IONVRAM.h>
-#include <IOKit/IOPlatformExpert.h>
#include <IOKit/IORangeAllocator.h>
+#include <IOKit/IONVRAM.h>
+#include <IOKit/IOKitDebug.h>
#include <IOKit/IOWorkLoop.h>
#include <IOKit/pwr_mgt/RootDomain.h>
-
-#include <IOKit/system.h>
-
+#include <IOKit/IOMessage.h>
#include <libkern/c++/OSContainers.h>
if (!super::start(provider))
return false;
-
- // Register the presence or lack thereof a system
- // PCI address mapper with the IOMapper class
-
-#if 1
- IORegistryEntry * regEntry = IORegistryEntry::fromPath("/u3/dart", gIODTPlane);
- if (!regEntry)
- regEntry = IORegistryEntry::fromPath("/dart", gIODTPlane);
- if (regEntry) {
- int debugFlags;
- if (!PE_parse_boot_arg("dart", &debugFlags) || debugFlags)
- setProperty(kIOPlatformMapperPresentKey, kOSBooleanTrue);
- regEntry->release();
- }
-#endif
-
- IOMapper::setMapperRequired(0 != getProperty(kIOPlatformMapperPresentKey));
gIOInterruptControllers = OSDictionary::withCapacity(1);
gIOInterruptControllersLock = IOLockAlloc();
}
bool IOPlatformExpert::compareNubName( const IOService * nub,
- OSString * name, OSString ** matched) const
+ OSString * name, OSString ** matched = 0 ) const
{
return( nub->IORegistryEntry::compareName( name, matched ));
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
bool IOPlatformExpertDevice::compareName( OSString * name,
- OSString ** matched) const
+ OSString ** matched = 0 ) const
{
return( IODTCompareNubName( this, name, matched ));
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
bool IOPlatformDevice::compareName( OSString * name,
- OSString ** matched) const
+ OSString ** matched = 0 ) const
{
return( ((IOPlatformExpert *)getProvider())->
compareNubName( this, name, matched ));