_start = offset;
_length = length;
_flags = direction;
+ _flags |= kIOMemoryThreadSafe;
+
#ifndef __LP64__
_direction = (IODirection) (_flags & kIOMemoryDirectionMask);
#endif /* !__LP64__ */
return (super::getPreparationID());
}
+IOReturn
+IOSubMemoryDescriptor::getPageCounts(IOByteCount * residentPageCount,
+ IOByteCount * dirtyPageCount)
+{
+ return (_parent->getPageCounts(residentPageCount, dirtyPageCount));
+}