extern const OSSymbol * gIODTCompatibleKey;
extern const OSSymbol * gIODTTypeKey;
extern const OSSymbol * gIODTModelKey;
+extern const OSSymbol * gIODTTargetTypeKey;
extern const OSSymbol * gIODTAAPLInterruptsKey;
extern const OSSymbol * gIODTDefaultInterruptController;
OSCollectionIterator * IODTFindMatchingEntries( IORegistryEntry * from,
IOOptionBits options, const char * keys );
+#if !defined(__arm64__)
typedef SInt32 (*IODTCompareAddressCellFunc)
(UInt32 cellCount, UInt32 left[], UInt32 right[]);
-
-typedef SInt64 (*IODTCompareAddressCell64Func)
+#else
+typedef SInt64 (*IODTCompareAddressCellFunc)
(UInt32 cellCount, UInt32 left[], UInt32 right[]);
+#endif
typedef void (*IODTNVLocationFunc)
(IORegistryEntry * entry,
IODTCompareAddressCellFunc compareFunc,
IODTNVLocationFunc locationFunc );
+void IODTGetCellCounts( IORegistryEntry * regEntry,
+ UInt32 * sizeCount, UInt32 * addressCount);
+
bool IODTResolveAddressCell( IORegistryEntry * regEntry,
UInt32 cellsIn[],
IOPhysicalAddress * phys, IOPhysicalLength * len );