]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/IODeviceTreeSupport.h
xnu-2422.90.20.tar.gz
[apple/xnu.git] / iokit / IOKit / IODeviceTreeSupport.h
index 15b5aa4b410cc37e1d67c64b2e76ae0471bcb2ac..9b39a2dc2b85e9dae454023666a716bf8c561f75 100644 (file)
@@ -72,6 +72,7 @@ OSCollectionIterator * IODTFindMatchingEntries( IORegistryEntry * from,
 
 typedef SInt32 (*IODTCompareAddressCellFunc)
        (UInt32 cellCount, UInt32 left[], UInt32 right[]);
+
 typedef void (*IODTNVLocationFunc)
        (IORegistryEntry * entry,
        UInt8 * busNum, UInt8 * deviceNum, UInt8 * functionNum );
@@ -80,6 +81,9 @@ void IODTSetResolving( IORegistryEntry *      regEntry,
                IODTCompareAddressCellFunc      compareFunc,
                IODTNVLocationFunc              locationFunc );
 
+void IODTGetCellCounts( IORegistryEntry * regEntry,
+                                           UInt32 * sizeCount, UInt32 * addressCount);
+
 bool IODTResolveAddressCell( IORegistryEntry * regEntry,
                              UInt32 cellsIn[],
                              IOPhysicalAddress * phys, IOPhysicalLength * len );