]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/IODeviceTreeSupport.h
xnu-4570.1.46.tar.gz
[apple/xnu.git] / iokit / IOKit / IODeviceTreeSupport.h
index 531202f4162191ba7400aa6bd201bda20ca8c6a6..b10c5553cd52be8e6a6066758c3a88c75d553100 100644 (file)
@@ -71,8 +71,13 @@ enum {
 OSCollectionIterator * IODTFindMatchingEntries( IORegistryEntry * from,
                        IOOptionBits options, const char * keys );
 
+#if !defined(__arm64__)
 typedef SInt32 (*IODTCompareAddressCellFunc)
        (UInt32 cellCount, UInt32 left[], UInt32 right[]);
+#else
+typedef SInt64 (*IODTCompareAddressCellFunc)
+       (UInt32 cellCount, UInt32 left[], UInt32 right[]);
+#endif
 
 typedef void (*IODTNVLocationFunc)
        (IORegistryEntry * entry,