/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IORegistryEntry.h | 46 class IORegistryEntry; 50 typedef void (*IORegistryEntryApplierFunction)(IORegistryEntry * entry, 58 /*! @class IORegistryEntry : public OSObject 60 @discussion The IORegistryEntry base class provides functions for describing graphs of connected registry entries, each with a dictionary-based property table. Entries may be connected in different planes, with differing topologies. Access to the registry is protected against multiple threads. Inside the kernel planes are specified with plane objects and are published by the creator - IOService exports the gIOServicePlane plane object for example. Non kernel clients specify planes by their name. 63 class IORegistryEntry : public OSObject class in inherits:OSObject 67 OSDeclareDefaultStructors(IORegistryEntry) 89 @discussion This method will search for a property, starting first with this registry entry's property table, then iterating recusively through either the parent registry entries or the child registry entries of this entry. Once the first occurrence is found, it will lookup and return the value of the property, using the OSDictionary::getObject semantics. The iteration keeps track of entries that have been recursed into previously to avoid loops. This method is synchronized with other IORegistryEntry accesses to the property table(s). 100 OSMetaClassDeclareReservedUsed(IORegistryEntry, 0); 104 @discussion This method will search for a property, starting first with this registry entry's property table, then iterating recusively through either the parent registry entries or the child registry entries of this entry. Once the first occurrence is found, it will lookup and return the value of the property, using the OSDictionary::getObject semantics. The iteration keeps track of entries that have been recursed into previously to avoid loops. This method is synchronized with other IORegistryEntry accesses to the property table(s). 115 OSMetaClassDeclareReservedUsed(IORegistryEntry, [all...] |
H A D | IODeviceTreeSupport.h | 38 #include <IOKit/IORegistryEntry.h> 56 IORegistryEntry * IODeviceTreeAlloc( void * dtTop ); 59 bool IODTMatchNubWithKeys( IORegistryEntry * nub, 62 bool IODTCompareNubName( const IORegistryEntry * regEntry, 70 OSCollectionIterator * IODTFindMatchingEntries( IORegistryEntry * from, 76 (IORegistryEntry * entry, 79 void IODTSetResolving( IORegistryEntry * regEntry, 83 bool IODTResolveAddressCell( IORegistryEntry * regEntry, 87 OSArray * IODTResolveAddressing( IORegistryEntry * regEntry, 105 IOReturn IODTMakeNVDescriptor( IORegistryEntry * regEntr [all...] |
H A D | IONVRAM.h | 111 virtual IOReturn readNVRAMPropertyType0(IORegistryEntry *entry, 114 virtual IOReturn writeNVRAMPropertyType0(IORegistryEntry *entry, 121 virtual IOReturn readNVRAMPropertyType1(IORegistryEntry *entry, 124 virtual IOReturn writeNVRAMPropertyType1(IORegistryEntry *entry, 129 virtual bool init(IORegistryEntry *old, const IORegistryPlane *plane); 147 virtual IOReturn readNVRAMProperty(IORegistryEntry *entry, 150 virtual IOReturn writeNVRAMProperty(IORegistryEntry *entry,
|
H A D | IOPlatformExpert.h | 204 virtual void processTopLevel( IORegistryEntry * root ); 207 virtual IOService * createNub( IORegistryEntry * from ); 229 IORegistryEntry * entry, 233 IORegistryEntry * entry,
|
H A D | IOService.h | 36 This header contains the definition of the IOService class. IOService is the sole direct subclass of IORegistryEntry and is the base class of almost all I/O Kit family superclasses. IOService defines methods that support the life cycle of I/O Kit drivers. For more information on IOService, see {@linkdoc //apple_ref/doc/uid/TP0000011 I/O Kit Fundamentals}. 38 @seealso //apple_ref/doc/header/IORegistryEntry.h IORegistryEntry 44 #include <IOKit/IORegistryEntry.h> 225 A string or collection of strings that match the provider's name. The comparison is implemented with the @link //apple_ref/cpp/instm/IORegistryEntry/compareNames/virtualbool/(OSObject*,OSString**) IORegistryEntry::compareNames@/link method, which supports a single string, or any collection (OSArray, OSSet, OSDictionary etc.) of strings. IOService objects with OpenFirmware device tree properties (eg. IOPCIDevice) will also be matched based on that standard's "compatible", "name", "device_type" properties. The matching name will be left in the driver's property table in the <code>kIONameMatchedKey</code> property. 276 class IOService : public IORegistryEntry 729 @discussion A very common matching criteria for IOService object is based on its name. <code>nameMatching</code> creates a matching dictionary that specifies any IOService object which responds successfully to the @link //apple_ref/cpp/instm/IORegistryEntry/compareName/virtualbool/(OSString*,OSString**) IORegistryEntry::compareName@/link method. An existing dictionary may be passed in, in which case the matching properties will be added to that dictionary rather than creating a new one. 730 @param name The service's name, as a const C string. Name matching is successful on IOService objects that respond successfully to the <code>IORegistryEntry [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IORegistryEntry.cpp | 36 #include <IOKit/IORegistryEntry.h> 49 OSDefineMetaClassAndStructors(IORegistryEntry, OSObject) 63 static IORegistryEntry * gRegistryRoot; 80 friend class IORegistryEntry; 129 IORegistryEntry * IORegistryEntry::initialize( void ) 144 gRegistryRoot = new IORegistryEntry; 164 IORegistryEntry * IORegistryEntry::getRegistryRoot( void ) 169 SInt32 IORegistryEntry [all...] |
H A D | IODeviceTreeSupport.cpp | 78 static IORegistryEntry * MakeReferenceTable( DTEntry dtEntry, bool copy ); 79 static void AddPHandle( IORegistryEntry * regEntry ); 81 static bool IODTMapInterruptsSharing( IORegistryEntry * regEntry, OSDictionary * allInts ); 83 IORegistryEntry * 86 IORegistryEntry * parent; 87 IORegistryEntry * child; 101 gIODTPlane = IORegistryEntry::makePlane( kIODeviceTreePlane ); 155 parent = (IORegistryEntry *)stack->getObject( stack->getCount() - 1); 189 parent->attachToParent( IORegistryEntry::getRegistryRoot(), gIODTPlane); 267 IORegistryEntry *chose [all...] |
H A D | IOStartIOKit.cpp | 37 #include <IOKit/IORegistryEntry.h> 94 IORegistryEntry * root; 166 root = IORegistryEntry::initialize(); 214 IORegistryEntry * root = IORegistryEntry::getRegistryRoot();
|
H A D | IOPlatformExpert.cpp | 192 return( nub->IORegistryEntry::compareName( name, matched )); 862 IORegistryEntry * entry; 866 entry = IORegistryEntry::fromPath( "/efi/platform", gIODTPlane ); 893 entry = IORegistryEntry::fromPath( "/options", gIODTPlane ); 985 IOService * IODTPlatformExpert::createNub( IORegistryEntry * from ) 1001 IORegistryEntry * next; 1006 while( (next = (IORegistryEntry *) iter->getNextObject())) { 1020 void IODTPlatformExpert::processTopLevel( IORegistryEntry * rootEntry ) 1023 IORegistryEntry * next; 1024 IORegistryEntry * cpu [all...] |
H A D | IOKitDebug.cpp | 68 IORegistryEntry * next; 125 IORegistryEntry * next;
|
H A D | IONVRAM.cpp | 45 bool IODTNVRAM::init(IORegistryEntry *old, const IORegistryPlane *plane) 465 IOReturn IODTNVRAM::readNVRAMProperty(IORegistryEntry *entry, 479 IOReturn IODTNVRAM::writeNVRAMProperty(IORegistryEntry *entry, 1291 IOReturn IODTNVRAM::readNVRAMPropertyType0(IORegistryEntry *entry, 1328 IOReturn IODTNVRAM::writeNVRAMPropertyType0(IORegistryEntry *entry, 1471 IOReturn IODTNVRAM::readNVRAMPropertyType1(IORegistryEntry *entry, 1505 IORegistryEntry * compareEntry = IORegistryEntry::fromPath((const char *) nvPath, gIODTPlane); 1534 IOReturn IODTNVRAM::writeNVRAMPropertyType1(IORegistryEntry *entry, 1574 IORegistryEntry * compareEntr [all...] |
H A D | IOUserClient.cpp | 34 #include <IOKit/IORegistryEntry.h> 832 IORegistryEntry::getRegistryRoot()->copyProperty(gIOConsoleUsersKey)))) 1765 IORegistryEntry * entry; 1770 entry = IORegistryEntry::getRegistryRoot(); 1789 IORegistryEntry::getPlane( plane ), options ); 1801 CHECK( IORegistryEntry, registry_entry, entry ); 1804 IORegistryEntry::getPlane( plane ), options ); 1839 IORegistryEntry * entry; 1844 entry = IORegistryEntry::fromPath( path ); 1857 CHECK( IORegistryEntry, registry_entr [all...] |
H A D | IOHibernateIO.cpp | 200 static IORegistryEntry * gIOChosenEntry; 561 IORegistryEntry * part = 0; 618 part = (IORegistryEntry *) iter->getNextObject(); 626 IORegistryEntry * next; 627 IORegistryEntry * child; 1135 IORegistryEntry * regEntry; 1138 regEntry = IORegistryEntry::fromPath("/options", gIODTPlane); 1144 gIOChosenEntry = IORegistryEntry::fromPath("/chosen", gIODTPlane);
|
H A D | IOService.cpp | 59 #define super IORegistryEntry 61 OSDefineMetaClassAndStructors(IOService, IORegistryEntry) 246 gIOServicePlane = IORegistryEntry::makePlane( kIOServicePlane ); 247 gIOPowerPlane = IORegistryEntry::makePlane( kIOPowerPlane ); 489 IORegistryEntry * parent = this; 490 IORegistryEntry * root = getRegistryRoot(); 727 if( parent == IORegistryEntry::getRegistryRoot()) 1360 applyToInterestNotifiers(const IORegistryEntry *target, 3847 IORegistryEntry::getRegistryRoot()->setProperty(key, dict->getObject(key)); 3961 IORegistryEntry * entr [all...] |
H A D | IOPMrootDomain.cpp | 1386 IORegistryEntry *_batteryRegEntry = (IORegistryEntry *) getProperty("BatteryEntry"); 2962 IORegistryEntry * entry;
|
H A D | IOServicePM.cpp | 719 IORegistryEntry * entry; 724 if ((entry = OSDynamicCast(IORegistryEntry, next)) && 942 IORegistryEntry * theChild; 3532 IORegistryEntry * nub; 3615 IORegistryEntry * nub;
|
H A D | IOMemoryDescriptor.cpp | 3025 IORegistryEntry::getRegistryRoot()->setProperty(kIOMaximumMappedIOByteCountKey,
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Tests/ |
H A D | Tests.cpp | 46 IORegistryEntry * next; 47 IORegistryEntry * packages = 0; 48 IORegistryEntry * deblocker = 0; 49 IORegistryEntry * keyboard = 0; 123 IORegistryEntry * entry; 130 entry = IORegistryEntry::fromPath( tests[i], 0, str, &len ); 136 IORegistryEntry::getPlane("IODeviceTree"))) { 148 IORegistryEntry * dt;
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/platform/ |
H A D | AppleMacIO.h | 59 virtual IOService * createNub( IORegistryEntry * from ); 63 virtual void publishBelow( IORegistryEntry * root );
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Drivers/platform/drvAppleMacIO/ |
H A D | AppleMacIO.cpp | 88 IOService * AppleMacIO::createNub( IORegistryEntry * from ) 116 void AppleMacIO::publishBelow( IORegistryEntry * root ) 119 IORegistryEntry * next; 125 while( (next = (IORegistryEntry *)kids->getNextObject())) { 135 while( (next = (IORegistryEntry *)kids->getNextObject())) { 154 || nub->IORegistryEntry::compareName( name, matched ) ); 276 IORegistryEntry::compareName(name, matched));
|
/macosx-10.5.8/xnu-1228.15.4/iokit/conf/ |
H A D | Makefile.i386 | 33 IORegistryEntry.cpo \
|
/macosx-10.5.8/xnu-1228.15.4/iokit/bsddev/ |
H A D | IOKitBSDInit.cpp | 288 alias = IORegistryEntry::dealiasPath( &path, gIODTPlane ); 467 IORegistryEntry * regEntry; 505 if( (regEntry = IORegistryEntry::fromPath( "/chosen", gIODTPlane ))) { 538 if( (regEntry = IORegistryEntry::fromPath( "/options", gIODTPlane ))) { 552 if( (regEntry = IORegistryEntry::fromPath( "/", gIODTPlane ))) { 567 if((regEntry = IORegistryEntry::fromPath( "/chosen/memory-map", gIODTPlane ))) { /* Find the map node */ 816 return (IORegistryEntry::fromPath(path, gIODTPlane)); 822 IORegistryEntry * regEntry = (IORegistryEntry *)entry; 834 IORegistryEntry * regEntr [all...] |
/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | catalogue.cpp | 30 #include <IOKit/IORegistryEntry.h> 969 IORegistryEntry * root; 1013 root = IORegistryEntry::getRegistryRoot(); 1506 IORegistryEntry * bootxMemoryMap = NULL; // must release 1622 IORegistryEntry::fromPath( 1916 IORegistryEntry * bootxMemoryMap = NULL; // must release 1979 IORegistryEntry::fromPath(
|
/macosx-10.5.8/AppleMacRiscPCI-3.4/ |
H A D | AppleMacRiscPCI.cpp | 110 IORegistryEntry * bridge; 113 IORegistryEntry *uniNRegEntry; 139 uniNRegEntry = IORegistryEntry::fromPath("/uni-n", gIODTPlane); 141 uniNRegEntry = IORegistryEntry::fromPath("/u3", gIODTPlane); 472 IORegistryEntry * bridge; 750 IORegistryEntry * bridge;
|