Loading...
--- xnu/xnu-12377.101.15/iokit/Kernel/IOSubMemoryDescriptor.cpp
+++ xnu/xnu-8792.61.2/iokit/Kernel/IOSubMemoryDescriptor.cpp
@@ -135,7 +135,7 @@
address = _parent->getPhysicalSegment( offset + _start, &actualLength, options );
if (address && length) {
- *length = IOMin( _length - offset, actualLength );
+ *length = min( _length - offset, actualLength );
}
return address;
@@ -241,10 +241,3 @@
{
return _parent->getPageCounts(residentPageCount, dirtyPageCount);
}
-
-IOReturn
-IOSubMemoryDescriptor::getPageCounts(IOByteCount * residentPageCount,
- IOByteCount * dirtyPageCount, IOByteCount * swappedPageCount)
-{
- return _parent->getPageCounts(residentPageCount, dirtyPageCount, swappedPageCount);
-}